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 100560 - Fail to deploy Composite App with Cross-Project XML reference
Summary: Fail to deploy Composite App with Cross-Project XML reference
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
: 100561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-11 07:33 UTC by _ hong_lin
Modified: 2007-04-26 19:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The sample projects (52.52 KB, application/x-compressed)
2007-04-11 07:37 UTC, _ hong_lin
Details
NB 6.0 070420 version of sample app (59.53 KB, application/x-compressed)
2007-04-23 02:09 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2007-04-11 07:33:13 UTC
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.
Comment 1 _ hong_lin 2007-04-11 07:34:17 UTC
*** Issue 100561 has been marked as a duplicate of this issue. ***
Comment 2 _ hong_lin 2007-04-11 07:37:17 UTC
Created attachment 40725 [details]
The sample projects
Comment 3 Vladimir Yaroslavskiy 2007-04-11 10:01:52 UTC
Please try to deploy with the latest build, please provide results.
Can you deploy SynchronousSample without modification (as is)?
Comment 4 _ hong_lin 2007-04-23 02:07:20 UTC
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.

Comment 5 _ hong_lin 2007-04-23 02:09:42 UTC
Created attachment 41413 [details]
NB 6.0 070420 version of sample app
Comment 6 Tientien Li 2007-04-23 20:42:45 UTC
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.
Comment 7 Vladimir Yaroslavskiy 2007-04-24 13:49:02 UTC
Samples should be regenerated.
Comment 8 Vladimir Yaroslavskiy 2007-04-25 09:32:05 UTC
fixed.
Comment 9 Oleg Barbashov 2007-04-26 18:52:20 UTC
Build 200704260000. Fix is confirmed.
Comment 10 Oleg Barbashov 2007-04-26 19:11:48 UTC
-