search cancel

CA Gen 8.6 Call External wsdl import gives error "An item with the same key has already been added."


Article ID: 186640


Updated On:


Gen Gen - Workstation Toolset


CA Gen 8.6 Action Diagram function "Call External" for SOAP web service consumption shows this error on wsdl import: "An item with the same key has already been added.


The wsdl file being imported defines 2 complex types with the same name "ProgramInterface", one for the imports (element name="XYZOperation") and one for the exports (element name="XYZOperationResponse"). The current Gen wsdl parser is not able to handle this.


Release : 8.6 Complete 
Component : CA Gen Workstation Toolset


In the wsdl file rename the 2nd complex type to "ProgramInterface1" to allow the Call External function to parse the whole file without error.
The operation "XYZOperation" is then listed as available. After adding the operation you can then see parameters "XYZOperation.ProgramInterface*" in the import view matching and parameters "XYZOperationResponse.ProgramInterface1*" in the export view matching.

A new Gen 8.6 Toolset PTF has been released to resolve this problem: TSN86210/SO14150

Additional Information

CA GEN 8.6 > Developing > Designing > Using the Toolset > Working with Toolset > Use Action Diagram > Assignment Action Statements > Call External Statement in Action Diagram

CA Gen 8.6 Solutions & Patches