[SOAP] Soap call from php help

[email protected] (andriuxs)
Newsgroups php.soap
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.