public ServerTransport createServerTransport(EndpointReferenceType address)
throws WSDLException, IOException {
URL url = new URL(EndpointReferenceUtils.getAddress(address));
if ("pipe".equals(url.getProtocol())) {
return new PipeHTTPServerTransport(bus, address);
}
return new JettyHTTPServerTransport(bus, address);
}