Petals-BC-Filetransfer 3.x

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (15)

View Page History
The available exchange pattern is : *InOut*.

h3. Del Operation

When the del operation is set on the incoming IN message, the component deletes the remote file. The IN message looks like :
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:del xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
<ver:filename>?</ver:filename>
</ver:del>
{code}
The service does not return a message.

The available exchange pattern is : *InOnly*.

h3. CheckFile Operation

The available exchange pattern is : *InOut*.

h2. Configuration
h3. Del Operation

{include:0 CDK SU Provide Configuration}
{center}{*}Service Unit attributes to provide services{*}{center}
When the del operation is set on the incoming IN message, the component deletes the remote file. The IN message looks like :
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:del xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
<ver:filename>?</ver:filename>
</ver:del>
{code}
The service does not return a message.

{table-plus}
The available exchange pattern is : *InOnly*.

h3. Dir Operation

When the dir operation is set on the incoming IN message, the component returns the file names listed from the configured directory.
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<ver:dir xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3" />
{code}

The OUT message returned to the consumer looks like&nbsp;:
{code:lang=xml}
<?xml version="1.0" encoding="UTF-8"?>
<tns:dirResponse xmlns:tns="http://petals.ow2.org/components/filetransfer/version-3">
<tns:filename>file.xml</tns:filename>
<tns:filename>file1.xml</tns:filename>
<tns:filename>file2.xml</tns:filename>
</tns:dirResponse>
{code}

The service might return an ioFault.
The available exchange pattern is : *InOut*.

h2. Configuration

{include:0 CDK SU Provide Configuration}
{center}{*}Service Unit attributes to provide services{*}{center}

{table-plus}




|| Attribute || Description || Default value || Required ||
| filename \\ | The name of the file where the JBI message (the XML content) will be written in. \\