Question

How to Prevent of converting '< ' and ' >' by "& lt;" and "& gt;"

Hi ,

I am facing issue while executing connect soap.

I have one property CordysExeProcess.message1 and appended "<InputSendConfirmationMail xmlns=\"http://schemas.kpn.com/eenvoudigglas/processes\"><MetaData><EventType>AdministrativeChange</EventType></MetaData><Customer><CustomerNumber>xyz</CustomerNumber></Customer></InputSendConfirmationMail>"

but when i see in Soap Request message i have below request
<?xml version="1.0" encoding="UTF-8"?>
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP:Body>
<ns1:ExecuteProcess xmlns:ns1="http://schemas.cordys.com/bpm/execution/1.0" type="" xsi:type="xsd:anyType">
<ns1:type xsi:type="xsd:string">definition</ns1:type>
<ns1:receiver xsi:type="xsd:string">XYZ</ns1:receiver>
<ns1:message xsi:type="xsd:anyType">&lt;InputSendConfirmationMail xmlns="http://schemas.kpn.com/eenvoudigglas/processes"&gt;&lt;MetaData&gt;&lt;EventType&gt;AdministrativeChange&lt;/EventType&gt;&lt;/MetaData&gt;&lt;Customer&gt;&lt;CustomerNumber&gt;XYZ&lt;/CustomerNumber&gt;&lt;/Customer&gt;&lt;/InputSendConfirmationMail&gt;</ns1:message>
</ns1:ExecuteProcess>
</SOAP:Body>
</SOAP:Envelope>

Third party is giving error because of this request. How to Prevent this.

***Edited by Moderator: Lochan to update platform capability tags***

Comments

Keep up to date on this post and subscribe to comments

Pega
November 20, 2019 - 1:36am