I am consuming a web service from a third party. One of the parameters in the SOAP Doc is an XML formatted as a string.
Let's say I have an XMLDoc with the following data:
Local string &strXML = "<?xml version=""1.0""?>
Local SoapDoc &SOAPDoc;
&SOAPDoc.AddBody();
&SOAPDoc.AddMethod("UserCreate");
&SOAPDoc.AddParm("strUsersInXML", &strXML);
&SOAPXMLDoc = CreateXMLDoc();
&SOAPXMLDoc = &SOAPDoc.XmlDoc;
&request = CreateMessage(Operation.NEWUSER);
&request.setXmlDoc(&SOAPXMLDoc);
In the &request, the tags in my XML string are changed to < and > So when I call the service, it is unable to interpret the strUsersInXML parameter.
How do I code this so that the tags in my XML string are kept as they are?
Title | Under | Posted on |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
Recent comments
2 years 16 weeks ago
2 years 21 weeks ago
2 years 21 weeks ago
2 years 23 weeks ago
2 years 23 weeks ago
2 years 24 weeks ago
2 years 26 weeks ago
2 years 27 weeks ago
2 years 30 weeks ago
2 years 36 weeks ago