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

    Problem deploying service containing xsd:any element in the

    sathwik

      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


        • 1. Re: Problem deploying service containing xsd:any element in
          sathwik

          Hi,

          Solving this problem is very crucial for us. I don't know if this is a bug in JBoss4.0.1SP1. There has been no help on this.

          Probably me have to make a decision of whether to deploy WS on Jboss.

          The other alternative is that we deploy axis on tomcat outside of Jboss and deploy our webservices on it.

          let me know if this is a bug on Jboss4.0.1SP1.

          regards
          sathwik