Skip to Content
0
Former Member
Jun 17, 2011 at 01:40 PM

Error consuming a web service

111 Views

I invoke a SAP web service from oracle with SOAP message

http://schemas.xmlsoap.org/soap/envelope/">

http://schemas.xmlsoap.org/soap/envelope/">

</soap:Header>

<soapenv:Body>

<paem:ReadEmployeePersonalDataRequest xmlns:paem="http://nga/fer/paem">

<HeaderMsgReq>

<functionalId>Str 1</functionalId>

<messageId>Str 2</messageId>

<timeStamp>2005-12-31T23:59:59Z</timeStamp>

<consumerApp>Str 3</consumerApp>

<consumerUsr>Str 4</consumerUsr>

</HeaderMsgReq>

<BodyMsgReq>

<Employee>

<employeeCode>1001</employeeCode>

</Employee>

</BodyMsgReq>

</paem:ReadEmployeePersonalDataRequest>

</soapenv:Body>

</soapenv:Envelope>

SAP response with this XML

http://schemas.xmlsoap.org/soap/envelope/">

<soap-env:Header/>

<soap-env:Body>

<soap-env:Fault>

<faultcode>soap-env:Server</faultcode>

WSRM:NH/WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Language of error reason =E/Client =100/Location =Receiver/Class =CL_SOAP_WSRM_PROTOCOL/Method =WSRM_CHECK_SID_MNR_BEFORE_PRE/Use =WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Sequence ID =/Persistent ID =3205FB4D72399977E10000000A340566/Message number =0 /Error key =5 /Error key name =wsrm/Namespace = http://schemas.xmlsoap.org/ws/20//WSRM:NH/WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Language of error reason =E/Client =100/Location =Receiver/Class =CL_SOAP_WSRM_PROTOCOL/Method =WSRM_CHECK_SID_MNR_BEFORE_PRE/Use =WSRM: Consumer sent message for operation of type "asynchron reliable" without WS-RM sequence header/Sequence ID =/Persistent ID =3205FB4D72399977E10000000A340566/Message number =0 /Error key =5 /Error key name =wsrm/Namespace = http://schemas.xmlsoap.org/ws/2005/02/rm/Other information =/Other information =/Node name = http://schemas.xmlsoap.org/ws/2005/02/rm/Role = http://schemas.xmlsoap.org/ws/2005/02/rm>

http://schemas.xmlsoap.org/ws/2005/02/rm>

<detail/>

</soap-env:Fault>

</soap-env:Body>

</soap-env:Envelope>

If we change the invocation header section and remove the return carriage SAP responses correctly

http://schemas.xmlsoap.org/soap/envelope/">

</soap:Header>

http://schemas.xmlsoap.org/soap/envelope/">>

I don't find some notes of patches for SAP

Thanks