[
https://issues.apache.org/jira/browse/WODEN-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511594
]
John Kaputin commented on WODEN-167:
------------------------------------
The ctors for BaseWSDLReader, DOMWSDLReader and OMWSDLReader have been changed
from no arg ctors to single arg ctors that take a WSDLFactory object. This is
stored in BaseWSDLReader. DOMWSDLFactory passes 'this' to the DOMWSDLReader
ctor and likewise for OMWSDLFactory and OMWSDLReader.
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.
> OMWSDLReader mismatch with DOMWSDLFactory
> -----------------------------------------
>
> Key: WODEN-167
> URL: https://issues.apache.org/jira/browse/WODEN-167
> Project: Woden
> Issue Type: Bug
> Components: Parser
> Reporter: John Kaputin
> Assignee: John Kaputin
> Fix For: M8
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]