W3C home > Mailing lists > Public > www-ws-desc@w3.org > November 2003

RE: are fault-replaces-message (FRM) and message-triggers-fault (MTF) equivalent

From: <paul.downey@bt.com>
Date: Mon, 3 Nov 2003 11:53:19 -0000
Message-ID: <2B7789AAED12954AAD214AEAC13ACCEF0FFF1D0A@i2km02-ukbr.domain1.systemhost.net>
To: <sanjiva@watson.ibm.com>, <www-ws-desc@w3.org>
+1
IIUC:  FRM is one case of FRM, but MTF can't be expressed using the FRM  pattern.. 
 
Paul

	-----Original Message----- 
	From: Sanjiva Weerawarana [mailto:sanjiva@watson.ibm.com] 
	Sent: Sun 02/11/2003 10:07 
	To: www-ws-desc@w3.org 
	Cc: 
	Subject: are fault-replaces-message (FRM) and message-triggers-fault (MTF) equivalent
	
	


	We currently have two fault patterns:
	
	- FRM which can be used *after* the first message (since it doesn't
	  make sense to start a MEP with a fault :-))
	- MTF which can be associated with the first message even, but of
	  course the fault follows the message since its the occurrence
	  of the mesasage which triggers the fault.
	
	Now, can we not just stick to MTF? FRM seems like just a special
	case when the fault is associated with the first message but
	defined with MTF. 
	
	With FRM, we'd specify a simple in-out scenario with faults
	as follows:
	    <operation name='foo'>
	        <input messageReference='A' body='x:e1'/>
	        <output messageReference='B' body='x:e2'/>
	        <outfault messageReference='B' details='f:f1'/>
	        <outfault messageReference='B' details='f:f2'/>
	    </operation>
	
	If we switch the in-out to use MTF instead, this would look like
	this:
	    <operation name='foo'>
	        <input messageReference='A' body='x:e1'/>
	        <output messageReference='B' body='x:e2'/>
	        <outfault messageReference='A' details='f:f1'/>
	        <outfault messageReference='A' details='f:f2'/>
	    </operation>
	
	The only difference is the value of outfault/@messageReference.
	
	I can't think of a case where an FRM scenario couldn't be expressed
	using MTF thus.
	
	So, shall we drop FRM and stick to MTF??
	
	Sanjiva.
	
	

Received on Monday, 3 November 2003 06:56:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:27 GMT