[
https://issues.apache.org/jira/browse/TUSCANY-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Kurz updated TUSCANY-3384:
--------------------------------
Attachment: 3384.sk.patch
My idea on how to do this.
> XSDModelResolver only loads WSDL-inline types in interface.wsdl context;
> (also not threadsafe)
> -----------------------------------------------------------------------------------------------
>
> Key: TUSCANY-3384
> URL: https://issues.apache.org/jira/browse/TUSCANY-3384
> Project: Tuscany
> Issue Type: Improvement
> Components: Java SCA Java Implementation Extension
> Affects Versions: Java-SCA-1.5
> Reporter: Scott Kurz
> Priority: Minor
> Attachments: 3384.sk.patch
>
>
> I would like to improve the XSDModelResolver by allowing it to load XSD types
> that are defined inline in a WSDL file, even if they have not already been
> loaded by processing an <interface.wsdl> or <binding.ws>.
> On a separate note, I would like to introduce some locking into
> XSDModelResolver so that two threads can load from a given resolver at the
> same time (the XmlSchema schemaCollection.read() method will throw an
> exception if two threads read the same schema).
> I will attach a patch as soon as I can.. in the meantime I wanted to write
> that up in case anyone didn't agree with the idea.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.