Hi Everyone,
I have looked through endless documentation and I don't seem to be getting anywhere.
My PHP5 soapClient works perfectly, well a few odd bugs, but generally perfectly, but I can't get my head around this one:
(By the way, my Amazon Associates SOAP web service works perfectly.)
Here's the WSDL descriptor:
http://developer.ebay.com/webservices/latest/ShoppingService.wsdl
Okay, eBay requires the following to access this web service:
'appid' - Which is like your access key for the web services.
So in theory this should work:
$c = new SoapClient('http://developer.ebay.com/webservices/latest/ShoppingService.wsdl',
array(
'siteid' => '3',
'appid' => 'xxxxxxx' // Blanked out so no-one uses mine.
));
//print_d($c->__getFunctions());
//print_d($c->__getTypes());
$body = array('QueryKeywords' => 'disco light');
try
{
$result = $c->FindItems($body);
}
catch(Exception $e)
{
print_d($e);
//return false;
die();
}
print_r($result);
Oh NO..... That would be far to easy....
Here's the documentation for the eBay Shopping webservices:
http://developer.ebay.com/DevZone/shopping/docs/CallRef/FindItems.html
(Please note: There is a HUGE difference between eBay Shopping Web Service and eBay Trading Web Service)
Does anyone wanna take a stab at this and help me out, there must be a SOAP expert out there?
Please?