Well, if you are plugging in your own serializers, then you certainly won't
be interested in the data types generated by the WSDL2Java process. Those
are designed to work with the BeanSerializer.
"James Cowan"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
.uk> cc:
07/31/2003 12:47 Subject: Re: encoding.ser.castor
PM
Please respond to
axis-user
I am interested in this as well. I use the Castor xsd compiler a lot - it
generates really nice code.
I do not really understand how you can use the castor compiler alongside
the
wsdl compiler - surely you can only use one or the other or am I missing
the
point?
James
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 4:05 PM
Subject: Re: encoding.ser.castor
> David,
>
> I'm about to do this myself, with the exception of using my own set of
> CastorSerializer classes so that it will look for my custom mapping. So
> I'm very interested in this topic. I wonder if the encodingStyle should
be
> somthing else?
>
> Have you confirmed that the (un)marshalling process is successful
external
> to the serialization framework? I've noticed that the default binding
for
> source code generation in Castor does not always (in my case never)
matches
> with the default mapping. But maybe that is because I don't let it add
> Castor code to my JavaBeans.
>
> Please keep us posted on your progress!
>
> Cheers.
> Steve Maring
>
>
>
>
>
>
> David Kocher
> <[EMAIL PROTECTED] To:
[EMAIL PROTECTED]
> rve.ch> cc:
> 07/31/2003 10:02 Subject:
encoding.ser.castor
> AM
>
> Please respond to
> axis-user
>
>
>
>
>
>
> Hi axis-users,
> yet another question (...) I'm just tinkering around with
the
> org.apache.axis.encoding.ser.castor.* classes. I have type mappings in my
> axis deployment descriptor like the following:
>
> <typeMapping
> xmlns:ns="
> http://www.suva.ch/schemas/20030722/SalaryDeclaration"
> qname="ns:CompanyType"
>
type="java:ch.itserve.lohnstandard.piv.CompanyType
> "
> serializer
> ="org.apache.axis.encoding.ser.castor.CastorSerializerFactory"
> deserializer
> ="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory"
> encodingStyle="
> http://schemas.xmlsoap.org/soap/encoding/"
> />
>
> All beans are autogenerated classes from the castor. When trying to
deploy
> the
> service with the AdminClient I get a classcastexception I cannot
understand
>
> [java] Exception:: org.apache.axis.deployment.wsdd.WSDDException:
> java.lang.ClassCastException
> [java] java.lang.ClassCastException
> [java] at
>
org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSeriali
zerFactory.java:257)
>
> [java] at
>
org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.ja
va:549)
>
>
> Is it supposed to work?
> Thanks a lot!
> -David
>
>
>
>
> _________________________________________________________________
> The information transmitted is intended only for the person or
> entity to which it is addressed and may contain confidential
> and/or privileged material. Any review, retransmission,
> dissemination or other use of, or taking of any action in
reliance
> upon, this information by persons or entities other than the
> intended recipient is prohibited. If you received this in
error,
> please contact the sender and delete the material from any
> computer.
>
_________________________________________________________________
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential
and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the
intended recipient is prohibited. If you received this in error,
please contact the sender and delete the material from any
computer.