This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Invoking webservice from another webservice  - Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Invoking webservice from another webservice  - Axis2" Watch "Invoking webservice from another webservice  - Axis2" New topic
Author

Invoking webservice from another webservice - Axis2

raveesh ahuja
Greenhorn

Joined: Mar 09, 2007
Posts: 2
Hello,

Can someone please provide me some guidelines for invoking a webservice from another webservice. I am having a chain of services.
Client calls Webservice A which in turn would call Webservice B. Return value of Webservice A would depend on result from Webservice B.

Currently my client code invokes service using :

import org.apache.axis2.client.OperationClient;
import org.apache.axis2.client.Options;
import org.apache.axis2.client.ServiceClient;



Regards
Raveesh
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Invoking a web service A from another web service B is the same as invoking the web service B from any JavaEE client.
Check these links:
http://www.netbeans.org/kb/60/websvc/jax-ws.html
Best wishes!
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Invoking webservice from another webservice - Axis2
 
It's not a secret anymore!