This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoking webservice from another webservice - Axis2
 
Similar Threads
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
SOAP 1.1 or 1.2