WSDLFactory wsdlFactory = new DefaultWSDLFactory();
WSDLInterfaceIntrospector interfaceIntrospector = new DefaultWSDLInterfaceIntrospector(wsdlFactory);
// Register <interface.wsdl> processor
StAXArtifactProcessorExtensionPoint processors = registry.getExtensionPoint(StAXArtifactProcessorExtensionPoint.class);
processors.addArtifactProcessor(new WSDLInterfaceProcessor(wsdlFactory, interfaceIntrospector));
// Register .wsdl document processor
URLArtifactProcessorExtensionPoint documentProcessors = registry.getExtensionPoint(URLArtifactProcessorExtensionPoint.class);
documentProcessors.addArtifactProcessor(new WSDLDocumentProcessor(wsdlFactory, null));
}