Re: AW: Enabling addressing

2011-08-03 Thread Deepal jayasinghe
sendet: Mittwoch, 3. August 2011 00:57 > An: java-user@axis.apache.org > Cc: Barry Hathaway > Betreff: Re: Enabling addressing > > This is a bug, could you please send your client and service code to > axis2 list or create a JIRA. > > Thanks, > Deepal >> Deepal, >

Re: Enabling addressing

2011-08-03 Thread Deepal Jayasinghe
Operation name and soap action can be different, so that is why you need to set the correct SOAP action (according to the WSDL). Or else you need to give the full EPR /services/MyService/myOperation. Thanks, Deepal On Wed, Aug 3, 2011 at 3:53 PM, Barry Hathaway wrote: > Sagara, > > Thanks.  Sett

Re: Enabling addressing

2011-08-03 Thread Barry Hathaway
Sagara, Thanks. Setting the options.setAction("urn:method-name") seems to work just fine. It does seem a bit redundant though since in my invokeBlocking call I pass in a QName(uri,"method-name"). Any idea why both are necessary? Barry On 8/3/2011 1:57 PM, Sagara Gunathunga wrote: On Tue,

Re: Enabling addressing

2011-08-03 Thread Sagara Gunathunga
On Tue, Aug 2, 2011 at 8:20 PM, Barry Hathaway wrote: > I'm trying to enable addressing so that I can use soapsession. > In axis2.xml I have: > > > > In the client I have: > >         serviceClient.engageModule("addressing"); > > However, when I invoke any of the methods of my POJO service I get:

AW: Enabling addressing

2011-08-03 Thread Stadelmann Josef
st 2011 00:57 An: java-user@axis.apache.org Cc: Barry Hathaway Betreff: Re: Enabling addressing This is a bug, could you please send your client and service code to axis2 list or create a JIRA. Thanks, Deepal > Deepal, > > The error messages my previous email messages below were pr

Re: Enabling addressing

2011-08-02 Thread Deepal jayasinghe
This is a bug, could you please send your client and service code to axis2 list or create a JIRA. Thanks, Deepal > Deepal, > > The error messages my previous email messages below were produced when > I had: > > > > If I change it to scope="application" and turn off addessing on the > client then

Re: Enabling addressing

2011-08-02 Thread Barry Hathaway
Deepal, Thanks. The POJO service works without the: serviceClient.engageModule("addressing"); I can call all of the service methods without any problems. It is only when I enable addressing on the client side that I see problems. I did not do anything in the service itself (other than addin

Re: Enabling addressing

2011-08-02 Thread Deepal Jayasinghe
Hi There, When you call Service client it creates Axis2 runtime as a result it loads all the modules. That is why you see the module deploy log message. But if you use the same service client to invoke the service multiple times then you will not see that message. Were you able to invoke your POJ

Enabling addressing

2011-08-02 Thread Barry Hathaway
I'm trying to enable addressing so that I can use soapsession. In axis2.xml I have: 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