axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@free.fr
Subject RE: WS-addressing
Date Fri, 26 Sep 2008 20:56:24 GMT
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 <mgainty@hotmail.com>:

>
> 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: dug@us.ibm.com
> 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  |  dug@us.ibm.com
>
>
>
>
>
>
>
>
> Martin Gainty <mgainty@hotmail.com>
>
> 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: tsathya@hotmail.com
>
> 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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message