This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes Consuming SOAP Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Consuming SOAP Web Service" Watch "Consuming SOAP Web Service" New topic
Author

Consuming SOAP Web Service

Jotnarta Jot
Greenhorn

Joined: May 18, 2006
Posts: 24
Hi All

I want to develop a web service that consumes a SOAP web service, that accepts a SOAP message and response with a SOAP message. Any help please?

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Have you checked out Java SOAP implementations like Metro and Axis-2? Those come with extensive documentation.
Jotnarta Jot
Greenhorn

Joined: May 18, 2006
Posts: 24
Thank you Tim for your reply, I am new to web service development, and using Eclipse IDE with J2EE, I built a simple web service and I want to consume it from another web service using SOAP.


Above is my web service, the web service executes and run fine, I want to create another web service to consume the above web service, by sending SOAP message. If you have a simple example it will be great and helpful, thank you for time.
H Paul
Ranch Hand

Joined: Jul 26, 2011
Posts: 418
    
    4
Use Help from Eclispe IDE: It has a section JAX-WS Tools User Guide

It used Apache CXF implementation. It's OK to get started. Once you know how to use the IDE and the steps involved for
creating and consuming a soap web service, you can change to any JAX-WS implementation like Metro or etc..
It's a matter of seting up.

Java Savvy
Greenhorn

Joined: Nov 25, 2011
Posts: 2

You need to start with some basic examples where frameworks like AXIS or CXF with eclipse/Netbeans IDE will help you understand the classes involved.SOAP is used a s a protocol in Web Services where WSDL is exposed for access to internal methods.A result SOAP message with data is sent back.


http://arraylist.blogspot.com
 
Consider Paul's rocket mass heater.
 
subject: Consuming SOAP Web Service