Hi,

 

  1. In Axis 1.0 one could define a typeMapping tag in the server-config.wsdd to map certain classes to a certain QName. For example:

<typeMapping

        xmlns:ns="urn:ServerManager"

        qname="ns:Server"

        type="java:com.dummy.server.runtime.axis.Server"

        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"

        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"

        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

 

 

How is this accomplished in Axis2?

 

 

  1. Also, adding the following tag: <parameter name="extraClasses" value=" com.dummy.server.runtime.axis.Server "/> to the service description in the WSDD would expose the given object as a complexType in the WSDL. Is there an alternative in Axis2 with the same or similar functionality?

 

Thanks,

Shahar Kedar

Software AG Israel

Reply via email to