Avkash Chauhan's Blog

Windows Azure, Windows 8, Cloud Computing, Big Data and Hadoop: All together at one place.. One problem, One solution at One time...

Azure Storage Service Connection in Java

Azure Storage Service Connection in Java

  • Comments 1

While trying to connect Azure Storage Service using the REST API in Java it is possible you may get the following error:

 

“Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.”

 

Even when you have correct code, you might wonder around what is needed to get the “correct Authorization header” to work with the request. 

 

To solve this problem you can use JAzure, which is a Java library for Azure that uses the Restlet API.  The latest Restlet API has a plugin to add the Azure Authorization header to the request. Once you use RESTlet API you will be able to successfully connect Azure Storage Service using a few of the Azure REST APIs.

 

Leave a Comment
  • Please add 3 and 5 and type the answer here:
  • Post
  • Can you show us any simple example...

Page 1 of 1 (1 items)