return new EndPoint(services, phpTypes);
}
@SuppressWarnings("unchecked")
public ServiceBuilder getServiceBuilder(Class<?> clazz) throws ToolException {
JaxwsServiceBuilder builder = new JaxwsServiceBuilder();
JAXBDataBinding dataBinding = new JAXBDataBinding();
dataBinding.setExtraClass(JaxbUtils.findExtraClasses(clazz));
builder.setDataBinding(dataBinding);
builder.setServiceClass(clazz);
builder.validate();
String soapNS = getSoapNS(clazz);
builder.setTransportId(soapNS);
builder.setBus(getBus());
builder.setBindingId(soapNS);
return builder;
}