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 "Lasker, Kory" <kl...@qwest.com> on 2002/04/16 22:24:45 UTC
beanSerialization
I'm having problems trying to unserialize a complexType from my service on
the client side, causing me many problems between the role of the client and
the deployment descriptor.
In the <typeMapping> section of the DD using the default beanSerializer,
am I supposed to refer to a class known only by the server-side,
client-side, or both? The latter doesn't make any sense to me at all. But,
if I use the client-side classes generated from WSDL2Java, I get a "class
not found" type exception like this:
org.apache.axis.deployment.wsdd.WSDDException:
java.lang.ClassNotFoundException: com.lavaclient.Address
My WSDD was generated by WSDL2Java as well.
<typeMapping
xmlns:ns="http://mynamespace.com"
qname="ns:Address"
type="java:com.lavaclient.Address"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
Any ideas out there?
Thanks,
Kory Lasker