• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using XML-RPC to access Box.net api

I am trying to access my box.net account from a custom CI application. I am using the XML interface provided by Box.net. Here is the standard box.net request XML
<?xml version='1.0' encoding='UTF-8' ?>

and the expected response is :
&lt;?xml version='1.0' encoding='UTF-8'?&gt;

This is the request array that I used:
$request = array(
                       // Param 0
                             // Param 1
                                   'api_key'=> $api_key

However, I am getting the following error while trying to connect:
HTTP/1.1 200 OK
Server: nginx/0.6.32
Date: Fri, 10 Oct 2008 17:37:31 GMT
Content-Type: text/xml
Connection: close

&lt;?xml version='1.0' encoding='UTF-8' ?&gt;
<response><status>Wrong input XML</status></response>
---END DATA---

---Invalid Return--- Top level XML-RPC element is missing---Invalid Return--- The XML data receieved was either invalid or not in the correct form for XML-RPC. Turn on debugging to examine the XML data further. Top level XML-RPC element is missing

I'm afraid, the request array is not of the correct form. Can somebody help me to create the right array for the request XML posted above?


Hi, i have the same error like you, did you fixed it???

Sorry, I don't remember whether I solved this issue. If I remember correctly, the client dropped this enhancement and I didn't got time to look into it further.

Ok, i was asking becouse i'm also working for the first time with XML-RPC and codeigniter.
Thank you anyway.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.