axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Re: [axis2] WSDL2Java / Java2WSDL and Faults (PLEASE CHIME IN?)
Date Tue, 12 Jun 2007 22:57:20 GMT
Amila Suriarachchi wrote:
>
>
> On 6/12/07, *Dennis Sosnoski* <dms@sosnoski.com 
> <mailto:dms@sosnoski.com>> wrote:
>
>     ...This should be changed so
>     that there doesn't need to be a message data object type for
>     faults with
>     no content (corresponding to an exception that only provides an error
>     message), which in WSDL terms would be:
>
>           <element name="empty">
>             <complexType>
>               <sequence/>
>             </complexType>
>           </element>
>           ...
>
>       <wsdl:message name="emptyFault">
>         <wsdl:part element="wns:empty" name="fault"/>
>       </wsdl:message>
>
>     Right now, this creates an "Empty" class as the message data
>     object for
>     the generated exception class. Instead, we should just have the
>     Fault/Exception class.
>
>
> why you want to remove the faultmessage property. In this way we loose 
> the element detial
> given in the message. And also then user will not be able to send the 
> fault message (as describe in the wsdl) if he required as well.

I'm only talking about the case where there's no content for the Fault 
element. If there's no content, there's no reason to have a message data 
object class for that Fault.

  - Dennis

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message