Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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: 35223
    
    7
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.


Android appsImageJ pluginsJava web charts
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://zeroturnaround.com/jrebel/download
 
subject: How to invoke a webservice in .net from servlet application
 
Similar Threads
invoking .asmx webservice in java?
Gtting SAXException Bad Types (float -> class java.lang.String)
POST method
Invoke servlet from java class
error on trying to have access to a .net web service