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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Invoking webservice from another webservice  - Axis2" Watch "Invoking webservice from another webservice  - Axis2" New topic

Invoking webservice from another webservice - Axis2

raveesh ahuja

Joined: Mar 09, 2007
Posts: 2

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;

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
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:
Best wishes!
I agree. Here's the link:
subject: Invoking webservice from another webservice - Axis2
Similar Threads
SOAP 1.1 or 1.2
How to call Axis2 Webservice from another web service
Axis2: getInboundFaultFrom MessageContext Error!
not able to call a service from another service using axis2
org.apache.axis2.AxisFault: Transport error: 401 Error: Unauthorized while invoking the webservice