send xml - soap php



I try send simply XML with SOAP in php but with no results..



$wsdl = 'http://ift.tt/XodjwM';
$client = new SoapClient($wsdl, array(
'login' => $soapUser,
'password' => $soapPassword
));

$data = '<soapenv:Envelope xmlns:soapenv="http://ift.tt/sVJIaE" xmlns:tem="http://tempuri.org/">
<soapenv:Header/>
<soapenv:Body>
<tem:AKP>
<tem:NUMER>gfgdf9654</tem:NUMER>
</tem:AKP>
</soapenv:Body>
</soapenv:Envelope>';
$re = $client->__call("AKP", array($data));


Can you help me how can I send this XML with client->APK() ? ?


No comments:

Post a Comment