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 150811

Summary: An annoying thing happens when I add a part to a wsdl used in a bpel.
Product: soa Reporter: Murali Pottlapelli <mpottlapelli>
Component: RefactoringAssignee: Vladimir Yaroslavskiy <yaroslavskiy>
Status: RESOLVED FIXED    
Severity: blocker CC: mestad
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Murali Pottlapelli 2008-10-21 07:27:57 UTC
An annoying thing happens when I add a part to a wsdl used in a bpel.
If other parts from the wsdl are already in use in the bpel, they are
changed to the newly added part.

So

<copy>
   <from>$timeReservationsIn.part1/ns1:TripCode/ns1:SailingCode</from>
   <to>$timeReservationsOut.part1/ns2:Record[$ForEach1Counter]/ns2:TripNumber</to>
</copy>

is changed to

<copy>
   <from>$timeReservationsIn.DataSetId/ns1:TripCode/ns1:SailingCode</from>
   <to>$timeReservationsOut.part1/ns2:Record[$ForEach1Counter]/ns2:TripNumber</to>
</copy>

where $timeReservationsIn is from the changed wsdl and the name of the
new part is DataSetId.

An easy workaround is to save a backup of the bpel before adding the
new part, and then restore the correct bpel-file, but this seems like
a bug.
Comment 1 Sergey Lunegov 2008-10-21 09:10:35 UTC
Alexey, please look at this.
Comment 2 Alexey Yarmolenko 2008-10-21 12:21:27 UTC
Nikita, please take a look.
Comment 3 Vladimir Yaroslavskiy 2008-10-22 14:29:33 UTC
I'll fix it.