aspose file tools*
The moose likes Web Services and the fly likes call soap web service in Java without any webserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "call soap web service in Java without any webserver" Watch "call soap web service in Java without any webserver" New topic
Author

call soap web service in Java without any webserver

Amandeep Aggarwal
Greenhorn

Joined: Jul 11, 2008
Posts: 12
Hello Experts,

I have a requirement where I need to call a SOAP based web service from a Java application ; no web server is available.
I have a URL to the WSDL and need to supply 2 input values and extract a string from the response xml.

Do we need to have a web server (like Tomcat) to call a SOAP web service? Can we call a SOAP web service from a Jdk 1.6 program?
Please provide an example if it can be done.

Thanks
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 641
Do we need to have a web server (like Tomcat) to call a SOAP web service?


NO

Can we call a SOAP web service from a Jdk 1.6 program?


YES

Please provide an example if it can be done.


did you try gooling "A Simple SOAP Client in JAVA" ?


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: call soap web service in Java without any webserver