My Oracle Support Banner

Command "createArtifacts" Does Not Link Custom Callout To The Source (Doc ID 2595068.1)

Last updated on OCTOBER 07, 2019

Applies to:

Oracle Managed File Transfer - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, MFT Runtime Server

Command createArtifacts('/u01/temp/exportdars4.xml', updateIfExists="true" )  does not associate source with the custom callout.

Steps:

=============

1. Create Source, Target and Transfer

2.At source add the action - UpdateHeader

3. Prerequiste for point 2
1. Create Custom Java Callout with the name UpdateHeader that implements
PreCalloutPlugin as per Oracle docs
2. Run crtCalls command to upload UpdateHeader to the MFT configuration

Jar attached ,

wlst.sh - Oracle/Middleware/Oracle_Home/oracle_common/common/bin/

Connect mft -connect('username','password','t3://host:port')

createCallouts('/refresh/home/Oracle/Middleware/Oracle_Home/UpdateHeader.xml')

exportArtifacts('/tmp/artifact1.xml','s','ta','t','',';')

createArtifacts("/tmp/artifact1.xml", updateIfExists="true" )

createArtifacts("/tmp/artifact1.xml", updateIfExists="true" )

********************Artifact Creation/Updation Success
Results********************

Type Name Success ID

SOURCE s SUCCESS
so_07673e8d-ed4e-4ebb-af6f-e5f1780a4c26
TARGET ta SUCCESS
tgt_9b9d5950-3539-476b-b021-79a6d2ce2dfa
TRANSFER t SUCCESS
xfer_a65cf681-89ae-48e7-9791-cd71af411a4a

------------------------------------------------------------------------------
----------------------------------------------------

********************Artifact Creation/Updation Failure
Results********************

Type Name Failure
ID

None
array(oracle.tip.mft.api.vo.impl.Result,[oracle.tip.mft.api.vo.impl.Result@661
66124, oracle.tip.mft.api.vo.impl.Result@1c247221,
oracle.tip.mft.api.vo.impl.Result@1132be06])

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.