Andrei Freeman (lordandrei) wrote in lj_clients,
Andrei Freeman
lordandrei
lj_clients

  • Mood:

XML-RPC Newbie question.

I am trying to get a better understanding of XML-RPC

I've manually created the getchallenge request. But for some reason I keep getting back a fault error. Any pointers or comments would be appreciated.

The set up:
I telnet directly to test.livejournal.com 80
I send the request
I receive the fault.

POST /interface/xmlrpc HTTP/1.0
POST /interface/xmlrpc HTTP/1.0
User-Agent: Apolo Agent 0.1d
Host: www.livejournal.com
Content-Type: text/xml
Content-Length: 136

<?xml version="1.0"?>
<methodCall>
<methodName>LJ.XMLRPC.getchallenge</methodName>
<params>
<param>
</param>
</params>
</methodCall>


<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultString</name>
<value>
<string>Application failed during request deserialization: 
unclosed token at line 8, column 0, byte 126 at /usr/lib/perl5/XML/Parser.pm line 185
</string>
</value>
</member>
<member>
<name>faultCode</name>
<value>
<string>Client</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments