Description
WSDLReader impl classes should be used with the corresponding WSDLFactory subclass...OM to OM, DOM to DOM. If OMWSDLReader.getFactory() is called and no factory object or factory impl class name is stored in OMWSDLReader, the WSDLFactory.newInstance() default is to return a DOMWSDLFactory. The solution is to either set the correct factory impl class name on the OMWSDLReader object or better still, store the factory object that was used to instantiate the reader. The factory should pass a reference to itself to the reader object it creates.