aspose file tools
The moose likes Web Services and the fly likes axis2 web service calling another web service Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: axis2 web service calling another web service
 
Similar Threads
Axis2: passing an ArrayList to a webservice
not able to call a service from another service using axis2
Web Services problem
cannot find symbol
complex data type in axis 2 web service