aspose file tools*
The moose likes Web Services and the fly likes How to invoke a webservice in .net from servlet application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to invoke a webservice in .net from servlet application" Watch "How to invoke a webservice in .net from servlet application" New topic
Author

How to invoke a webservice in .net from servlet application

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
Can anyone tell me how to invoke a webservice in .Net from Servlet?


Abhishek
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42622
    
  65
The beauty of WS is that you don't have to care which language it's implemented in. If you have a WSDL description, you can use any Java tool you like to create client code for it, e.g. the wsdl2java tool that comes with Axis.


Ping & DNS - my free Android networking tools app
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
Can give me links for such resources ..so that it will be easy for me to use?
Ugender Rekulampally
Ranch Hand

Joined: Nov 14, 2005
Posts: 130
Abhishek,
You dont have to worry about how(which language) the web services server implemented. call methods in your servelet-client as if the server is implemented in Java..

If you use Axis Engine then here is how you make calls to a service..





"getReferenceValues" is the service that I am calling with the argument "name"..


Thanks,
Ugender
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
thanks for the reply iam trying.....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to invoke a webservice in .net from servlet application