Not sure if this will help you but if, in a wsdd file you have a parameter
like this:
<service name="MyServ">
  <parameter name="className"  value="com.mine.Service" />
  <parameter name="anotherParam"  value="anotherValue" />
</service>


 You can read the parameters using the following:

MessageContext msc = MessageContext.getCurrentContext();
String val= (String)msc.getService().getOption("anotherParam");


Or something like that :-)
I'm not sure what special restrictions your war file imposes.

BarZ

Quoting "Guha, Suteertha [IE]" <[EMAIL PROTECTED]>:

> Hello again, I am sure this is possible. And should be simple enough. Can
> someone please help me out once you get a few spare cycles?
> 
>  
> 
> Thanks!!!
> 
>  
> 
>  
> 
> -----Original Message-----
> From: Guha, Suteertha [IE] [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 10, 2004 3:15 PM
> To: '[EMAIL PROTECTED]'
> Subject: How to read config values from soap service deployed as WAR?
> 
>  
> 
> Hi!
> 
>  
> 
> I need to know how one reads configuration values ( like env-entry in
> deployment descriptors) from the Impl classes of a webservice deployed as a
> WAR file using AXIS providers?
> 
>  
> 
> Thank you,
> 
> Guha
> 
> 





    Ahora podes andar volando sin usar el telefono
ADSL 4 veces mas rapido - 256Kb por $ 1039/mes mas iva
       y el mejor servicio Antivirus y Antispam
______________________________________________________
http://www.internet.com.uy - En Uruguay somos internet


    Ahora podes andar volando sin usar el telefono
ADSL 4 veces mas rapido - 256Kb por $ 1039/mes mas iva
       y el mejor servicio Antivirus y Antispam
______________________________________________________
http://www.internet.com.uy - En Uruguay somos internet

Reply via email to