January 4th, 2005

Da Wolf

Having problems with XMLRPC getchallenge

I'm writing an LJ library and client for .NET. My goal is to make the library as easy to use as possible.

I'm creating the XML by hand, posting it via System.Net.WebClient, which is an HTTP client class and has worked perfectly for all the other web access tools I've written - so I'm fairly sure it's not screwing anything up, and I've looked at the headers with a packet sniffer and they look right.

Here's the XML I generate and send:

<?xml version="1.0"?>


But I get this response:

<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>Application failed during request deserialization: Can't use an undefined value as an ARRAY reference at /usr/share/perl5/SOAP/Lite.pm line 1667, <GEN7> line 605.

The packets and length counts look right and I can issue other calls like getfriends with clear auth, and it works perfectly.

Any clues would be helpful.

I'm also wondering if there's more documentation on the Event Properties. The documentation available is kind of confusing and inconsistent - it refers to properties which aren't documented.