You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Srisathya Thirumalai <ts...@hotmail.com> on 2008/09/26 20:20:51 UTC

WS-addressing

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.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

RE: WS-addressing

Posted by Srisathya Thirumalai <ts...@hotmail.com>.
I can.
 
I am trying to access a web service and the service expects wsa:action in the request and my code does not create that. So will migrating to 2.0 and engaging WS-addressing help with this problem?
 
How can I enable WS-addressing in Axis 2?
 
Thanks for replying.



From: mgainty@hotmail.comTo: axis-user@ws.apache.orgSubject: RE: WS-addressingDate: Fri, 26 Sep 2008 15:01:43 -0400


not available in Axis 1.xcan 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.comTo: axis-user@ws.apache.orgSubject: WS-addressingDate: 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 
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/

RE: WS-addressing

Posted by Martin Gainty <mg...@hotmail.com>.
thanks for the pointer on org.apache.axis2.client.Options and setAction method
for some reason I cannot locate the java\samples\wsa folder
?
Merci/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. 


> Date: Fri, 26 Sep 2008 22:56:24 +0200
> From: yoos@free.fr
> To: axis-user@ws.apache.org
> Subject: RE: WS-addressing
> 
> 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 <mg...@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 <mg...@hotmail.com>
> >
> > 09/26/2008 03:01 PM
> >
> >
> >
> > Please respond to
> >
> > axis-user@ws.apache.org
> >
> >
> >
> >
> >
> >
> > To
> > <ax...@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
> 

_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

RE: WS-addressing

Posted by Srisathya Thirumalai <ts...@hotmail.com>.
Thanks Yoos, it worked.> Date: Fri, 26 Sep 2008 22:56:24 +0200> From: yoos@free.fr> To: axis-user@ws.apache.org> Subject: RE: WS-addressing> > 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 <mg...@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 <mg...@hotmail.com>> >> > 09/26/2008 03:01 PM> >> >> >> > Please respond to> >> > axis-user@ws.apache.org> >> >> >> >> >> >> > To> > <ax...@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> 
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

RE: WS-addressing

Posted by yo...@free.fr.
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 <mg...@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 <mg...@hotmail.com>
>
> 09/26/2008 03:01 PM
>
>
>
> Please respond to
>
> axis-user@ws.apache.org
>
>
>
>
>
>
> To
> <ax...@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


RE: WS-addressing

Posted by Martin Gainty <mg...@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 <mg...@hotmail.com>

09/26/2008 03:01 PM



Please respond to

axis-user@ws.apache.org






To
<ax...@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/

RE: WS-addressing

Posted by Srisathya Thirumalai <ts...@hotmail.com>.
Doug,
I don't see this folder in my Axis 1.4 download. Can you please email the snippet of code of how to set WS-addressing in Axis 1.4?
 
Thanks



To: axis-user@ws.apache.orgSubject: RE: WS-addressingFrom: dug@us.ibm.comDate: Fri, 26 Sep 2008 16:14:43 -0400Actually, 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 <mg...@hotmail.com> 
09/26/2008 03:01 PM 




Please respond toaxis-user@ws.apache.org





To
<ax...@ws.apache.org> 


cc



Subject
RE: WS-addressing




not available in Axis 1.xcan 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.comTo: axis-user@ws.apache.orgSubject: WS-addressingDate: Fri, 26 Sep 2008 14:20:51 -0400Hello,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/

RE: WS-addressing

Posted by Doug Davis <du...@us.ibm.com>.
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 <mg...@hotmail.com> 
09/26/2008 03:01 PM
Please respond to
axis-user@ws.apache.org


To
<ax...@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

RE: WS-addressing

Posted by Martin Gainty <mg...@hotmail.com>.
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.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008