File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
Similar Threads
Web Services problem
not able to call a service from another service using axis2
Axis2: passing an ArrayList to a webservice
complex data type in axis 2 web service
cannot find symbol