Re: SOAP Body Formation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vandegrift, Ken wrote:
Would you have a small example to demonstrate this?
Hard to create a real example without the WSDL-file, but I would have tried something along these lines:

class MySoapClient extends SoapClient {
 public function activateAdd($body) {
$this->__soapCall('activate-add', array('activate-add-request' => $body));
 }
}

where $body is an array with the element name as an associative index (hopefully it will work for multidimensional arrays too):

$body = array(
 'merchant-id' => 1234,
 'store-code' => 'myStore',
 // etc...
);

Regards,
Knut Urdalen
http://www.urdalen.com

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux