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 136968 - Multiple imports with same namespace in auto-generated compapp wsdl
Summary: Multiple imports with same namespace in auto-generated compapp wsdl
Status: NEW
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 01:47 UTC by Jun Qian
Modified: 2008-10-14 00:56 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 Jun Qian 2008-06-11 01:47:39 UTC
learnopenesb wrote:
> Well, we are only consuming the WSDLs provided by the partner. The problem is
> when the CASA wsdl gets generated with two import statements (as in my
> original post). 
>
> So, the question is how to get around this issue as the CASA wsdl gets
> generated automatically.
>
> I have attached my projects (bpel module and the corresponding CA) for you
> reference.
>
> Thanks
> NP http://www.nabble.com/file/p17742402/RespondingGatewayBpelModuleCA.zip
> RespondingGatewayBpelModuleCA.zip 
> http://www.nabble.com/file/p17742402/RespondingGatewayBpelModule.zip
> RespondingGatewayBpelModule.zip 
>
>
> Kiran Bhumana-2 wrote:
>> Ideally, since they are exactly equal, if the tool ignores them instead 
>> of complaining, users will be happy. Better yet warn the users and not 
>> throw errors. Perhaps file a bug against CASA.
>> Since you are asking for workaround, Is there really a reason for you to 
>> have such duplicate imports?
>>
>> thanks,
>> Kiran B.
>>
>> learnopenesb wrote:
>>> HI,
>>>
>>> I have a bpel module that has 2 WSDLs (partnerlinks) which have same
>>> namespace. The bpel module builds OK but the CA complains with the
>>> following
>>> error
>>>
>>> ERROR: Duplicate key value [urn:ihe:iti:xds-b:2007] declared for identity
>>> constraint of element "definitions"
>>>
>>> My CA has the following two imports
>>>     <import namespace="urn:ihe:iti:xds-b:2007"
>>> location="../jbiServiceUnits/RespondingGatewayBpelModule/contractInternalRegRepo/XDS.b_DocumentRegistry.wsdl"/>
>>>     <import namespace="urn:ihe:iti:xds-b:2007"
>>> location="../jbiServiceUnits/RespondingGatewayBpelModule/contractInternalRegRepo/XDS.b_DocumentRepository.wsdl"/>
>>>
>>> I believe that the WSDL 1.1 specification does not allow multiple imports
>>> with the same value for the namespace attribute. So what is the
>>> workaround?
>>>
>>> Thanks
>>> NP
>>>
Comment 1 Sergey Lunegov 2008-10-01 14:09:55 UTC
Changed target milestone.