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.
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.
Vladimir, please look at this
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.
related issue http://www.netbeans.org/issues/show_bug.cgi?id=123950 duplicated?
Fixed
*** Issue 126819 has been marked as a duplicate of this issue. ***
*** Issue 123950 has been marked as a duplicate of this issue. ***
*** Issue 126406 has been marked as a duplicate of this issue. ***
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.