Hi
I'm trying to send a request to .Net Webservice.
After some research I finally used the function serializeEnvelope and the response was successful
But the browser showed this warning:
Notice: Undefined property: operation in /home/Proyectos/CHP-00002/src/nusoap/lib/nusoap.php on line 6839
The line in the nusoap.php is the following:
$parser = new soap_parser($data,$this->xml_encoding,$this->operation,$this->decode_utf8);
Below is my code.
$soapaction = "http://mywebserver/Execute";
$wsdl = "http://mywebserver/Execute/execute.asmx?WSDL";
$soap_client = new soapclient($wsdl);
$mysoapmsg = $soap_client->serializeEnvelope('<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Execute xmlns="http://mywebserver/Execute/">
<nMerchant>0</nMerchant>
</Execute>
</soap:Body>
</soap:Envelope>','',array(),'document', 'literal');
$response = $soap_client->send($mysoapmsg, $soapaction);
|
Any suggestions?
Thanks