You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Tolsch, Ed" <Ed...@fmr.com> on 2002/05/30 23:22:22 UTC
Serializer/DeSerializer question/Help
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/ <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/
<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(BaseSeriali
zerFactory.java:281)
at
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.ja
va:445)
. . .