  String strAuth = DoAESEncrypt("userid:pwd");         String strContent = DoAESEncrypt("{\"Name\":Tester,\"Id\":\"000\",\"NickName\":null,\"IsLocked\":false}");            HttpClient client =  new DefaultHttpClient();                     HttpPost post = new HttpPost("https://domainname/servicename");           post.addHeader("auth",strAuth