Meaningless Drivel is fun!*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 614
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 !!!
 
Don't get me started about those stupid light bulbs.
 
subject: call soap web service in Java without any webserver
 
Similar Threads
Connection pooling of SOAPConnection objects
SOAP over JMS via CORE JAVA client
java code in .dll
Web services approach to be taken for accessing the service
SOAP over JMS via core Java client