HTTP 500 Internal error when passing invalid username/pwd

Apr 28, 2009 at 12:43 AM
Edited Apr 28, 2009 at 1:26 AM
Hi,

Noticed that when trying to connect to Oxite via Windows Live Writer, if invalid credentials are passed in, the MetaWeblog implementation throws an InvalidCredentialException and Windows Live Writer returns a 500 error.  I'm assuming that a complete implementation would return a <fault> element - like this?

<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
 <member>
<name>faultCode</name>
 <value> <i4>0</i4> </value>
 </member>
 <member>
<name>faultString</name>
<value> <string>User does not exist</string> </value> </member>
 </struct>
</value>
 </fault> 


more info:
http://www.blogger.com/developers/api/1_docs/xmlrpc_getUsersBlogs.html

thanks,
Jim

Coordinator
Apr 28, 2009 at 4:18 PM
You are correct, we are not a complete implementation :)

We currently use WCF and a custom XMLRPC channel to do all our APIs. The code that we used, however, does not properly report faults at this time. Its something we want to fix but it's going to require one of us to either become a WCF expert or moving to a solution that uses a Controller.

I'll make sure it's on Erik's list of things to work on.
Coordinator
Apr 28, 2009 at 5:55 PM
I added it to the list.