[jboss-user] [JBossWS] - Differnce in Web-Service

subramaniam.venkat do-not-reply at jboss.com
Thu Dec 14 04:53:11 EST 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993762#3993762

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993762



More information about the jboss-user mailing list