April 2nd, 2003, 07:00 PM
WSDL and webservice
I have a doc/literal wsdl. Using WSDL.exe utility I
(WSDL /Server xxxxx.wsdl )created a stub code(to implement a server) that can
be implemented as a webservice on IIS.
What should I do if I want to implement the same as
a .NET Remoting Windows Application?
What changes should I have to make to the code generated by
Any ideas are welcome.
April 2nd, 2003, 07:26 PM
do you have WSDL as a remote dll then when you make a program in C#.NET,
in your project reference you can add as web and search from folder and then reference that WSDL. so that It can be used there.
hope it helps
- Software Architect
April 2nd, 2003, 08:37 PM
I don't have any remote dll.
I just have a DocumentLiteral WSDL file given to me. I have been asked to implement the server as a webservice/.NET Remoting.
With WSDL.exe(WSDL /Server option) we can generate an abstract class that inherits from WebServices class and not from MarshalByRefObject. What changes should I have to make on the generated code so that I can implement the server as a windows application rather than a .NeT webservice.
I will pass this server location while invoking another webservice so that that webservice and invoke the functions in this server. Hope you understand what I am trying to say.
Thanks for the reply paresh.
April 2nd, 2003, 09:30 PM
I think you'll have to compile your .cs code into a dll by using the csc.exe with a switch /lib. This will create a dll for you. But I've not used a webservice in a windows forms program.
April 3rd, 2003, 12:53 AM
I maded a webservice with starting an ASP.NET webservice project in visual studio. Then I completely implemented all functions and subs.
After that I made a windows forms project and added a web reference to the webservice. After that I made a new instance in my program of the webservice object and just like the normal code I used it.
Nothing at all with remoting dll's n such.
What about weapons of mass construction?
April 4th, 2003, 03:29 AM
Try looking into the ProjectDirectory\bin. An asp.net webservice project creates a .dll during compilation.
Click Here to Expand Forum to Full Width