← Prev in month ← Prev in thread

[provision] Results codes...

From
Jeff Bohren <>
Date
2003-03-07T13:55:29+00:00
ID
Thread
[provision] Results codes...
The current definition for results codes for an SPML request
is:

 

            <xsd:simpleType name="ResultCode">

                        <xsd:restriction base="xsd:string">

                                    <xsd:enumeration
value="urn:oasis:names:tc:SPML:1.0:core#success"/>

                                    <xsd:enumeration
value="urn:oasis:names:tc:SPML:1.0:core#failure"/>

                                    <xsd:enumeration
value="urn:oasis:names:tc:SPML:1.0:core#pending"/>

                        </xsd:restriction>

            </xsd:simpleType>

 

The failure enumeration is a catch all failure, but we
probably need more granular failure result codes. I would like to expand that
list to include:

 

malformedRequest

unsupportedOperation

unsupportedIdentifierType

noSuchIdentifier

 

 

Where these error codes mean the following

 

malformedRequest –
request is valid in terms for the SPML schema, but does not conform to
normative SPML specifications

 

unsupportedOperation –
request is made for an operation not supported by the SPML service

 

unsupportedIdentifierType – identifier
type is specified that is not supported by the SPML service

 

noSuchIdentifier –
request is made for an identifier that does not exist

 

 

 

Darran, could you add a motion for Mondays agenda to expand
the results types to include these four additional types?

 

 

 

 

 

 

 

Jeff Bohren

Product Architect

OpenNetwork Technologies, Inc
← Prev in month ← Prev in thread