
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
02/Aug/07 01:57 PM
|
|
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.
|
|
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. |
Show » |
|
Using the Woden API, reader objects should only be created via the newWSDLReader() method of the corresponding factory. Therefore, the access modifiers for these ctors have been changed to default (package private) to enforce the programming model.