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.
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 >>>
Changed target milestone.