on 2005 Apr 15 2:07 PM
Hi there,
I have problems with the SOAP response message I get from a Web service call. Parsing the response throws the following exception:
java.lang.Exception: Error in message structure. SOAP:Header end tag is expected
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientSOAPMessage.loadHeaders
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientSOAPMessage.extractHeaders
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientSOAPMessage.initDeserializationMode
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientMimeMessage.initDeserializationMode
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call
The response message starts like this:
<SOAP:Envelope xmlns:SOAP='http://schemas.xmlsoap.org/soap/envelope/'>
<SOAP:Header/>
<SOAP:Body>
...
so I assume that the parser is a bit idiosyncratic with regard to the short empty Header tag (<SOAP:Header/> instead of <SOAP:Header></SOAP:Header>).
Is this a known issue? Is there a remedy?
Regards
Nils
Hi Nils,
I solved the same situation.
See a solution in the note 769546.
The solution is an up-grade SP10 later.
Best Regards,
Shunichiro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.