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.
Build: Hula milestone build 8a. The composite app fail to be deployed with the following scenario. It is different with issue 98275 and issue 99478. In those two cases, composite app can be deployed. Steps to reproduce it: 1) Create SynchronousSample2 sample project in IDE. 2) Create a new Composite Application CompositeApp2 under SynchronousSample2 directory. 3) Create a new BPEL Module BpelModule2 under SynchronousSample2 directory. 4) Create a new XML Schema file newXmlSchema.xsd under BpelModule2. 5) Add a new simple type "newSimpleType (restricts :int)", use existing definition: built-in type "int", into newXmlSchema.xsd. 6) Set SynchronousSample2 BPEL Process reference to BpelModule2. 7) Open SynchronousSample.xsd in Schema Editor. Import "newXmlSchema.xsd" as its Referenced Schema. 8) Customize the existing element "typeA". Change its type from "String" to "newSimpleType (restricts :int)", which is defined at the Referenced Schema newXmlSchema under Simple Type. 9) Open SynchronousSample.bpel in BPEL Editor. Double-click Assign1 to open the bpel mapper. 10) In BPEL Mapper, drag "inputVar" in the left pane of Source tree pane to "outputVar" in the Destination pane (the right pane). 11) Save all changes. 12) Deploy CompositeApp2. Composite Application CompositeApp2 fail to be deployed. The sample project Synchronous2.zip will be attahced.
*** Issue 100561 has been marked as a duplicate of this issue. ***
Created attachment 40725 [details] The sample projects
Please try to deploy with the latest build, please provide results. Can you deploy SynchronousSample without modification (as is)?
With the latest build: NB 6.0 070420, please use the new steps to reproduce the issue: Steps to reproduce it: 1) Create SynchronousSample sample project in IDE. 2) Create a new BPEL Module BpelModule under SynchronousSample directory. 3) Create a new XML Schema file newXmlSchema.xsd under BpelModule. 4) Add a new simple type "newSimpleType (restricts :int)", use existing definition: built-in type "int", into newXmlSchema.xsd. 5) Set SynchronousSample BPEL Process reference to BpelModule. 6) Open SynchronousSample.xsd in Schema Editor. Import "newXmlSchema.xsd" as its Referenced Schema. 7) Customize the existing element "typeA". Change its type from "String" to "newSimpleType (restricts :int)", which is defined at the Referenced Schema newXmlSchema under Simple Type. 8) Open SynchronousSample.bpel in BPEL Editor. Double-click Assign1 to open the bpel mapper. 9) In BPEL Mapper, drag "inputType" under "inputVar" in the left pane of Source tree pane to "resultType" under "outputVar" in the Destination pane (the right pane). 10) Save all changes. 11) Deploy SynchronousSampleApplication. Composite Application SynchronousSampleApplication fail to be deployed.
Created attachment 41413 [details] NB 6.0 070420 version of sample app
The SynchronousSample bpel project generated SU jar does not include the newXmlSchem.xsd file from BpelModule project. This could be a problem with the bpel project or XML cross reference support. Reassign the ticket to the bpel project first.
Samples should be regenerated.
fixed.
Build 200704260000. Fix is confirmed.
-