none
Is there a well-tested piece of generic code which allows calling any web service dynamically? RRS feed

  • Question

  • Hi, is there a well-tested piece of generic code, that allows us to call any web service dynamically, without having to "Add web reference"?  Someone should be able to write a purely generic component that hides all the WSDL details behave like a C# class.

    I have seen articles such as http://blogs.msdn.com/b/kaevans/archive/2006/04/27/dynamically-invoking-a-web-service.aspx, but they are just some sample code, not a well-tested generic component.

    I desire a component that acts like a black box, I give it a URL, it tells me something like

    1. There are three web methods, which are ...
    2. For each web method, there are following in/out parameters of type ...

    Then I can simply say "please call method XXX with following parameters".

    Thanks.

    Wednesday, July 24, 2013 12:48 PM

Answers

All replies