Ramesh
Ramesh

Reputation: 13266

SOAP request from WSDL in .net

I would like to get a sample SOAP Request for a given action from the WSDL just like SOAP UI. I would like to avoid using svcutil to generate an assembly and reflect over it, but is still acceptable. But, I am not sure how to generate SOAP Reqest from the method info.

Any info on this would be of great help.

Story behind what I need....

I am looking at a web application, which can test web services (just like wcfTestClient and SOAP UI but its web based) and user can save the SOAP Request in their account and execute them when ever they would like to as well as do it periodically.

Upvotes: 0

Views: 6160

Answers (3)

Ramesh
Ramesh

Reputation: 13266

Finally, I stumbled upon a codeproject app available at http://www.codeproject.com/KB/cpp/wsdlparser.aspx

This meets my requirements to parse and construct SOAP Request from the wsdl just like SOAP UI. I have to make some modifications to the code, to make it work with WCF services, which I soon hope will be posting in github.

Upvotes: 1

Incognito
Incognito

Reputation: 16577

If I get it right you can use WCFTestClient also have a loot at Web Service Studio.

EDIT Based on your comments seems you need dynamic client proxy. Actually there are very few cases when you really need it. Can you please let us know why exactly you need it ? Although if you are sure that there is no other way and you have one of those very rare cases so that dynamic client proxy must be used, have a look HERE and HERE.

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

If you don't want to use SoapUI (don't see why you wouldn't) you could use the built-in WcfTestClient.exe. It's primitive compared to SoapUI but could get the job done.

Upvotes: 0

Related Questions