From: Sajith A <saj...@gm...> - 2006-09-21 11:17:17
|
I have to use a webservice which requires the payload to have independent elements . Please see the below section for a cut-down version of the payload to be generated. ------------------------------------------------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <n1:processOrder xmlns:n1="http://xyz.com/xsd"> <ProcessOrderRequest href="#id1" /> </n1:processOrder> <n2:ProcessOrderRequest id="id1" xsi:type="n2:ProcessOrderRequest" xmlns:n2="http://xyz.com/xsd"> <key xsi:type="xsd:string"> xxxxx </key> <ipAddress xsi:type="xsd:string">xxx.xxx.xxx.xxx</ipAddress> </n2:ProcessOrderRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ------------------------------------------------------------------------------------------------------------------------------------- i went through the tutorials by Scott but couldn't find a similar scenario. Is it possible to generate it using nusoap? If anybody has done anything similar before, it would be a great help if you could please let me know. Thanks & regards Sajith |