Authenticating with the BlackBerry Administration Service and initializing the web services

Before an application can make calls to the BlackBerry Web Services, the application must initialize the BWS and BWSUtil web services. First, the application must use the login information of an administrator account to authenticate with the BlackBerry Administration Service and authorize its use of the web services. When authentication completes, the initialization process starts.

When the BWS and BWSUtil web services are initialized, they accept subsequent API calls from the application. If authentication or initialization is not successful, the application throws an exception. The exception contains a simple text message property that your application can access for more information.



Was this information helpful? Send us your comments.