Modularize MetaDataBuilder
--------------------------
Key: JBWS-1726
URL:
http://jira.jboss.com/jira/browse/JBWS-1726
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-jaxrpc, jbossws-jaxws
Reporter: Thomas Diesler
Fix For: jbossws-2.1.0
Especially, revisit 'toolMode'. Is that really needed? The return below is
questionable
// The server must always generate WSDL
if (generateWsdl || !toolMode)
processOrGenerateWSDL(seiClass, serviceMetaData, result.wsdlLocation,
sepMetaData);
// No need to process endpoint items if we are in tool mode
if (toolMode)
return sepMetaData;
// Sanity check: read the generated WSDL and initialize the schema model
// Note, this should no longer be needed, look into removing it
WSDLDefinitions wsdlDefinitions = serviceMetaData.getWsdlDefinitions();
JBossXSModel schemaModel =
WSDLUtils.getSchemaModel(wsdlDefinitions.getWsdlTypes());
serviceMetaData.getTypesMetaData().setSchemaModel(schemaModel);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira