Connecting C Sharp SOAP client

Asked by André on 2013-06-11

I'm trying to connect a C# client to my Ladon web service, but I had issues on certain situations.
When the web service returns a list of int, e.g. @ladonize(rtype=[int]), the C# client is not able to retrieve that list. However it works with a Python Suds client.
I'm running Ladon 0.8.1 and Python 2.7.
I've tried running the client using both Mono 2.10 and .NET 4.0. In Mono 2.10 I'm getting System.InvalidCastException error while I get null values with .NET 4.0.
I've uploaded the reproduction project on Mega. I contains the Ladon web service, a working Suds client and the non-working Mono client source and some screenshots.
https://mega.co.nz/#!0RgmBbIS!bEGp5WpuYsaEgFhwOIkTwwmohVUjIV5ivzZe8H2zVgk

I've also seen a similar issue on Stackoverflow: http://stackoverflow.com/questions/14143553/when-consuming-soap-web-services-with-c-sharp-got-null-provider-is-ladon-python

Question information

Language:
English Edit question
Status:
Answered
For:
ladon Edit question
Assignee:
No assignee Edit question
Last query:
2013-06-11
Last reply:
2013-06-30
André (andre-miras) said : #1

I've just seen this duplicates #1096004, I hope I can try a patch soon.

jsgaarde (jakob-simon-gaarde) said : #2

Hi André.

Ok you found that too. Good :-) Patch is more than welcome.

/ Jakob

Can you help with this problem?

Provide an answer of your own, or ask André for more information if necessary.

To post a message you must log in.