This is what used to work for me around the 1.2 time frame :

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

 <!-- XML Signature handler -->
 <handler name="ServiceHandler"
          type="java:org.apache.axis.handlers.JAXRPCHandler">
   <parameter name="scope" value="session"/>
   <parameter name="className"
value="gov.infoseg.mr.xtservices.ServiceHandler"/>
 </handler>

 <service name="urn:detalhes-resposta" provider="java:RPC">
   <parameter name="className"
value="gov.infoseg.mr.xtservices.WSDetalhesResposta"/>
   <parameter name="allowedMethods" value="*"/>

   <requestFlow>
     <handler type="soapmonitor"/>
     <handler type="ServiceHandler"/>
   </requestFlow>
   <responseFlow>
     <handler type="ServiceHandler"/>
     <handler type="soapmonitor"/>
   </responseFlow>

 </service>
</deployment>

HTH,
Robert
http://www.braziloutsource.com/

On 8/8/06, Ben Reif <[EMAIL PROTECTED]> wrote:

I have a custom Handler that implements javax.xml.rpc.handler.Handler. I
have deployed it at the global level in the server-config.wsdd and defined
it in the <requestFlow> and <responseFlow> of the "http" transport in the
server-config.wsdd. At runtime I get a ClassCastException because
WSDDDeployableItem.makeNewInstance() expects the Handler to
implement the org.apache.axis.Handler interface. Is this a bug? Shouldn't
the axis Handler interface extend the javax.xml.rpc.handler.Handler
interface? Does anyone know how to do this without having to implement the
axis Handler interface?

Thanks,

Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to