This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Consuming SOAP Web Service

 
Jotnarta Jot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 2790
38
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked out Java SOAP implementations like Metro and Axis-2? Those come with extensive documentation.
 
Jotnarta Jot
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 471
4
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic