Pega Problems with Quotation marks?("<" changing to "&lt;")
Hi everybody,
i am building a SOAP connect and right now i have a strange behaviour during this connect!
Within the SOAP Connect named "sendData" I have created a request (XML Stream) and a Response (XML ParseRule) part. The structure of the XML Stream Looks like that:
<Pic start------------------------------------------------------------------------------->
<Pic end------------------------------------------------------------------------------->
that is corresponding to the XML structure i got:
<Pic start------------------------------------------------------------------------------->
<soapenv:Envelope xmlns:soapenv="http://......." xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Hi everybody,
i am building a SOAP connect and right now i have a strange behaviour during this connect!
Within the SOAP Connect named "sendData" I have created a request (XML Stream) and a Response (XML ParseRule) part. The structure of the XML Stream Looks like that:
<Pic start------------------------------------------------------------------------------->
<Pic end------------------------------------------------------------------------------->
that is corresponding to the XML structure i got:
<Pic start------------------------------------------------------------------------------->
<soapenv:Envelope xmlns:soapenv="http://......." xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><ns1:insert xmlns:ns1=http://insert........>
<ns1:pBean>
<ns1:serviceId>NBAInbound</ns1:serviceId>
<ns1:xml><![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
<vtwta>
<-- some kind of Data -->
</vtwta>]]>
</ns1:xml>
</ns1:pBean>
</ns1:insert>
</soapenv:Body>
</soapenv:Envelope>
<Pic end------------------------------------------------------------------------------->
The property .XMLRequest will have the whole string part of <ns1:xml>! The property will be filled by a data transform, which Looks like that:
<Pic start------------------------------------------------------------------------------->
<Pic End------------------------------------------------------------------------------->
So everthing wihtin the <ns1:xml> is a string, starting with <![CDATA...! I have run this SOAP connect several times and PEGA is doing strange parsing. Pega replace all "<" with "<" which i can recognize in the log (<![CDATA...) and the corresponding Service can not handle this!
I am calling the Connect SOAP in an activity. Steps 2-5 are only test purpose!
<Pic start------------------------------------------------------------------------------->
<Pic end------------------------------------------------------------------------------->
I cannot find a plausible solution, anybody who could help me?
Thanks a lot
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.