Hi,
I have been given a WSDL file for a web service. I'll be developing the code to communicate with the web service off-site, so I can't directly test it with the actual web service.
I want to reverse engineer a test web service from the WSDL.
I've run the WSDL.exe with the /server switch to create a class, removed the 'abstract' keyword from the class definition and operation, and added some code into the the operation to get some data from a database. This should replicate what the web service will return.
So, I have the .cs file - what should I do now to turn it into a web service that I can call from a client?
I'm sure there is an easy answer, but I've not got much experience with C# and VS2008, so I'm not sure.
I've tried to google this, and search the forums, but without success.
Many thanks
I have been given a WSDL file for a web service. I'll be developing the code to communicate with the web service off-site, so I can't directly test it with the actual web service.
I want to reverse engineer a test web service from the WSDL.
I've run the WSDL.exe with the /server switch to create a class, removed the 'abstract' keyword from the class definition and operation, and added some code into the the operation to get some data from a database. This should replicate what the web service will return.
So, I have the .cs file - what should I do now to turn it into a web service that I can call from a client?
I'm sure there is an easy answer, but I've not got much experience with C# and VS2008, so I'm not sure.
I've tried to google this, and search the forums, but without success.
Many thanks