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