// Use below line for Talend ESB deployment of web service provider
String endpointAddress = "http://localhost:8040/services/doubleit";
// Use below instead for servlet deployment
// String endpointAddress = "http://localhost:8080/doubleit/services/doubleit";
Service service = Service.create(new URL(endpointAddress +"?wsdl"), SERVICE_NAME);
DoubleItPortType port = service.getPort(DoubleItPortType.class);
doubleIt(port, 10);
doubleIt(port, 0);
doubleIt(port, -10);
}