Question
Cognizant
IN
Last activity: 9 Dec 2019 15:16 EST
How to pass XML string as an request parameter to a SOAP service
Hello,
I am using connect soap to communicate with external system.
I need to set xml string to a property and to pass as a request.
Below is how is set :
<ns1:message><InputSendConfirmationMail xmlns="http://schemas.kpn.com/eenvoudigglas/processes"><MetaData><EventType>AdministrativeChange</EventType></MetaData><Customer><CustomerNumber>9012004324</CustomerNumber></Customer></InputSendConfirmationMail></ns1:message>
But when i check in service soap request it is changing < and > to < and >
Below is the request which i can see in service soap request :
<ns1:message xsi:type="xsd:anyType"><InputSendConfirmationMail xmlns="http://schemas.kpn.com/eenvoudigglas/processes"><MetaData><EventType>AdministrativeChange</EventType></MetaData><Customer><CustomerNumber>9012004324</CustomerNumber></Customer></InputSendConfirmationMail></ns1:message>
Because of this change external system is throwing error
Can someone help me to pass request to external system in correct format.