Hi,
I would really appreciate your help here as we have some requirement to post the XML data to the Customer Web Services. Customer is using Postman tool to process the posted XML Data on their end. What is happening here is when I try to send the XML Data from Sterling Integrator the double quotes on the XML is quickly escaping causing Broken XML message on the Customer end. I tried them to process with entity reference's
double quotes ( " ) are escaped to "
ampersand ( & ) is escaped to &
single quotes ( ' ) are escaped to '
less than ( < ) is escaped to <
greater than ( > ) is escaped to >
on my xml but nothing seems to be working out as I am getting the same Invalid response file.
Below are the steps on my B.P
1) Collecting the xml file from the folder using FSA.
2) I am using Dynamic Web Service for consuming them.
3) Setting the content type.
4) Invoking SOAOutboundSecurityService and SOA Outbound Message Processing Service for passing the XML message with header(i.e User Name and Password info's on the header).
5) Replacing the Special Characters for XML with the entity reference.
6) Using HTTP Adapters to Post and retrieve the responses.
7) I have also added Steps to re direct cookies.
Note: The HTTP Status code is success 200 ok but the response to the XML data is "Website error".
Thanks,
Subathra Bairavan
------------------------------
Subathra Bairavan
------------------------------