EndpointImpl endpoint = (EndpointImpl) Endpoint.publish(address, implementor);
server = endpoint.getServer();
}
public void testPizzaService() {
Pizza port = getPort();
OrderPizzaType req = new OrderPizzaType();
ToppingsListType t = new ToppingsListType();
t.getTopping().add("test");
req.setToppings(t);
CallerIDHeaderType header = new CallerIDHeaderType();
header.setName("Willem");
header.setPhoneNumber("108");
OrderPizzaResponseType res = port.orderPizza(req, header);
assertEquals(208, res.getMinutesUntilReady());
}