private Logger fLog;
 
        public JSONObject post(final String path, final byte[] data, final String contentType, final String username,
-                       final String password, final String protocolFlag) throws HttpException, JSONException {
+                       final String password, final String protocalFlag) throws HttpException, JSONException {
                if ((null != username && null != password)) {
                        WebTarget target=null;
                        Response response=null;
                        
 
                        // MultivaluedMap<String, Object> headersMap =
-                       // response.getHeaders();
                        // for(String key : headersMap.keySet()) {
                        String transactionid = response.getHeaderString("transactionid");
                        if (transactionid != null && !transactionid.equalsIgnoreCase("")) {