capdragon
capdragon

Reputation: 14899

Generate proxy classes from wsdl in IDL

I would like to generate proxy classes/code from a WSDL for IDL. So that I may communicate with a SOAP service.

Anyone know any tutorials or have any clue on how it can be done?

Upvotes: 0

Views: 201

Answers (1)

user2045407
user2045407

Reputation: 121

Try to use WseWsdl3 - see http://msdn.microsoft.com/en-us/library/aa529578.aspx .

If WseWsdl3.exe is unable to create the proxy class, there is still a way.

If you can run your service as a regular ASP.NET web application in IIS, it creates temporary ASP.NET files where the proxy class is nicely generated for you.

You can find it in folder:

C:\Windows\Microsoft.NET\Framework\vMAJOR.MINOR.BUILD\Temporary ASP.NET Files\YOUR_WEB_APP. There are some subfolders with random names, go to most recent one and look something like "App_WebReferences.XXXX.0.cs".

Upvotes: 1

Related Questions