1
Vote

Fault Contract cannot use Enumeration

description

I have a fault contract for a set of "lookup by id" operations. I wanted this contract to distinguish between "id missing" and "duplicate id" exceptions, though the remainder of the fault contract is the same between the two cases. I added an Enumeration type and linked it to the Fault Contract shape.
 
This generates Fault Contract code treating the enumeration as being in the same namespace as the fault contract, when it is in the Data Contract namespace.

comments