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 (5)

View Page History
h3. Get Operation

When the get operation is set on the incoming IN message, the component retrieve ONE file from the configured directory and return it as an XML message content.
\\

The name of the file to retrieve is set in the XML IN content of the message.
\\

The IN message looks like :
\\
{code:lang=xml}<?xml version="1.0" encoding="UTF-8"?>
<ver:get xmlns:ver="http://petals.ow2.org/components/filetransfer/version-3">
<ver:filename>file name to retrieve</ver:filename>
<!--Optional:-->
<ver:connection>
...
</ver:connection>
</ver:get>
{code}
The OUT message returned to the consumer is the content of the XML file
\\

The service might return a Fault when an element in the request is missing or if an IO error occurs
\\

The available exchange patterns is : *InOut*.

{info}Only xml file could be processed otherwise an error will be raised.{info}

h3. GetAsAttachement Operation

The service does not return a message.

The available exchange pattern is : *InOnly*.

h3. CheckFile Operation

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

h2. Configuration




|| Attribute || Description || Default value || Required ||
| server | IP or DNS name of the server | | {center}Yes{center} |