private Pizza getPort() {
URL wsdl = getClass().getResource("/pizza_service.wsdl");
assertNotNull("WSDL is null", wsdl);
PizzaService service = new PizzaService(wsdl, serviceName);
assertNotNull("Service is null ", service);
Pizza pizza = service.getPizzaPort();
((BindingProvider)pizza).getRequestContext()
.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
"http://localhost:" + port1 + "/" + getClass().getSimpleName()
+ "/pizza_service/services/PizzaService");
return pizza;