Customize Property Is Not Valid For Partnerlinkbinding (Doc ID 558167.1)

Last updated on NOVEMBER 19, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.3.0
This problem can occur on any platform.

Symptoms

On 10.1.3.3.0 in Production:
Changing a partnerLinkBinding property value, using the <customize> tag as detailed in the Oracle BPEL Process Manager Administration Overview webinar, actually works at runtime but gives an error when deploying via ant in JDeveloper.

ERROR
[customize] Property "output" is not valid for partnerLinkBinding

STEPS
The issue can be reproduced at will by making the following changes to BPEL sample
OpaqueWithHeaders:

1) First back up sample directory
$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders.

2) Added the following line just before the compile target in
$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/build.xml (assumes deploying to BPEL PM running on UNIX server):

<property name="DirectoryQA"
value="$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/Materials"/>

3) Modify the existing <bpelc> tag to add <customize> code to the compile target in
the same build.xml file:

<bpelc input="${process.dir}/bpel/bpel.xml"
out="${process.dir}/output"
rev="${rev}" home="${bpel.home}">

<customize inFile="${process.dir}/bpel/bpel.xml"
outFile="${process.dir}/bpel/bpel.xml">

<partnerLinkBinding name="OutboundPL">
<property name="output">${DirectoryQA}</property>
</partnerLinkBinding>
</customize>
</bpelc>

4) Create directory $ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/Materials.

5) Load the project in JDeveloper.

6) Deploy the project via ant -> deploy by right clicking on the build.xml file. This will set
$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/Materials as the new output directory.

If by chance the build.xml script fails with an error similar to the following, uncomment the
http.hostname and http.port parameters in build.properties and update them with correct values:

A problem occurred while establishing a connection to the BPEL Server.
Please make sure the server is running on host "localhost", port "9700".

7) Observe the project is successfully deployed but the following error occurs:

[customize] Property "output" is not valid for partnerLinkBinding

8) Place any file with .uue extension in directory
$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/inputDir and observe the file indeed is written to
$ORACLE_HOME/bpel/samples/tutorials/121.FileAdapter/OpaqueWithHeaders/Materials as expected.


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