views:

65

answers:

0

I am using C# 3.0 and I need to call a web service created (in ColdFusion for example) with optional parameters. I only know the WSDL URL and parameters at run-time. I want to be able to invoke the web service where the parameter names are releveant but not their order.

It appears this is possible with the IronPython Dynamic Web Service Helper library. I have used it successfully to call a web service with parameters known by their order through reflection. I am also aware of http://www.crowsprogramming.com/archives/66. It has great code but apparently also limited to position oriented web service calls.

Writing the SOAP calls manually is an option but I don't trust the correctness of the code. What's the best way to handle this?