@SuppressWarnings("deprecation")
public WebServiceBinding load(XMLStreamReader reader, LoaderContext loaderContext)
throws XMLStreamException, ConfigurationLoadException {
WebServiceBinding binding = WS_FACTORY.createWebServiceBinding(wsdlRegistry);
binding.setURI(reader.getAttributeValue(null, "uri"));
binding.setPortURI(reader.getAttributeValue(null, "port"));
binding.setTypeHelper(registry.getContext().getTypeHelper());
binding.setResourceLoader(loaderContext.getResourceLoader());
binding.setBus(bus);
return binding;
}