From: <tho...@jb...> - 2005-07-18 10:09:04
|
So what is the correct modeling of schema contained/referenced from wsdl/types? A) Map<String, List> schemaModels; B) Map<String, XSModel> schemaModels; C) XSModel schemaModel; Option (A) is what we currently have because it is a superset of (B) and (C) Your post suggests if I understand correctly that (B) is correct because each XSModel is associate with a single targetNS and a wsdl may contain/reference multiple schemas with different targetNSs Option (C) seems incorrect because of the above. In case (B) is correct, the WSDL11Reader should make sure that schemaModels is initialized correctly. Taking care of multiple contained/referenced schemas which in turn may contain/reference other schemas. An additional problem is the registry of schema temp file locations that are consumed by jbossxb. This registry is populated at parse time, which does not play well with dynamic schema generation with unconfigured clients. WSDLTypes should be refactored such that it contains the correct schema model that can be modified dynamically. The schema location registry should be removed from WSDLTypes - it should be a seperate entity that is controlled by WS endpoints/clients respectively. This is aiming towards D) Map<String, JBossXSModel> schemaModels; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885259#3885259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885259 |