UDDI API - get_authToken



Description

The get_authToken API call is used to obtain an authentication token. Authentication tokens are opaque values that are required for all other publisher API calls. This API is provided for implementations that do not have some other method of obtaining an authentication token or certificate, or that choose to use user ID and password based authentication.

This function returns an authToken message that contains a valid authInfo element that can be used in subsequent calls to publisher API calls that require an authInfo value.

Version 2.0 Syntax

<get_authToken generic = "2.0" 
   xmlns = "urn:uddi-org:api_v2"
   userID = "someLoginName" 
   cred = "someCredential" />

Arguments

userID − This required attribute argument is the user identifier that an individual authorized user was assigned by an Operator Site.

cred: This required attribute argument is the password or credential that is associated with the user.

Error Returned

If any error occurs in processing this API call, a dispositionReport element is returned to the caller within a SOAP Fault. The following error number information is relevant −

E_unknownUser − It signifies that the Operator Site that received the request does not recognize the userID and/or cred argument values passed as valid credentials.

uddi_api_references.htm
Advertisements