0 Replies Latest reply on Dec 14, 2006 4:53 AM by subramaniam.venkat

    Differnce in Web-Service

    subramaniam.venkat

      Hello,

      I have a probelm in my application.
      We are where using JBoss-3.2.4 and for the deploying the web-services we used to deploy the web-service.xml and the wsdl file will be generated.
      Mainly for the Exception clases we had the following wsdl generated

      <complexType name="SoapManagementException">
       <sequence>
      
       <element name="action" nillable="true" type="xsd:string"/>
       <element name="elementName" nillable="true" type="xsd:string"/>
       <element name="faultClass" nillable="true" type="xsd:string"/>
       <element name="reason" nillable="true" type="xsd:string"/>
       <element name="rootCause" nillable="true" type="xsd:string"/>
       </sequence>
       </complexType>


      Now we have ported our application to the new JBoss-4.0.3-SP1 . The code for the exception class is same and there is no change in the web-service.xml but the generated wsdl file has changed . Now there is a extra field



      <complexType name="SoapManagementException">
       <sequence>
       <element name="message" nillable="true" type="xsd:string"/>
       <element name="action" nillable="true" type="xsd:string"/>
       <element name="elementName" nillable="true" type="xsd:string"/>
       <element name="faultClass" nillable="true" type="xsd:string"/>
       <element name="reason" nillable="true" type="xsd:string"/>
       <element name="rootCause" nillable="true" type="xsd:string"/>
       </sequence>
       </complexType>


      The SoapManagementException extends java.lang.Exception .

      But can someone tell me why is this new field introduced when deployed in the new JBoss.


      Any help we will be very helpful.

      Awaiting replies,
      Subramaniam V