Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoking webservice from another webservice - Axis2

 
raveesh ahuja
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic