Reading an Existing SOAP Document
The following code loads an SOAP XML document from a URL, then finds the method name and parameters to call that method.
Local SOAPDoc &SOAPDoc;
Local Number &ParmCount;
Local Boolean &Result;
&SOAPDoc = CreateSOAPDoc();
&SOAPDoc.ParseXmlFromURL("C:\ptdvl\840S2\files\inputSOAP.xml");
&ParmCount = &SOAPDoc.ParmCount;
For &I = 1 to &ParmCount
&ParmName = &SOAPDoc.GetParmName(&I);
&ParmValue = &SOAPDoc.GetParmValue(&I);
/* Do processing */
End-for;