Contributions
SOAP Header not included in response message
Hi, I'm trying to test a web service. Below is the part of WSDL: <wsdl:message name = "readPersonRequest"> <wsdl:part name = "parameters" element = "imspms:readPersonRequest"/> <wsdl:part name = "headerInfoRequest" element = "isb:syncRequestHeaderInfo"/> </wsdl:message> <wsdl:message name = "readPersonResponse"> <wsdl:part name = "response" element = "imspms:readPersonResponse"/> <wsdl:part name = "headerInfoResponse" element = "isb:syncResponseHeaderInfo"/> </wsdl:message> SOAP UI generates the request message with header within the SOAP envelope as below: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ims="http://www.imsglobal.org/services/common/imsMessBindSchema_v1p0" xmlns:ims1="http://www.imsglobal.org/services/pms/xsd/imsPersonManMessSchema_v1p0" xmlns:ims2="http://www.imsglobal.org/services/common/imsCommonSchema_v1p0"> <soapenv:Header> <ims:syncRequestHeaderInfo> <ims:messageIdentifier>test</ims:messageIdentifier> </ims:syncRequestHeaderInfo> </soapenv:Header> <soapenv:Body> <ims1:readPersonRequest> <ims1:sourcedId> <ims2:identifier>123</ims2:identifier> </ims1:sourcedId> </ims1:readPersonRequest> </soapenv:Body> </soapenv:Envelope> Below is the response message. It actually creates the header information. But SOAP UI doesn't display the header information. What needs to be turned on to display the header message? <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <ns3:readPersonResponse xmlns:ns3="http://www.imsglobal.org/services/pms/xsd/imsPersonManMessSchema_v1p0"> <ns3:person> <name xmlns="http://www.imsglobal.org/services/pms/xsd/imsPersonManDataSchema_v1p0"> <partName> <namePartType>GivenName</namePartType> <namePartValue>cc52</namePartValue> </partName> <partName> <namePartType>FamilyName</namePartType> <namePartValue>edu</namePartValue> </partName> </name> </ns3:person> </ns3:readPersonResponse> </soapenv:Body> </soapenv:Envelope>1.4KViews0likes1Comment