You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Shyam Shukla <sh...@persistent.co.in> on 2006/11/22 09:29:19 UTC

Can we modify axis2.xml file at run-time?

Hi All,

 

Is there any way to set the value of elements for example <user>,
<passwordCallbackClass>, <signaturePropFile> in axis2.xml at run-time
programmatically?

 

 

Best Regards,
Shyam Shukla



 


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.

Re: Can we modify axis2.xml file at run-time?

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Wed, 2006-11-22 at 13:59 +0530, Shyam Shukla wrote:
> Hi All,
> 
>  
> 
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at run-time
> programmatically?

You shouldn't need to be even aware of the presence of an axis2.xml file
at runtime- you can change anything at runtime by messaging with
AxisConfiguration and ConfigurationContext (or their less global
compatriots).

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: Can we modify axis2.xml file at run-time?

Posted by Sanka Samaranayke <ss...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shyam Shukla wrote:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
>  font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple;
> text-decoration:underline;} span.EmailStyle17
> {mso-style-type:personal-compose; font-family:Arial;
> color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in
> 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -->
>
> Hi All,
>
>
>
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at
> run-time programmatically?
>

are you referring the to the values of  child elements of
RampartConfig assertion element ?

Sanka

>
>
>
>
>
> Best Regards, Shyam Shukla
>
>
>
> DISCLAIMER ========== This e-mail may contain privileged and
> confidential information which is the property of Persistent
> Systems Pvt. Ltd. It is intended only for the use of the individual
> or entity to which it is addressed. If you are not the intended
> recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all
> copies of this message. Persistent Systems Pvt. Ltd. does not
> accept any liability for virus infected mails.


- --
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFFZsBf/Hd0ETKdgNIRAp16AJwMSIazaawvWNHj7xYLI6g88nBzhQCcDNxJ
39DvWsSq+77OSm4pHPGazkY=
=Kw+r
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Can we modify axis2.xml file at run-time?

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Wed, 2006-11-22 at 13:59 +0530, Shyam Shukla wrote:
> Hi All,
> 
>  
> 
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at run-time
> programmatically?

You shouldn't need to be even aware of the presence of an axis2.xml file
at runtime- you can change anything at runtime by messaging with
AxisConfiguration and ConfigurationContext (or their less global
compatriots).

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Can we modify axis2.xml file at run-time?

Posted by Sanka Samaranayke <ss...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shyam Shukla wrote:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
>  font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple;
> text-decoration:underline;} span.EmailStyle17
> {mso-style-type:personal-compose; font-family:Arial;
> color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in
> 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -->
>
> Hi All,
>
>
>
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at
> run-time programmatically?
>

are you referring the to the values of  child elements of
RampartConfig assertion element ?

Sanka

>
>
>
>
>
> Best Regards, Shyam Shukla
>
>
>
> DISCLAIMER ========== This e-mail may contain privileged and
> confidential information which is the property of Persistent
> Systems Pvt. Ltd. It is intended only for the use of the individual
> or entity to which it is addressed. If you are not the intended
> recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all
> copies of this message. Persistent Systems Pvt. Ltd. does not
> accept any liability for virus infected mails.


- --
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFFZsBf/Hd0ETKdgNIRAp16AJwMSIazaawvWNHj7xYLI6g88nBzhQCcDNxJ
39DvWsSq+77OSm4pHPGazkY=
=Kw+r
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Can we modify axis2.xml file at run-time?

Posted by Sanka Samaranayke <ss...@gmail.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shyam Shukla wrote:
> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal,
> div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt;
>  font-family:"Times New Roman";} a:link, span.MsoHyperlink
> {color:blue; text-decoration:underline;} a:visited,
> span.MsoHyperlinkFollowed {color:purple;
> text-decoration:underline;} span.EmailStyle17
> {mso-style-type:personal-compose; font-family:Arial;
> color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in
> 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} -->
>
> Hi All,
>
>
>
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at
> run-time programmatically?
>

are you referring the to the values of  child elements of
RampartConfig assertion element ?

Sanka

>
>
>
>
>
> Best Regards, Shyam Shukla
>
>
>
> DISCLAIMER ========== This e-mail may contain privileged and
> confidential information which is the property of Persistent
> Systems Pvt. Ltd. It is intended only for the use of the individual
> or entity to which it is addressed. If you are not the intended
> recipient, you are not authorized to read, retain, copy, print,
> distribute or use this message. If you have received this
> communication in error, please notify the sender and delete all
> copies of this message. Persistent Systems Pvt. Ltd. does not
> accept any liability for virus infected mails.


- --
Sanka Samaranayake
WSO2 Inc.

http://sankas.blogspot.com/
http://www.wso2.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFFZsBf/Hd0ETKdgNIRAp16AJwMSIazaawvWNHj7xYLI6g88nBzhQCcDNxJ
39DvWsSq+77OSm4pHPGazkY=
=Kw+r
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: Can we modify axis2.xml file at run-time?

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
On Wed, 2006-11-22 at 13:59 +0530, Shyam Shukla wrote:
> Hi All,
> 
>  
> 
> Is there any way to set the value of elements for example <user>,
> <passwordCallbackClass>, <signaturePropFile> in axis2.xml at run-time
> programmatically?

You shouldn't need to be even aware of the presence of an axis2.xml file
at runtime- you can change anything at runtime by messaging with
AxisConfiguration and ConfigurationContext (or their less global
compatriots).

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Director; Open Source Initiative; http://www.opensource.org/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org