version 1.8, 2013/04/25 13:00:29
|
version 1.9, 2013/06/13 13:19:57
|
|
|
WsmWriter::appendSoapBodyStart(_bodyStart); | WsmWriter::appendSoapBodyStart(_bodyStart); |
WsmWriter::appendSoapBodyEnd(_bodyEnd); | WsmWriter::appendSoapBodyEnd(_bodyEnd); |
| |
switch(response->getType()) |
switch(response->getOperationType()) |
{ | { |
case WS_TRANSFER_GET: | case WS_TRANSFER_GET: |
action = WSM_ACTION_GET_RESPONSE; | action = WSM_ACTION_GET_RESPONSE; |
|
|
WsmWriter::appendHTTPResponseHeader(_httpHeader, action, | WsmWriter::appendHTTPResponseHeader(_httpHeader, action, |
response->getHttpMethod(), response->getOmitXMLProcessingInstruction(), | response->getHttpMethod(), response->getOmitXMLProcessingInstruction(), |
response->getContentLanguages(), | response->getContentLanguages(), |
response->getType() == WSM_FAULT || response->getType() == SOAP_FAULT, |
response->getOperationType() == WSM_FAULT || |
0); |
response->getOperationType() == SOAP_FAULT,0); |
| |
// Make sure that fault response fits within MaxEnvelopeSize | // Make sure that fault response fits within MaxEnvelopeSize |
if (response->getType() == WSM_FAULT || response->getType() == SOAP_FAULT) |
if (response->getOperationType() == WSM_FAULT || |
|
response->getOperationType() == SOAP_FAULT) |
{ | { |
if (_maxEnvelopeSize && getEnvelopeSize() > _maxEnvelopeSize) | if (_maxEnvelopeSize && getEnvelopeSize() > _maxEnvelopeSize) |
{ | { |