You need to get a reference to the AxisService and then you can do 

axisService.getParameterValue("myname");

AxisService is provided in some lifecycle methods, in others like the init 
method you need

axisService = serviceContext.getAxisService();

hth,
charles

On Nov 24, 2009, at 1:14 PM, Pietro Romanazzi wrote:

> Hi,
> this is a very old issue.
> Could anyone help please?
> 
> i declared a parameter "myname" in my wsdd file:
> <deployment xmlns="http://xml.apache.org/axis/wsdd/";
>     xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
>   <service name="TestService" provider="java:RPC">
>     <parameter name="className" value="testService.TestService"/>
>     <parameter name="allowedMethods" value="*"/>
>     <parameter name="myname" value="myvalue"/>
>   </service>
> </deployment>
> 
> how can i read this parameter in my webservice classes?
> Kindest regards,
> 
> Pietro Romanazzi
> InnovaPuglia S.p.a
> Centro Tecnico RUPAR Puglia
> 
>   

Reply via email to