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.
C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/bpelProxy.bpel:2,0 Invalid error - when there is duplicate message definition in two WSDLs. Project is attached ERROR: Documents imported in the process contain conflicting definition of the component "EchoOperationRequest": C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/ProxyWSDL.wsdl:11: 4 C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/EchoService.wsdl:25: 4 C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/bpelProxy.bpel:2,0 ERROR: Documents imported in the process contain conflicting definition of the component "EchoOperationResponse": C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/ProxyWSDL.wsdl:14: 4 C:/Documents and Settings/mpottlapelli/My Documents/NetBeansProjects/WSO2/bpelWS02Proxy/src/EchoService.wsdl:28: 4 2 Error(s), 3 Warning(s).
Created attachment 64912 [details] project to reproduce the issue
Behaviour is correct. See issue 86958 - static rule SA00014: "A WS-BPEL process definition MUST be rejected if the imported documents contain conflicting definitions of a component used by the importing process definition (as could be caused, for example, when the XSD redefinition mechanism is used)". EchoService.wsdl contains <message name="EchoOperationRequest"> <part name="buyStocks" element="tns:buyStocks"/> </message> while ProxyWSDL.wsdl contains <message name="EchoOperationRequest"> <part name="parameters" element="tns:buyStocks"/> </message> there is the conflict in the part name: buyStocks and parameters, so validation error occurs.