PingService service = new PingService();
IPingService stub = service.getCustomBindingIPingService();
// use static stubs to override endpoint property of WSDL
String serviceURL = System.getProperty("service.url");
System.out.println("Service URL=" + serviceURL);
((BindingProvider)stub).getRequestContext().
put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, serviceURL);
stub.ping(new Holder("1"), new Holder("sun"), new Holder("Passed!"));