simple custom type cutomer - contain 2 strings : <typeMapping | qname='ns1:Customer' xmlns:ns1='http://com.alon.beans/ws4ee' | type='java:com.alon.beans.Customer' | serializer='org.apache.axis.encoding.ser.BeanSerializerFactory' | deserializer='org.apache.axis.encoding.ser.BeanDeserializerFactory' | encodingStyle='' | />
from the wsdl : <schema targetNamespace="http://com.alon.beans" xmlns="http://www.w3.org/2001/XMLSchema"> | <complexType name="Customer"> | <sequence> | <element name="last" nillable="true" type="xsd:string"/> | <element name="name" nillable="true" type="xsd:string"/> | </sequence> | </complexType> | </schema> | <schema targetNamespace="http://com.alon.beans/ws4ee" xmlns="http://www.w3.org/2001/XMLSchema"> | <element name="in0" type="tns1:Customer"/> | <element name="echoCustomerReturn" type="tns1:Customer"/> | </schema> from the jax mapping : <package-mapping> | <package-type>com.alon.beans</package-type> | <namespaceURI>http://com.alon.beans/ws4ee</namespaceURI> | </package-mapping> | | <java-xml-type-mapping> | <java-type>com.alon.beans.Customer</java-type> | <root-type-qname>impl:in0</root-type-qname> | <qname-scope>element</qname-scope> | </java-xml-type-mapping> | <java-xml-type-mapping> | <java-type>com.alon.beans.Customer</java-type> | <root-type-qname>impl:echoCustomerReturn</root-type-qname> | <qname-scope>element</qname-scope> | </java-xml-type-mapping> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854208#3854208 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854208 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development