Spontaneous at all the wrong times (someoneelse) wrote in lj_dev,
Spontaneous at all the wrong times
someoneelse
lj_dev

  • Mood:
  • Music:

ColdFusion and XML

I'm developing an LJ Client with ColdFusion using the XML-RPC interface.

I sent this:
<?xml version="1.0"?>
<methodCall>
<methodName>LJ.XMLRPC.login</methodName>
<params>
<param>
<value><struct>
<member><name>username</name>
<value><string>test</string></value>
</member>
<member><name>password</name>
<value><string>test</string></value>
</member>
<member><name>ver</name>
<value><int>1</int></value>
</member>
</struct></value>
</param>
</params>
</methodCall>

And got this:
<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>Application failed during request deserialization: not well-formed (invalid token) at line 1, column 26, byte 26 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>

What am I doing wrong?
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments