[Nsi-wg] Propposal for hierarchical error codes
Henrik Thostrup Jensen
htj at nordu.net
Thu Mar 22 08:52:26 EDT 2012
On Thu, 22 Mar 2012, John MacAuley wrote:
> How about this definition. If we move the NSA Id into the main ServiceExceptionType then we
> can make the downStreamException element a simple assignment.
>
> <xsd:complexType name="ServiceExceptionType">
> <xsd:sequence>
> <xsd:element name="nsaId" type="tns:NsaIdType" />
> <xsd:element name="errorId" type="xsd:string" />
> <xsd:element name="text" type="xsd:string" />
> <xsd:element name="variables" type="saml:AttributeStatementType" minOccurs="0" />
> <xsd:element name="downStreamException" type="tns:ServiceExceptionType" minOccurs="0" maxOcc
> urs="unbounded" />
> </xsd:sequence>
> </xsd:complexType>
Works for me. The NsiId is redundant/uneeded for the top error and it is a
bit inelegant, but the the whole structure is simpler which is good.
Best regards, Henrik
Henrik Thostrup Jensen <htj at nordu.net>
Software Developer, NORDUnet
More information about the nsi-wg
mailing list