Web Service question

G

Gary Miller

This is only my 2nd time consuming a webservice and it has been 2 years
since my last experience. When adding a web reference to the WSDL isn't
there a way to generate the source for the WSDL? I cannot remember how I
did this so that the web service source is generated and Visual Studio isn't
simply referencing the WSDL.

I could of swore that is what I did the first time around.

Thanks

Gary
 
M

Martin Honnen

Gary said:
This is only my 2nd time consuming a webservice and it has been 2 years
since my last experience. When adding a web reference to the WSDL isn't
there a way to generate the source for the WSDL? I cannot remember how I
did this so that the web service source is generated and Visual Studio isn't
simply referencing the WSDL.

I could of swore that is what I did the first time around.

The .NET framework SDK has a command line tool wsdl.exe that you can use
to generate a proxy class for your web service:
http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.80).aspx
 
G

Gary Miller

Thanks Martin
That is exactly what I was looking for. It has been too long since I last
had to consume a web service.

Gary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top