Re: PHP/ Soap issue

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

 



I think it would be best if you could provide us with the .wsdl (and
possibly with the server-code).

2011/9/1 richard gray <rich@xxxxxxxxxxxx>

> I am hoping there's a SOAP expert on the list as this is driving me mad and
> Google doesn't come up with much help ...
>
> I am trying to build a fairly simple web service in SOAP -- the client
> sends a string SKU to query a product catalogue database and receives
> product pricing data - I am using a WSDL file which validates OK ... anyway
> I keep getting this error:-
>
> SOAP-ERROR: Encoding: object has no 'name' property
>
> The PHP code is below:-
>
> $client = new SoapClient('http://example.**com/catalogue.wsdl<http://example.com/catalogue.wsdl>
> ',array('**trace' =>  1,'exceptions' =>  0));
> $sku = '12345';
> $client->getProduct($sku);
>
> I can post the wsdl file contents if necessary.
>
> Hoping someone can help point me in the right direction!
> TIA
> Rich
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux