[SOAP] Soap call from php help
| From: | andriuxs | Date: | Wed, 02 Jan 2008 08:48:57 +0000 |
| Subject: | [SOAP] Soap call from php help | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2716@lists.php.net to get a copy of this message | ||
How to corectly define parameters in call function using PHP that i get this
soap request:
<soap:Body>
<GetProductList xmlns="http://schemas.acme.eu/">
<GetProductListRequest>
<Filters>
<Filter>
<Name>Language</Name>
<Value>lt-LT</Value>
</Filter>
<Filter>
<Name>Currency</Name>
<Value>LTL</Value>
</Filter>
</Filters>
</GetProductListRequest>
</GetProductList>
</soap:Body>
I defined this way: $par= array('Filter' => array('Name' =>
'Language',
'Value' => 'lt-lt'), 'Filter' => array('Name' =>
'Currency', 'Value' =>
'LTL'))); and get error: System.NullReferenceException: Object reference not
set to an instance of an object
--
View this message in context: http://www.nabble.com/Soap-call-from-php-help-tp14575092p14575092.html
Sent from the Php - Soap mailing list archive at Nabble.com.