[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2412) WSDL schema imports do not published successfully
Alessio Soldano (JIRA)
jira-events at lists.jboss.org
Tue Dec 9 04:08:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBWS-2412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessio Soldano updated JBWS-2412:
----------------------------------
Fix Version/s: jbossws-native-3.0.6
> WSDL schema imports do not published successfully
> -------------------------------------------------
>
> Key: JBWS-2412
> URL: https://jira.jboss.org/jira/browse/JBWS-2412
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-native
> Affects Versions: jbossws-native-3.0.4
> Environment: OS: Windows Vista Business SP1
> Java: 1.5 build 16
> JBossWS: 3.0.4
> JBossAS: 4.2.3
> Reporter: Alvaro
> Fix For: jbossws-native-3.0.6
>
>
> When JBossWS is publishing the schema imports from a WSDL file and it tries to published an already published schema, the rest of schemas are not published.
> The bug is in the class WSDLFilePublisher, in the method publishSchemaImports. There's a piece of code that says:
> while (it.hasNext())
> {
> .......
> if (schemaLocation.startsWith("http://") == false)
> {
> // infinity loops prevention
> if (published.contains(schemaLocation))
> {
> return;
> }
> else
> {
> published.add(schemaLocation);
> }
> ....
> Obviously, if the published.contains(schemaLocation) condition is true, the return clause will finish the execution of the method before processing the remaining items in the while loop.
> If we replace the "return" with a "continue", everything works fine
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list