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 125519 - Changes in XSDs in project references do not auto-refresh in the BPEL mapper
Summary: Changes in XSDs in project references do not auto-refresh in the BPEL mapper
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Mapper (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P2 blocker (vote)
Assignee: Alexey Anjeleevich
URL:
Keywords:
: 123950 126406 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-17 20:33 UTC by lpolycarpou
Modified: 2008-10-13 01:08 UTC (History)
0 users

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 lpolycarpou 2008-01-17 20:33:50 UTC
When an XSD is updated (e.g. to include a new parameter in an element), it is not made available to the mapper
immediately.  Any refactorings should be visually synchronised as soon as the refactoring is done.  Instead the mapper
needs to refresh by reloading the BPEL process or clicking on source first.

To repro:

- create a SOA sample project, SynchronousSample
- create a new bpel project, BpelModule1
- add a project reference in BpelModule1 to SynchronousSample (the bpel project)
- create a new bpel in BpleModule1, newProcess.bpel
- add a wsdl import, and select SynchronousSample.wsdl from the SynchronousSample project
- drag the wsdl import from navigator to bpel input panel
- in the create new partner link dialog, select the [SynchronousSample]  SynchronousSample.wsdl ( not the local one)
- add input and output variables
- add receive and assign activities
- in assign mapper, map input paramA to output paramA
- save bpel and keep the mapper open

- now in SynchronousSample bpel project, open the SynchronousSample.xsd file
- in the design view, right click on paramA, and add a new String field
- the field does not automatically appear when going back to the bpel process which is in the open mapper.  We need to
force a refresh by clicking on the source and then going back to the mapper (via design first or you get an empty
screen!).  These changes should be visually synchronised as soon as the refactoring is done.
Comment 1 Sergey Lunegov 2008-01-18 10:06:49 UTC
Vladimir, please look at this
Comment 2 Vladimir Yaroslavskiy 2008-01-18 12:15:05 UTC
It is not refactoring functionality, it is mapper refresh issue:

It can be reproduced simpler:

1. Create SynchronousSample project
2. Open bpel, select the assign, go to the mapper
3. Open the xsd file, add
   <xsd:element name="paramB" type="xsd:string"/>
   to simpleProcess complex type
4. Go back to the mapper, it is not refreshed,
   doesn't show paramB

Nikita is working on this problem.

Comment 3 Vladimir Yaroslavskiy 2008-01-18 12:54:17 UTC
related issue http://www.netbeans.org/issues/show_bug.cgi?id=123950
duplicated?
Comment 4 Alexey Anjeleevich 2008-02-07 14:40:24 UTC
Fixed
Comment 5 Alexey Anjeleevich 2008-02-07 14:41:17 UTC
*** Issue 126819 has been marked as a duplicate of this issue. ***
Comment 6 Alexey Anjeleevich 2008-02-07 14:41:51 UTC
*** Issue 123950 has been marked as a duplicate of this issue. ***
Comment 7 Nikita Krjukov 2008-02-11 12:33:51 UTC
*** Issue 126406 has been marked as a duplicate of this issue. ***
Comment 8 ggenipudi 2008-10-13 01:08:10 UTC
Tested and verified using Build 200810080102 and followed the steps below:-
create a SOA sample project, SynchronousSample
- create a new bpel project, BpelModule1
- add a project reference in BpelModule1 to SynchronousSample (the bpel project)
- create a new bpel in BpleModule1, newProcess.bpel
- add a wsdl import, and select SynchronousSample.wsdl from the SynchronousSample project
- drag the wsdl import from navigator to bpel input panel
- in the create new partner link dialog, select the [SynchronousSample]  SynchronousSample.wsdl ( not the local one)
- add input and output variables
- add receive and assign activities
- in assign mapper, map input paramA to output paramA
- save bpel and keep the mapper open

- now in SynchronousSample bpel project, open the SynchronousSample.xsd file
- in the design view, right click on paramA, and addded a new String field
- the field appeared in the bpel mapper.