Connect to Apache SOAP Web Service from .NET?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aleksandar_Hajdukovic
Posted On:   Friday, March 7, 2003 07:20 AM

I installed properly Apache SOAP under Tomcat, and make one simple Web Service.
I need to connect to that Web Service from .NET C# Windows Application. In .NET there is an option in Solution Explorer to Add a Web Reference and it is expecting URL of Web Service.
http://remote_maschine:8080/soap/servlet/rpcrouter won't work but I manage to create Web Service in .NET and mapped that to Apache SOAP Web Service and than use that .NET Web Service with URL http://remote_maschine/testService/Service1.asmx

Anybody knows how I can connect directly to Apache SOAP Web Service from C# application?

Re: Connect to Apache SOAP Web Service from .NET?

Posted By:   Bozidar_Dangubic  
Posted On:   Friday, March 7, 2003 12:32 PM

Well, if it is an RPC-based web service then it is really simple. In the Visual Studio, you can point to the URL of the Apache SOAP web service and Visual Studio will create proxies and all data objects that it needs "automagically." So with the RPC-based web service you can probably get it up and running in a few minutes. With a document-based web service, you are really all on your own. Since you are basically just transferring a document, there is no way to generically define proxies and data objects that C# needs. So you will have to handle all the mechanics all on your own. Therefore, an obvious recommendation is to setup an RPC-based web service with Apache SOAP and use Visual Studio to point to the URL of the web service and you are pretty much done.
About | Sitemap | Contact