url =new URL(urlPost);
conn = (HttpURLConnection)url.openConnection();
conn.setRequestMethod("POST");
CreateQueueRequest createQueueRequest = new CreateQueueRequest("test");
Request<CreateQueueRequest> request = new CreateQueueRequestMarshaller().marshall(createQueueRequest);
//set parameters from url
String parameterString= urlString.substring(urlString.indexOf("?")+1);
String []parameterArray=parameterString.split("&");
Map <String, String> requestParameters=new HashMap<String, String>();
for(int i=0; i<parameterArray.length;i++){