Hi All,

I'm deploying  a webservice under access. I have an attribute named destinationPort which is defined as an xs:string.

I've used WSDl2Java to generate my stubs/skeletons and everything seems to have deployed fine. However when I try retrieve the WSDL for the service (via the AxisServlet) I get the following error:

"Fault - Bean attribute destinationPort is of type java.lang.String, which is not a simple type"

The generated deploy.wsdd contains the following type mapping:

<typeMapping
        xmlns:ns="urn:ItineraryCriteria"
        qname="ns:>>ItineraryCriteria>destinationPort"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />

I'm using axis 1.2.1.

Any ideas ?

Jonathan

Reply via email to