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 / April 2007

Tip: Looking for answers? Try searching our database.

How to create a complete WebService project from wsdl

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rubber_Soul - 01 Apr 2007 20:45 GMT
Hi,

I create an application in VS2005 C#. There is some data which I send
to a WebService to a company X. In my project I've added a Web
reference to their WebServices and everything works great. But now i
have to create my own WebService which should works with requests
sending from their applications. They (company X) sent me a WSDL file
witch contains all classes and method that I should to implements. And
the problem is, how to do this properly? When I use a wsdl.exe file I
can create a .cs file but how to use this in my project, and how to
add my code to method which exists in WSDL file?

Thanks
R_S
John Saunders - 01 Apr 2007 21:59 GMT
> Hi,
>
[quoted text clipped - 7 lines]
> can create a .cs file but how to use this in my project, and how to
> add my code to method which exists in WSDL file?

You shouldn't modify the generated code at all. Instead, your .asmx.cs file
should derive from the abstract class generated by WSDL.EXE.

John

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.