OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

provision message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [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

 

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]