Sarara,

Thanks for your suggestions.
I tried
1.) options.setManageSession(true) (I had that one already)
2.) serviceClient.engageModule("addressing");
3.) added <module ref="addressing"/> inside the <service> tag of services.xml

and received faults on every method I tried to invoke.
On the client side the messages were:

2011-07-29 09:49:31,991 [main ] INFO ModuleDeployer - Deploying module: addressing-1.6.0 - file:/D:/Documents and Settings/xxxxxxxxx/.m2/repository/org/apache/axis2/axis2/1.6.0/axis2-1.6.0.jar 2011-07-29 09:49:32,100 [main ] INFO SadlMain - Invoking remote 'getClassName' operation 2011-07-29 09:49:32,460 [main ] INFO SadlMain - Caught AxisFault 2011-07-29 09:49:32,460 [main ] INFO SadlMain - Fault message: The server did not recognise the action which it received:

In the axis2.log file I see the messages:

2011-07-29 09:49:32,366 [http-8080-1] WARN org.apache.axis2.addressing.AddressingFaultsHelper - triggerActionNotSupportedFault: messageContext: [MessageContext: logID=6c720be37e254cd4121f68fb5a5501817ef03ba267c1dbb2] problemAction: urn:anonOutInOpResponse 2011-07-29 09:49:32,366 [http-8080-1] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.addressing.i18n.resource::handleGetObject(spec.FAULT_ACTION_NOT_SUPPORTED_REASON) 2011-07-29 09:49:32,366 [http-8080-1] ERROR org.apache.axis2.engine.AxisEngine - The [action] cannot be processed at the receiver. org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.


Any ideas?

Barry

On 7/28/2011 11:37 PM, Sagara Gunathunga wrote:
On Fri, Jul 29, 2011 at 6:15 AM, Barry Hathaway<bhath...@nycap.rr.com>  wrote:
Does anyone have an example of using session management (soapsession) with
POJOs.
HTH  [1]

Do you have to explicitly store the state on the server side or does
Axis2 do it automatically for you?
If it does not, how do you store the state.  Thanks in advance.
As I explained in above link if "ServiceGroupId" attribute available
Axis2 will take care about state management.

[1] - http://markmail.org/message/3rif5j3f255slveu

Thanks !

Barry Hathaway



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to