I'm trying to use "my own" (Castor from Exolab) serializer / deserialer to marhsall/unmarshall my xml to/from Java Beans.
 
My deploy.wsdd file looks like the following:
  <service name="WebSvcsImpl" provider="java:RPC">
 
      <parameter name="className" value="com.fmr.fesco.hw.WebSvcsImpl"/>
      <parameter name="allowedMethods" value="PingTest"/>
      <parameter name="scope" value="Request"/>
 
      <typeMapping
        xmlns:ns="http://fmr.com/hw/"
        qname="ns:FESCOHead"
        type="java:com.fmr.fesco.hw.fmrutil.FESCOHead"
        serializer="com.fmr.fesco.hw.router.utils.CastorSerializer"
        deserializer="com.fmr.fesco.hw.router.utils.CastorSerializer"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
Yet I get the following Class Cast Exception.  Can anyone provide any insight?  This is what I had done successfully in SOAP 2.2. Thanks in advance.
 
 
[5/30/02 17:16:17:971 EDT]  599d9fe SystemOut     U DEBUG    ConfigurationException <init>                    - Exception:

java.lang.ClassCastException: com.fmr.fesco.hw.router.utils.CastorSerializer
        at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:281)
        at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:445)
        . . .
 
 

Reply via email to