builder.setServerSide(true);
// [rfeng] Add a custom resolver to work around WSCOMMONS-228
builder.setCustomResolver(new URIResolverImpl(def));
builder.setBaseUri(def.getDocumentBaseURI());
// [rfeng]
AxisService axisService = builder.populateService();
String path = URI.create(wsBinding.getURI()).getPath();
String name = ( path.startsWith( "/") ? path.substring(1) : path );
axisService.setName(name);
String endpointURL = wsBinding.getURI();