Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2007

Tip: Looking for answers? Try searching our database.

How to add a WSDL as Webservice Reference in Visual Studio

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg Jimson - 08 Dec 2007 13:07 GMT
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

Signature

Greg Jimson

Tiago Halm - 08 Dec 2007 20:14 GMT
If using VS2005 (best option), use svcutil.exe:

> svcutil.exe /?
(...)
svcutil *.wsdl *.xsd /language:C#
  - Generate client code from local metadata documents.
(...)

Tiago Halm

> Hi,
>
[quoted text clipped - 4 lines]
> Thanks for any hint
> Greg
Greg Jimson - 11 Dec 2007 11:42 GMT
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
Tiago Halm - 11 Dec 2007 23:53 GMT
Use "Add Service Reference", available in VS 2008. Or use VS 2005 + "Visual
Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006
CTP" available in:
http://www.microsoft.com/downloads/details.aspx?FamilyId=F54F5537-CC86-4BF5-AE44
-F5A1E805680D&displaylang=en


Tiago Halm

> Hi Tiago,
>
[quoted text clipped - 9 lines]
>
> Greg

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.