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 97518 - Two BPs created unders two different BPEL projects with exact same name would conflict and fail
Summary: Two BPs created unders two different BPEL projects with exact same name would...
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nikita Krjukov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-09 00:06 UTC by Murali Pottlapelli
Modified: 2007-04-26 18:17 UTC (History)
1 user (show)

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 Murali Pottlapelli 2007-03-09 00:06:07 UTC
When targetNamespace is generated it uses BP file name but ignores project name 
so when I create BP say "myBP" under two projects it would be generated with 
exact same "process" element like below.
<process
    name="myBP"
    targetNamespace="http://enterprise.netbeans.org/bpel/myBP"
    xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
    xmlns:wsdlNS="http://enterprise.netbeans.org/bpel/myBP">

 So one of the projects would fail in deployment as Runtime uses BP target NS 
+  partner link as service name and there can not be two services with the same 
name.
Comment 1 Nikita Krjukov 2007-04-09 19:27:49 UTC
Now the name of the project is taken into account as well to generate the 
target namespace. 

I hope it will be reasonable solution although it doesn't guarantee uniqueness 
of the namespace. 
Comment 2 Oleg Barbashov 2007-04-26 18:17:11 UTC
Name of a project is taken into account now. The fix is confirmed.