<uddi_get_authToken generic="1.0" xmlns="urn:uddi-org:api" userID="someLoginName" cred="someCredential"> </uddi_get_authToken>
The uddi_get_authToken message is used to obtain an authentication token. Authentication tokens are opaque values that are required for all other publisher API calls. This message is not required for UDDI-enabled servers that have an external mechanism defined for users to get an authentication token. 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 password-based authentication.
uddi_get_authToken returns an authToken message containing a valid authInfo element usable in subsequent calls requiring an authInfo value.
If an error occurs in processing this message, the server returns a dispositionReport structure in a SOAP Fault. The following error information will be relevant:
Error Code | Description |
---|---|
E_unknownUser | signifies that the UDDI-enabled server that received the request does not recognize the userID and/or password argument values passed as credentials |