On Tue, Aug 2, 2011 at 8:20 PM, Barry Hathaway <[email protected]> wrote:
> I'm trying to enable addressing so that I can use soapsession.
> In axis2.xml I have:
>
> <module ref="addressing"/>
>
> In the client I have:
>
> serviceClient.engageModule("addressing");
>
> However, when I invoke any of the methods of my POJO service I get:
>
> 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.
Barry,
Make sure you have set 'action' properly in client side.
e.g -
options.setAction("urn:increment");
Thanks !
>
>
> Any ideas?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]