Amila Suriarachchi wrote:


On 6/12/07, *Dennis Sosnoski* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to