Posted: Thu Feb 16, 2012 9:27 am Post subject: How to create SOAP request in ESQL using <soapenv:Envelop
Newbie
Joined: 16 Feb 2012 Posts: 8
Does anyone know how to create a SOAP request in ESQL as an output message to a SOAPRequest node?
I created the message set and message definition based on a WSDL. I used "SOAP" as the domain. The broker (v.7) automatically provided the "soap.mxsd" and "soapenv11.mxsd".
In the ESQL code I set the MessageSet, the MessageType, and the MessageFormat ("XML1"). I aslo set the namespaces for "soapenv" and for the web service. I used "OutputRoot. SOAP.BODY.myns:" to set up the message body.
However, the web service sent me back a SOAP fault because it said the SOAP request is invalid. I put a trace node and I noticed that the root tag of the SOAP request used "<SOAP_Domain_Msg>" instead of "<soapenv:Envelope>". The broker generated "<SOAP_Domain_Msg>" using the "soap.mxsd", but how can I tell the broker in my esql code to use "<soapenv:Envelope>" instead?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum