Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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: 2891
46
  • 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