|
Hello,
I just write my first SOAP query using SOAP::Lite and
i have problem to make this query :
SOAPAction : "http://tempuri.org/GetView"
<?xml.version="1.0".encoding="utf-8"?>
<SOAP-ENV:Envelope.xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance".xmlns:xsd="http://www.w3.o
+rg/2001/XMLSchema".xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<GetView.xmlns="http://tempuri.org/">
<_id>1</_id>
<_id2>2</_id2>
<_id3>3</_id3>
</GetView>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
my code is :
$xml = "<_id>1</_id><_id2>2</_id2><_id3>3</_id3>";
$dat = SOAP::Data->type('xml' => $xml);
print SOAP::Lite
-> proxy('myurl')
-> uri('http://tempuri.org/')
-> GetView($dat);
This code return SOAPAction : "http://tempuri.org/#GetView"
What's wrong ?
Thanks
|