axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean Marc Taillant" <taill...@bst.bsf.alcatel.fr>
Subject Private Provider parameters?
Date Fri, 08 Feb 2002 10:05:18 GMT
Hi all,
I provide for my service my own prodider "MyHandler". I need to set parameters for this handler.


I succeeded in providing my provider "MyHandler" as follow:
//////////////////////////////////////
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

 <service name="SessionService" provider="Handler">
      <parameter name="className" value="my.package.MyServiceImpl"/>
      <parameter name="methodName" value"test1 test2"/>
      <parameter name="handlerClass" value="my.package.MyLogicProvider"/>
  </service>

... 
</deployment>
/////////////////////////////////////////

but i can't see how to provide parameter for my handler.
I try this:

/////////////////////////
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <service name="SessionService" provider="java:MyHandler">
      <parameter name="className" value="my.package.MyServiceImpl"/>
      <parameter name="methodName" value="test1 test2"/>
  </service>


 <handler name="MyHandler" type="java:my.package.MyLogicProvider">
      <parameter name="toto" value="tata"/>
 </handler>
 
</deployment>
///////////////////////////


but i got this exception :
...
The AXIS engine could not find a target service to invoke!
...

Someone can help me please ?

Regards,
Jean Marc

Mime
View raw message