skip to Main Content

XML Raw Response using ebay-sdk-php – Ebay API

I want to get Raw XML Response from this code. But I am getting Object Representation. I like to store the XML Response in a file. I hope there is an workaround. <?php //REQUIRED FILES INCLUSION require_once(__DIR__.'/../../vendor/autoload.php'); require_once(__DIR__.'/../../../Config/Config.php'); //require_once(__DIR__.'/../../../Helper.php'); //NAMESPACE…

VIEW QUESTION

Accessing object element by index – Ebay API

I'm using eBay API which returns: DTSeBaySDKTypesRepeatableType Object ( [data:DTSeBaySDKTypesRepeatableType:private] => Array ( [0] => 60 ) [position:DTSeBaySDKTypesRepeatableType:private] => 0 [class:DTSeBaySDKTypesRepeatableType:private] => DTSeBaySDKShoppingTypesNameValueListType [property:DTSeBaySDKTypesRepeatableType:private] => Value [expectedType:DTSeBaySDKTypesRepeatableType:private] => string ) ... and if I try to access it like so:…

VIEW QUESTION

How to save zip file represented as a string in Node js – Ebay API

I have a response from an ebay-api --MIMEBoundaryurn_uuid_C91296EA5FF69EE9571479882375576565344 Content-Type: application/xop+xml; charset=utf-8; type="text/xml" Content-Transfer-Encoding: binary Content-ID: <0.urn:uuid:C91296EA5FF69EE9571479882375576565345> Success1.1.02016-11-23T06:26:15.576Z514 --MIMEBoundaryurn_uuid_C91296EA5FF69EE9571479882375574545344 Content-Type: application/zip Content-Transfer-Encoding: binary Content-ID: PKY'uIi[��@�50014028337_report.xmlUT y�2Xy�2Xux 00�R�j�@��+��[��PlX#�(�x,=l�q]Lfewc��w Ĥ��O��١�HT���t��GGT� ��6�;���'������.$����=d����m;c}Wߦ�RW�A f�����g�I��4U��x��3��f���ғ{f��xj�,+���ۖI%5��B's��G,#��t,L{�c�����MD笓��)!�9�� �M�o;8_��<�i�y����sz���u���=��Ջ^2�S��%+2�2�`QV�$�����~?�w�ǥ�_Q�퉦�'PKY'uIi[��@���50014028337_report.xmlUTy�2Xux 00PK� --MIMEBoundaryurn_uuid_C91296EA5FF69EE9571479882375576565344-- This is of type string. and i extracted…

VIEW QUESTION
Back To Top
Search