Hello all,

If you think about using WS-ADDRESSING using Axis2 ServiceClient Api, you have
to engage the module using a ConfigurationContext:

=========================
ConfigurationContext context =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(
PATH_OF_YOUR_REPOSITORY, PATH_OF_AXIS2.XML);

ServiceClient client = new ServiceClient(context);

Option opt = new Option();
opt.setAction(YOUR_ACTION);

client.setOption(opt);
==========================

PATH_OF_YOUR_REPOSITORY =
repository
       > modules : where adressing1.4.mar is stored
       > services
PATH_OF_AXIS2.XML : axis2.xml contains the call to engage adressing

I am not very sure of the method "createConfigurationContextFromFileSystem".
Test it or find in the api the right one.

I didn't tried to use addressing with a Stub, but i should be merely the same.


yOOs


Selon Martin Gainty <[EMAIL PROTECTED]>:

>
> how does he engage WS-Addressing as a module?
>
> (..TRYING to get the op to upgrade..)
>
> thx
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
> To: axis-user@ws.apache.org
> Subject: RE: WS-addressing
> From: [EMAIL PROTECTED]
> Date: Fri, 26 Sep 2008 16:14:43 -0400
>
>
>
> Actually, WS-addressing is available
> under Axis 1 - see: java\samples\wsa
>
>
>
> thanks
>
> -Doug
>
> ______________________________________________________
>
> STSM  |  Web Services Architect  |  IBM Software Group
>
> (919) 254-6905  |  IBM T/L 444-6905  |  [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
> Martin Gainty <[EMAIL PROTECTED]>
>
> 09/26/2008 03:01 PM
>
>
>
> Please respond to
>
> axis-user@ws.apache.org
>
>
>
>
>
>
> To
> <axis-user@ws.apache.org>
>
>
> cc
>
>
>
>
> Subject
> RE: WS-addressing
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> not available in Axis 1.x
>
> can you upgrade to 2.x
>
> ?
>
> Martin
>
> ______________________________________________
>
> Disclaimer and confidentiality note
>
> Everything in this e-mail and any attachments relates to the official
> business
> of Sender. This transmission is of a confidential nature and Sender does
> not endorse distribution to any party other than intended recipient. Sender
> does not necessarily endorse content contained within this transmission.
>
>
>
>
>
>
>
> From: [EMAIL PROTECTED]
>
> To: axis-user@ws.apache.org
>
> Subject: WS-addressing
>
> Date: Fri, 26 Sep 2008 14:20:51 -0400
>
>
>
> Hello,
>
> Can somebody please tell me how to engage/enable WS-addressing in Axis
> 1.4?
>
>
>
> Thanks
>
>
>
>
> Want to do more with Windows Live? Learn
> “10 hidden secrets” from Jamie. Learn
> Now
>
>
> Want to do more with Windows Live? Learn
> “10 hidden secrets” from Jamie. Learn
> Now
>
>
> _________________________________________________________________
> See how Windows Mobile brings your life together—at home, work, or on the go.
> http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to