question

collectorave avatar image
0 Likes"
collectorave asked

GetTokenStatus problem with HTTP Header - PHP

Hi there, I have problem with the GetTokenStatus API call, using PHP SOAP libraries. I always receive the SOAP fault message 'Header "X-EBAY-API-APP-NAME" does not exists' The cose I'm using is: $context = array('http' => array( 'header' => "X-EBAY-API-APP-NAME: $appId\r\n" ) ); $soap_options = array( 'stream_context' => stream_context_create($context), 'trace' => 1, 'exceptions' => false, 'location' => $ApiSite . '/wsapi?callname=' . $apiCall . '&appid=' . $appId . '&siteid=' . $SiteID. '&version=821&routing=new' ); $client = new SOAPClient($wsdl_url, $soap_options); where $xxx are the values of my application. Could someone give me some hints?
php-apisoap-fault
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.