-
April 2nd, 2003, 07:00 PM
#1
WSDL and webservice
Hi ,
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
WSDL?
Any ideas are welcome.
Thanks,
Raj
-
April 2nd, 2003, 07:26 PM
#2
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
Paresh
- Software Architect
-
April 2nd, 2003, 08:37 PM
#3
WSDL
Hi Paresh,
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.
p.s.
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.
Raj
-
April 2nd, 2003, 09:30 PM
#4
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.
Thanks
Muthu
-
April 3rd, 2003, 12:53 AM
#5
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.
WM.
What about weapons of mass construction?
-
April 4th, 2003, 03:29 AM
#6
Try looking into the ProjectDirectory\bin. An asp.net webservice project creates a .dll during compilation.
Muthu
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|