Announcement Announcement Module
Collapse
No announcement yet.
Response text node special characters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Response text node special characters

    Hello,

    I have a strange behavior on response part (using SOAPUI for example). Adding a text value - a String url - in a SOAPElement (child.addTextNode(message)) : in some case, the <![CDATA[ is added, or & are changed to &amp; :

    <SOAP-ENV:Body>
    <GetDocumentResponse>
    <response>http://www.xxxx.com/xxxx/order?action=show&amp;gui=web&amp;callingapp=xxxx& amp;data=000&amp;type=xxx</response>
    </GetDocumentResponse>
    </SOAP-ENV:Body>
    <SOAP-ENV:Body>
    <GetDocumentResponse>
    <response><![CDATA[http://xxx.xxx.fr/xxxx/getwww?aaaa=1111&key=00000&userid=zzzzz&ey=1&sed=z zz&supp=zz&sud=zzer=2&aect=2]]></response>
    </GetDocumentResponse>
    </SOAP-ENV:Body>
    I do not understand why there is a difference of interpretation, my urls do not seem so different in my 2 cases.

    Thanks for any help or suggestions.
Working...
X