on 02-07-2011 11:58 AM
I got one scenario SOAP-2-SAP where I receive a req in format in PI 7.0:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >
<soapenv:Header/>
<soapenv:Body>
<Req>
<Message><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<ADT_A05>
...data...
</ADT_A05>]]></Message>
<Creator></Creator>
</Req>
</soapenv:Body>
</soapenv:Envelope>
Which I parse correctly, then I give my answer, which should contain a CDATA too, e.g.:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header/>
<SOAP:Body>
<Res>
<Message><!CDATA[[
...data....
]]></Message>
</Response>
</SOAP:Body>
</SOAP:Envelope>
Instead, the SOAP channel return this:
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Header/>
<SOAP:Body>
<Response> <Message><ACK>
...data...
/ACK></Message>
</Res>
</SOAP:Body>
</SOAP:Envelope>
But btw, in monitor I can see the resp message, without soap envelope, of course:
<?xml version="1.0" ?>
<Res>
<Message>
<![CDATA[ <ACK>
...data...
</ACK>
]]>
</Message>
</Res>
Which is correct! Why the soap adapter convert the brackets into ascii code?
thx for help,
regards
Hi Paolo Romano,
I understand your scenario as synchronous SOAP to SAP.
In sxi_monitor your are able to see
<![CDATA [ .... ]]>
(I think your are seeing request message). But, when you check sender SOAP channel (when getting response) you are not able to see see CDATA.
I think in response mapping you have not handled CDATA. Please check it again.
Regards,
Raghu_Vamsee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.