Interface definition

I was reading through the WSDL 2.0 primer. I see a new
addition where the fault is defined outside the
operation but inside the interface for reusability.
This logic can be extended for other messages as well
( input and output). Quite frankly it seems redundant
to declare the fault again inside the
interface. Fundamentally faults are no different than
output messages. Only thing the service provider
with it when the normal processing doesnt happen. They
should be treated like output messages. Declaring the
message type ( in schemas/types) and using it in the
Operation should be good enough similar to the other messages.

Click here to donate to the Hurricane Katrina relief effort.

Received on Tuesday, 4 October 2005 09:22:10 UTC