Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Basic Profile 1.1 Specification Rule R9980 , the message must be in a SOAP Envelope  RSS feed

 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

We are consuming a SOAP request from a B2B integrator client. The request is well formed and it has an SOAP Envelope followed with a soap body.

If I test the request from SOAP UI it goes fine and the server consumes it without any errors . But with the B2B integrator it throws the below exception.

[2014-03-22 10:20:08:821 CET] 0000013b SOAPEnvelopeB E com.ibm.ws.webservices.engine.xmlsoap.builders.SOAPEnvelopeBuilder startElement: The message is enclosed in SyncOrder tags. As stated in the Basic Profile 1.1 Specification Rule R9980 , the message must be in a SOAP Envelope.
[2014-03-22 10:20:08:837 CET] 0000013b WebServicesSe E com.ibm.ws.webservices.engine.transport.http.WebServicesServlet doPost WSWS3227E: Error: Exception:
WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: org.xml.sax.SAXException: WSWS3066E: Error: Expected 'envelope' but found SyncOrder Message being parsed:
faultActor: null
faultDetail:


Best Regards
Rakesh





 
Vijitha Kumara
Bartender
Posts: 3973
24
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could check what exactly the wire message being sent to the server in two scenarios and see what's wrong. Use TCPMon or a similar tool.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!