Anybody ?

I still don't know even wheather this is too stupid a question or noone 
knows the answer, or I didn't make myself clear ?

Any help apreciated ,

Torsten

> Moi,
>
> so I just got my "hello world" (userguide/example3) to work and all 
> looks fine.
>
> But for real life, I want to access existing objects. So axis wouldn't 
> intantiate the object, especially not for every call to the service.
>
> Is there a way to describe this using the wsdd. For example to specify 
> a factory method for the class ?
> As in:
>
> <deployment xmlns="http://xml.apache.org/axis/wsdd/";
>            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
>
> <service name="MyService" provider="java:RPC">
>  <parameter name="className" 
> value="samples.userguide.example3.MyService"/>
> #### guess work ####
>  <parameter name="factoryMethod" value="my.package.class.staticMethod" >
>    <arg  name="uri" />  ## or <arg name="serviceName"/>
> ### ??
>  <parameter name="allowedMethods" value="*"/>
> </service>
>
> </deployment>
>
> Any other ideas how to do this are welcome ,
>
>    Thanks
>        Torsten




Reply via email to