Kurt Jarchow's Blog

January 8, 2009

Drupal SOAP web service and .NET

Filed under: Uncategorized — Kurt Jarchow @ 5:17 pm

This will be the easiest post I’ve ever written.  If you are using .NET and are trying to use Drupal webservices, DON’T USE SOAP.  The SOAP webservice is extremely undocumented.  I tried for hours to get this to work and ran into problem after problem.  (For example, the service names use periods (node.get) which won’t work in C#.)  Renaming it will allow me to use the services, but the complicated cookie/session/key authentication is a mess.  

I finally got the .NET project to use the service, but every time I tried to access a node it said it didn’t exist, which I am assuming has to do with permissions.  I tried to use the user login method and .NET won’t understand the “struct” type.

Please oh please correct me on this if you’ve got a .NET app to successfully use the SOAP web service.  Otherwise, use the slightly more documented and proven XML-RPC service.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress

Bad Behavior has blocked 86 access attempts in the last 7 days.