Hmm... No response. I would have thought that this is a common problem.
Apache WSIF (Web Services Invocation Framework) has a concept of
CorrelationService that lets you save the operation, possibly in a
database  and retrieve it later, thus allowing you to map the request
and response. Is there nothing of the same nature in Axis2. 

 

Thanks

Afroz

 

________________________________

From: Afroz Ahmed [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 21, 2007 11:07 AM
To: [email protected]
Subject: [Axis2]: Not able to process response message on JMS queue
after client restart

 

Hi 

 

We have a scenario where the service requester sends a message on a
queue and the service processing takes a significant amount of time. The
client is not expected to keep running all this time and can be stopped
and restarted. When the client comes back up, it picks up the processed
message (if any) from the response queue. However what is happening is
that WS-Addressing module does not find a corresponding operation
context and throws the following exception:

 

SEVERE: JMS Worker [JMSWorker-1] Encountered an Axis Fault : 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.triggerAddressingFaul
t(AddressingFaultsHelper.java:150)

      at
org.apache.axis2.addressing.AddressingFaultsHelper.triggerActionNotSuppo
rtedFault(AddressingFaultsHelper.java:125)

      at
org.apache.axis2.handlers.addressing.AddressingWSDLValidationHandler.che
ckAction(AddressingWSDLValidationHandler.java:109)

      at
org.apache.axis2.handlers.addressing.AddressingWSDLValidationHandler.inv
oke(AddressingWSDLValidationHandler.java:39)

      at org.apache.axis2.engine.Phase.invoke(Phase.java:382)

      at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:522)

      at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:487)

      at
org.apache.axis2.transport.jms.JMSMessageReceiver$Worker.run(JMSMessageR
eceiver.java:198)

      at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)

      at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)

      at java.lang.Thread.run(Unknown Source)

 

 

Does anybody have an idea if there is a way to overcome this problem?

 

Thanks

Afroz

 

Reply via email to