package com;
import java.io.IOException;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.params.HttpMethodParams;
public class TestMain {
public static void main(String[] args) throws IOException {
HttpClient hc = new HttpClient();
hc.getParams().setParameter(HttpMethodParams.HTTP_CONTENT_CHARSET, "utf-8");
PostMethod method = new PostMethod("http://192.168.1.56:7878/BJAZTWS/services/AZTService");
// method.addParameter("equMapping.equ",baseEquipmentBasic.getEquipmentCode());
method.addParameter("equMapping.vehicleNumber", "aa");
int status = hc.executeMethod(method);
System.out.println(status);
}
}