WebServiceBindingFactory wsFactory = new DefaultWebServiceBindingFactory();
WSDLFactory wsdlFactory = new DefaultWSDLFactory();
StAXArtifactProcessorExtensionPoint processors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
WSDLInterfaceIntrospector introspector = new DefaultWSDLInterfaceIntrospector(wsdlFactory);
WebServiceBindingProcessor processor =
new WebServiceBindingProcessor(assemblyFactory, policyFactory, wsFactory, wsdlFactory, introspector);
processors.addArtifactProcessor(processor);
ProviderFactoryExtensionPoint providerFactories = registry.getExtensionPoint(ProviderFactoryExtensionPoint.class);
ServletHost servletHost = registry.getExtensionPoint(ServletHost.class);
Axis2BindingProviderFactory providerFactory = new Axis2BindingProviderFactory(servletHost, messageFactory);