How to add a WSDL as Webservice Reference in Visual Studio

G

Greg Jimson

Hi,

I got from a friend just a WSDL file, how ever I do not have access to the
Web Service itself. I'd like program an app which needs to use this WS. What
steps need I to take?

Thanks for any hint
Greg
 
T

Tiago Halm

If using VS2005 (best option), use svcutil.exe:
svcutil.exe /?
(...)
svcutil *.wsdl *.xsd /language:C#
- Generate client code from local metadata documents.
(...)

Tiago Halm
 
G

Greg Jimson

Hi Tiago,
svcutil *.wsdl *.xsd /language:C#

Great. I was able to create a proxy class. When I use the Add Web Reference
menu in Visual Studio the result looks different. How do I create the same
result with my proxy class and WDSL file? Or in other words how do I create
a Web Reference just having the WSDL file and the proxy class?

Thanks for any advice

Greg
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top