Error "XSDException: Duplicated definition for: 'lang'" Compiling BPEL Composite in JDeveloper (Doc ID 1094093.1)

Last updated on NOVEMBER 08, 2013

Applies to:

Oracle(R) BPEL Process Manager - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 08-November-2013***

Symptoms

You are compiling a composite containing BPEL process in JDeveloper 11g and you are noticing this error
 

Error(24,39): Exception not handled by the Collaxa Cube system.
an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.lang.RuntimeException: oracle.fabric.common.wsdl.XSDException: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'lang' [Cause=Duplicated definition for: 'lang']
at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:371)
at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:352)
at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:221)
at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:324)
at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:201)
at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:386)
at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateCubeProcess(BPELComponentCompilationModel.java:123)
at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:234)
at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:144)
at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParser



and also you might notice the below error statement in the SOA-Log panel of the JDeveloper:

http://<hostname>:Port/soa-infra/services/default/<WsdlFileName>/client?XSD=xml.xsd<Line ##, Column ##>: XML-24509: (Error) Duplicated definition for: 'lang'

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms