Hi,
Actually i have all the things running fine, but i want to validate the Message that is to be pass by the client side Following is the XML Envelop that i am passing
<?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/" xmlns:tns="urn:hellowsdl"><SOAP-ENV:Body><tns:hello xmlns:tns="urn:hellowsdl"><name xsi:type="xsd:[b]strin[/b]">Scott</name></tns:hello></SOAP-ENV:Body></SOAP-ENV:Envelope> |
I have copied this XML from the original process where client also uses the nusoap.php class file.
Here you can see i have typed "strin" instead of string , So these are the things i want to validate
OR Should i use the Following XML to pass to the server ?
<?xml version="1.0" encoding="utf-8"?><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><hello><name>Scott</name></hello></SOAP-ENV:Body></SOAP-ENV:Envelope> |
If we can use Second XML instead of first , then i want to know what is the use of SOAP, Because same thing i can do just with a RPC call i can pass the following XML
><hello><name>Scott</name></hello> |
and can write the code to parse this XML.
Can you please answer all of these question ?
A lot of thanks In Advance