axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Ericsson <>
Subject Re: Axis2 Webservice called from another websiervice
Date Thu, 07 Aug 2008 11:35:53 GMT
Have you two stand-a-lone axis on the same machine?

----- Original Message ----
From: Chris Richmond <>
Sent: Thursday, August 7, 2008 10:36:54 AM
Subject: RE: Axis2 Webservice called from another websiervice

Good luck with that.
I had a project a few months ago where I had one proxy webservice in Axis2 hosted in tomcat
that called another webservice and could NEVER get it to work.  It would crash after 10 calls
or so within a minute, create phantom services after calls to the proxy service side, and
the method signatures of those “phantom “ services exactly matched the methods on my client
proxies to the 2nd service…in short..there are MAJOR in memory collisions taking place whereas
the Axis2 stack gets confused.   All in all, it was a miserable failure for using one service
calling another, which is practically SOP in the WS world and I’ve done it with every other
WS stack I’ve used.  In the end I had to retool my middleware layer to use another WS stack.
I believe this is a difficult problem or bug as I never got a single answer or hint from many,
many mails to this and other lists that was related to the problem.  This problem might have
been resolved, but I never found a resolution, and the nature of the responses I got indicates
to me that no one ever really understood the problem…either from my lack of ability to communicate
it in several attempts or due complex systematic nature of the problem(not an easily identifiable
If you ever successfully get Axis2 webservice calling another webservice working and working
at production levels, I’d love to hear how you did it.


From:Jay Chauhan [] 
Sent: Wednesday, August 06, 2008 9:45 PM
Subject: Re: Axis2 Webservice called from another websiervice
Hi Lars, 

In order to eliminate that possibility I have created a static method ServiceBClient.callService() 
which works just fine if i call from stand along program, so the ports  and URLs are Okay.
Problem, happens only when i call it from within another service.

As an interim solution I am using messaging to call one service from another , however, i
always why wonder why a webservice should not be callable from each other.



On Wed, Aug 6, 2008 at 11:55 PM, Lars Ericsson <> wrote:
Hi Jay!
Also, you try run your client from webserviceA and you get those error-messages!
The errors are about addressing problem. have you check the if your url, and port are right?
----- Original Message ----
From: Jay Chauhan <>
Sent: Friday, August 1, 2008 10:57:02 PM
Subject: Re: Axis2 Webservice called from another websiervice
Hi Axis Team, 

I did some looking around and it is claimed to have fixed in jira 

However, the problem still exists, I wonder if someone can give a reply, 


On Thu, Jul 31, 2008 at 10:12 PM, Jay Chauhan <> wrote:

I have two Axis2 webservices, A and B. these services use AXIOM databinding.

I have a client , when I call the SericeBClient.callService() from standalone
program it works just fine as it should. However, when I try to call the same code from within
Service A  then i get the following error:

[WARN] triggerActionNotSupportedFault: messageContext: [MessageContext: logID=urn:uuid:02DD9A9B9453513B981217564336177]
[ERROR] The [action] cannot be processed at the receiver.
org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.
        at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(
        at org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSupportedFault(
        at org.apache.axis2.handlers.addressing.AddressingValidationHandler.checkAction(
        at org.apache.axis2.handlers.addressing.AddressingValidationHandler.invoke(

I have the services.xml as suggested in  AXIOM service section of Quick start guide:

What can I do to call a webservice from another, 

Any suggestion is appreciated.


View raw message