" Message part element undefined in wsdl " error compiling B2B application JDeveloper 11.1.1.4.0 (Doc ID 1311327.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Application Server Integration B2B - Version: 11.1.1.3.0 and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.

Symptoms

You have a composite that uses B2B as a service and reference. Both interactions are using the same document type but different version. For example,  HL7 2.3 DFT_P03 on the service side and HL7 2.2 DFT_P03 on the reference side. 

The B2B Document Editor (Version 6.6.0.2819) was used to generate the document guidelines.

 
When attempting to build/compile the project in JDeveloper 11.1.1.4.0 the following error occurs:

[scac] Validating composite "/refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/composite.xml"

[scac] error: location {/ns:composite/ns:import[@location='file:/refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/MedsManager_DFT_in.wsdl']}: Load of wsdl "StarPC_CHI_out.wsdl with Message part element undefined in wsdl [file:/refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/MedsManager_DFT_in.wsdl] part name = body type = {http://www.edifecs.com/xdata/200}DFT_P03" failed

[scac] error: location {/ns:composite/ns:import[@location='file:/refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/StarPC_CHI_out.wsdl']}: Load of wsdl "StarPC_CHI_out.wsdl with Message part element undefined in wsdl [file:/refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/StarPC_CHI_out.wsdl] part name = body type = {http://www.edifecs.com/xdata/200}DFT_P03" failed

[scac] warning: in mdtrMedsManager_DFT_to_StarPC.mplan: Case "StarPC_CHI_out.send_2" doesnt have any payload transformation Please make sure source and target message part name are same and of same type. Otherwise, target reference may fail to execute with error message like "Input sourcelike Null" or "Part not found"

BUILD FAILED
/refresh/home/Oracle/Middleware/jdeveloper/bin/ant-sca-compile.xml:269: Java returned: 1 Check log file : /refresh/home/jdeveloper/mywork/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC/MedsManager_DFT_to_StarPC_Xlt/SCA-INF/classes/scac.log for errors

Total time: 39 seconds


The issue  doesn't reproduce if you use Oracle B2B Document Editor Version 6.6.0.2801

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