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 > >