W3C home > Mailing lists > Public > public-ws-addressing@w3.org > March 2007

Issue with Fault Action Property in WSDL 2.0

From: <twolff@bluestemsoftware.com>
Date: Fri, 09 Mar 2007 18:03:36 -0500
Message-ID: <20070309180336.df8gmzvkdqo8kock@webmail.dotearthhost.com>
To: public-ws-addressing@w3.org

Hi,

I received no response from the first post in January, so i'm posting again.
Could the working group please respond as to whether or not it believes this is
an issue.  Thanks.

If more than one interface operation ref's the same interface fault, the action
property is ambiguous and cannot be used for message dispatch, e.g.:

<description targetNamespace="http://mytns">
  ...
  <interface name="myInterface">
    <fault name="myFault" element="ns:faultElement"
wsam:Action="http://mytns/myInterface/myFault"/>
    <operation name="myOperation1"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <input element="ns:inputElement"
wsam:Action="http://mytns/myInterface/myOperation1"/>
      <output element="ns:outputElement"
wsam:Action="http://mytns/myInterface/myOperation1Response"/>
      <outfault ref="tns:myFault"/>
    </operation>
    <operation name="myOperation2"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <input element="ns:inputElement"
wsam:Action="http://mytns/myInterface/myOperation2"/>
      <output element="ns:outputElement"
wsam:Action="http://mytns/myInterface/myOperation2Response"/>
      <outfault ref="tns:myFault"/>
    </operation>
  </interface>
  ...
</description>

The property should instead be placed on 'infault' and 'outfault' elements and
the default pattern should be changed, e.g.:

[target namespace][delimiter][interface
name][delimiter][operationname][delimiter][direction
token]Fault[delimiter][fault name]

<description targetNamespace="http://mytns">
  ...
  <interface name="myInterface">
    <fault name="myFault" element="ns:faultElement"/>
    <operation name="myOperation1"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <input element="ns:inputElement"
wsam:Action="http://mytns/myInterface/myOperation1"/>
      <output element="ns:outputElement"
wsam:Action="http://mytns/myInterface/myOperation1Response"/>
      <outfault ref="tns:myFault"
wsam:Action="http://mytns/myInterface/myOperation1/OutFault/myFault"/>
    </operation>
    <operation name="myOperation2"
pattern="http://www.w3.org/2006/01/wsdl/in-out">
      <input element="ns:inputElement"
wsam:Action="http://mytns/myInterface/myOperation2"/>
      <output element="ns:outputElement"
wsam:Action="http://mytns/myInterface/myOperation2Response"/>
      <outfault ref="tns:myFault"
wsam:Action="http://mytns/myInterface/myOperation2/OutFault/myFault"/>
    </operation>
  </interface>
  ...
</description>
Received on Friday, 9 March 2007 23:04:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:35:16 GMT