This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121258 - Create WSDL from Database needs to be at SOA level and not under SOA_SQL level
Summary: Create WSDL from Database needs to be at SOA level and not under SOA_SQL level
Status: RESOLVED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 09:33 UTC by Narayana Rallabandi
Modified: 2008-03-12 09:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Narayana Rallabandi 2007-11-06 09:33:42 UTC
I found that the file enterprise\sql\jdbcwizard\src\org\netbeans\modules\jdbcwizard\resources\layer.xml has changed the
project system properties for JDBC Wizard. Instead of appearing at the SOA level in previous builds now its showing up
only at the SOA_SQL or with the SQL Project only.

This file has been on 10/31/2007.

From :

<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
<filesystem>
    <folder name="Templates">
        <folder name="SOA">
            <file name="untitled.wsdl" url="untitled.wsdl">
                <attr name="template" boolvalue="true"/>
                <attr name="instantiatingIterator"
methodvalue="org.netbeans.modules.jdbcwizard.wizards.JDBCCollaborationWizard.newTemplateIterator"/>
                <attr name="templateWizardURL"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/template.html"/>
                <attr name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.jdbcwizard.resources.Bundle"/>
                <attr name="SystemFileSystem.icon"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/SourceTable.png"/>
                <attr name="templateCategory" stringvalue="SOA"/>
            </file>
        </folder>
    </folder>
</filesystem>

To:

<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.1//EN" "http://www.netbeans.org/dtds/filesystem-1_1.dtd">
<filesystem>
    <folder name="Templates">
         <folder name="SOA_SQL">
            <file name="untitled.wsdl" url="untitled.wsdl">
                <attr name="template" boolvalue="true"/>
                <attr name="instantiatingIterator"
methodvalue="org.netbeans.modules.jdbcwizard.wizards.JDBCCollaborationWizard.newTemplateIterator"/>
                <attr name="templateWizardURL"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/template.html"/>
                <attr name="SystemFileSystem.localizingBundle"
stringvalue="org.netbeans.modules.jdbcwizard.resources.Bundle"/>
                <attr name="SystemFileSystem.icon"
urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/SourceTable.png"/>
                <attr name="templateCategory" stringvalue="SOA_SQL"/>
            </file>
        </folder>
    </folder>
</filesystem>

Has there been approval for the same from the field? I feel that it should be in the previous way and jdbc wizard must
be available at SOA level itself. Now its not available for any BPEL process as it was previously and the user needs to
create the SQL Module project for utilizing the JDBC wizard.
Comment 1 Vladimir Yaroslavskiy 2007-11-06 10:14:14 UTC
Fix in Sierra:

Checking in Bundle.properties;
/cvs/enterprise/sql/jdbcwizard/src/org/netbeans/modules/jdbcwizard/resources/Bundle.properties,v  <--  Bundle.properties
new revision: 1.5.8.1.2.1; previous revision: 1.5.8.1
done
Checking in layer.xml;
/cvs/enterprise/sql/jdbcwizard/src/org/netbeans/modules/jdbcwizard/resources/layer.xml,v  <--  layer.xml
new revision: 1.4.8.1.2.1; previous revision: 1.4.8.1
done
Comment 2 Vladimir Yaroslavskiy 2007-11-06 10:18:56 UTC
Fix in trunk.
/cvs/enterprise/sql/jdbcwizard/src/org/netbeans/modules/jdbcwizard/resources/Bundle.properties,v  <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Checking in layer.xml;
/cvs/enterprise/sql/jdbcwizard/src/org/netbeans/modules/jdbcwizard/resources/layer.xml,v  <--  layer.xml
new revision: 1.7; previous revision: 1.6
done
Comment 3 Vladimir Yaroslavskiy 2007-11-06 10:20:59 UTC
Note that we don't have one category "SOA" for all SOA projects.
Each project has own category SOA_xxx with the same display name "SOA".
Comment 4 Ken Frank 2007-11-06 14:57:50 UTC
does it still mean that the choice for create wsdl from db will be
provided if the project is xslt project ?
(since I think that choice was either recently moved from being
a valid choice for bpel project and moved to being valid choice only for xslt project ?)

ken.frank@sun.com
Comment 5 Vladimir Yaroslavskiy 2007-11-08 08:19:41 UTC
diff:
enterprise\sql\jdbcwizard\src\org\netbeans\modules\jdbcwizard\resources\Bundle.properties
+ Templates/SOA_BPEL/untitled.wsdl=WSDL From Database...
Templates/SOA_SQL/untitled.wsdl=WSDL From Database...

enterprise\sql\jdbcwizard\src\org\netbeans\modules\jdbcwizard\resources\layer.xml
+ <folder name="SOA_BPEL">
+     <file name="untitled.wsdl" url="untitled.wsdl">
+         <attr name="template" boolvalue="true"/>
+         <attr name="instantiatingIterator"
methodvalue="org.netbeans.modules.jdbcwizard.wizards.JDBCCollaborationWizardnewTemplateIterator"/>
+         <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/template.html"/>
+         <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.jdbcwizard.resources.Bundle"/>
+         <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/jdbcwizard/resources/SourceTable.pn"/>
+         <attr name="templateCategory" stringvalue="SOA_BPEL"/>
+     </file>
+ </folder>
Comment 6 Vitaly Bychkov 2007-11-08 09:17:45 UTC
The fix looks ok for me.
Comment 7 Vladimir Yaroslavskiy 2007-11-08 11:05:53 UTC
narayanaa,

According to High Resistance rules (http://wiki.netbeans.org/wiki/view/NB6HighResistance),
see steps 7, 8, please verify this issue with trunk build and write comment in issuezilla.
Comment 8 Vladimir Yaroslavskiy 2007-11-12 10:55:51 UTC
There is no response from the reporter.
So, removing keyword 60_HR_FIX and will not fix in FCS.