on 01-11-2010 10:28 AM
Hello,
I'm using PLAIN HTTP ADAPTER for calling web service. There is option "Message Protocol: XI Payload in HTTP Body". I need to add SOAP Envelope into the HTTP Body. Not only payload. Is it possible? Could you advice to me how?
Now I'm able to send this message in HTTP body:
<?xml version="1.0" encoding="UTF-8" ?>
<n0:storeTerminalsAssignments xmlns:n0="http://webservice.xxxxx" xmlns:prx="urn:sap.com:proxy:xxxxx"><
....
</n0:storeTerminalsAssignments>
I need to send message such this:
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope
xmlns:n0="http://webservice.xxxxx/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<n0:storeTerminalsAssignments>
....
</n0:storeTerminalsAssignments>
</soapenv:Body>
</soapenv:Envelope>
Hi Zbynek Kabrt,
you can create the SOAP envelope inside the mapping and use later the http receiver adapter to send it to SOAP receiver. The easiest way is an XSLT Stylesheet, where you just type in the envelope as static part and map the message content with
<xsl:copy-of select="//ns0:storeTerminalsAssignments"/>
. This mapping can be executed as a second inside a operational mapping.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.