Tutorials Point


  UDDI Tutorial
  UDDI API References
  UDDI Resources
  Selected Reading

Copyright © 2014 by tutorialspoint



  Home     References     About TP     Advertising  

UDDI API - get_authToken

previous

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 will be returned to the caller within a SOAP Fault. The following error number information will be relevant:

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



previous Printer Friendly

Advertisements


  

Advertisements