Oracle Server E10293-02 Manual de usuario Pagina 63

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 108
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 62
OCMS Parlay X Presence Custom Error Codes
OCMS Parlay X Web Services 6-7
Interface: PresenceSupplier, Operation: getSubscribedAttributes
This operation returns only a single item of PresenceTypeAttribute.Activity. An
exception will be thrown if there is no existing subscription.
Code Example
PresenceAttributeType[] pat =
getSubscriberdAttributes("sip:watche[email protected].com");
Interface: PresenceSupplier, Operation: blockSubscription
This operation places a watcher into the block list.
Code Example
blockSubscription(new URI("sip:block[email protected]"));
OCMS Parlay X Presence Custom Error Codes
OCMS introduces two extensions to the Parlay X standard exceptions:
PresencePolicyException extends PolicyException, and
PresenceServiceException extends ServiceException
Table 6–4 and Table 6–5 describe the error codes and their associated error message.
Table 6–4 OCMS Parlay X Presence Custom Error Codes: PresencePolicyException
Error Code Error Message
OPOL0001 Watcher is on the block, polite-block or pending list.
Table 6–5 OCMS Parlay X Presence Custom Error Codes: PresenceServiceException
Error Code Error Message
PRES0001 Invalid result from XDMS server.
PRES0002 Invalid HTTP session data.
PRES0003 Invalid URI.
PRES0004 Peer unavailable.
PRES0005 Unknown host.
PRES0006 Service unavailable.
PRES0007 Internal error.
PRES0008 User unauthenticated.
Vista de pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 107 108

Comentarios a estos manuales

Sin comentarios