This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes axis2 web service calling another web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis2 web service calling another web service" Watch "axis2 web service calling another web service" New topic
Author

axis2 web service calling another web service

arseny levin
Greenhorn

Joined: Jul 25, 2011
Posts: 2
I have a "big picture" question: Can my web service call another web service?
I am using axis2 as my platform for running the services.
It goes something like this:


and the second service:

At this point one would expect, assuming both services are up and running, calling FirstService.getWelcomeMessage() would return "Hello stranger".
I mean I have another RPCServiceClient invoking "getWelcomeMessage" over the web.
What I get is an exception on the server side (which is running both of the services).
I can post the exception and log itself, but this isn't really a technical question, but rather "can I do that?". (It could be that each service object in axis i srunning in some sandbox
and it's thread (if any) has all kind of weird limitations... I wouldn't know.)
Please help!





arseny levin
Greenhorn

Joined: Jul 25, 2011
Posts: 2
found an answer at http://stackoverflow.com/questions/5926551/axis2-error-when-invoking-web-service-from-another-web-service
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis2 web service calling another web service