service = asf.create(CustomXFireNamespaceProblemServiceImpl.class,
null,
getTestFile("src/wsdl/XFire582.wsdl").toURL(),
null);
Soap11Binding binding = new Soap11Binding(new QName("Soap"),
LocalTransport.BINDING_ID,
service);
service.addBinding(binding);
binding.setStyle(SoapConstants.STYLE_WRAPPED);
binding.setSerializer(AbstractSoapBinding.getSerializer(SoapConstants.STYLE_WRAPPED,
SoapConstants.USE_LITERAL));
Endpoint endpoint = new Endpoint(new QName("SoapEndpoint"),
binding,
"xfire.local://XFireNamespaceProblemService");
service.addEndpoint(endpoint);
getServiceRegistry().register(service);