I am trying to send a soap request this way:
public function request($method, $parameters){
$request = $this->client->__call($method, $parameters);
$this->logLastRequest($request, $method);
return $request;
} But when i do getLastRequest I see that the parameters are not filled.
I should have something like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="XXXXXXXXXXXXXXXXXXX">
<soapenv:Header/>
<soapenv:Body>
<web:findSubscriptionSMS>
<phonenumber></phonenumber>
</web:findSubscriptionSMS>
</soapenv:Body>
</soapenv:Envelope
But the phoenumber node is left out.
Can anyone help me out?
Kind regards,
jsanders
没有评论:
发表评论