I was able to get a simple XML call to the eBay api working like below. However I would like to take advantage of Guzzle service definitions but I am not sure how to do this correctly. I was wondering if anyone can supply the code to convert this into a successful service definition and call for our reference.
$request = $client->post('', [
'X-EBAY-API-COMPATIBILITY-LEVEL' => '807',
'X-EBAY-API-DEV-NAME' => 'my-dev-name',
'X-EBAY-API-APP-NAME' => 'my-app-name',
'X-EBAY-API-CERT-NAME' => 'my-cert-name',
'X-EBAY-API-SITEID' => '0',
'X-EBAY-API-CALL-NAME' => 'GeteBayOfficialTime',
],
'<?xml version="1.0" encoding="utf-8"?>
<GeteBayOfficialTimeRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<RequesterCredentials>
<eBayAuthToken>AgAAAA**AQAAAA**</eBayAuthToken>
</RequesterCredentials>
</GeteBayOfficialTimeRequest>'
);