public void registerMessagingServiceCallback(String consumerKey, String consumerSecret, String callback)
throws Exception
{
HttpClient client = new HttpClient();
PostMethod method = new PostMethod(MessagingServiceCallbackRegistrationURL);
method.addRequestHeader(new Header("Authorization", "OpenId " + SubscriberOpenIdIdentifier));
method.addParameter("consumer_id", consumerKey);
method.addParameter("consumer_secret", consumerSecret);
method.addParameter("callback_uri", callback);
int status = client.executeMethod(method);
if (HttpResponseCodes.SC_OK != status) {