1 Reply Latest reply on Apr 26, 2006 2:20 AM by sathwik

    Problem deploying service containing xsd:any element in the

    sathwik Newbie

      Hi,

      I am deploying my service on Jboss4.0.1SP1.

      My schema has xsd:any element defined in many of my complex types.

      I used the WSDL2Java axis ant task to generate the articfacts. The deploy.wsdd generated by axis has this entry

      <typeMapping
      xmlns:ns="http://example.com/schema"
      qname="ns:UserVacationConfig"
      type="java:example.UserVacationConfig"
      serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
      deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
      encodingStyle=""
      />

      When I deploy the web service, it comments out the typeMapping section in the .wsdd file under C:\jboss-4.0.1sp1\server\default\data\wsdl\example\example.wsdd

      <!-- Class not found, ignore type mapping
      <typeMapping
      qname='ns9:UserVacationConfig' xmlns:ns9='http://example.com/schema'
      type='java:exampl.UserVacationConfig'
      serializer='null'
      deserializer='null'
      encodingStyle=''>








      -->

      This is happening for all the elements that has a xsd:any element defined. If I remove xsd:any element from my schema and deploy it works fine.

      Can you please help me on this.

      thanx