Using the FTP Binding Component in a Project

Poll Request Wizard Properties

The table describes the various attributes.

Table 2 Poll Request

Attribute Name 

Description 

Message Repository 

The Message Repository path pointing to a directory on the remote FTP server where messages will be processed and archived. 

For more information, see Table 3.

For example, book_updates 

Message Name 

Message Name is the filename where a message is put into, usually in the form of a name pattern. Pattern is a string containing special characters preceded by a percentage sign. 

For more information, see Table 4.

  1. UUID %u, will be substituted by a UUID value compliant with Java 1.5 UUID.

  2. sequence number reference %0, %1, %2, %3, %4, %5, %6, %7, %8, %9, this symbol will be replaced by the current value of sequence number which is an integer count that increment after each reference.

    For example, inventory%d.xml

    %d — This symbol is an integer count that increments after each reference.

Message Name Prefix 

Prefix for outbound (OB) message name. 

Enable Overwrite Protect 

Indicate if overwrite protection is required for message send, when true, existing message will be moved to dedicated directory before the current message is put to the target, otherwise, current message overwrites existing message. The checkbox is selected, by default. 

Enable Staging When Put Message 

Indicate if staging is enabled for message transfer. The check box is selected, by default. 

Payload Processing 

  1. text: Text Data

    This radio button is selected, by default.

  2. xml: XML Data

    Click ellipses (...) to select an Element or Type.

  3. encoded data: Encoded Data

    Click ellipses (...) to select an Element or Type.

The table describes the various message repository directories.

Table 3 Message Repository Directories

Directory 

Description 

/inbox 

This is the default location where the consumer puts the request message and the provider polls for a request message. 

/instage 

This is the default location where the consumer stages a request message before it is completely uploaded. 

/inprotect 

This is the default location where consumer moves an existing request message so that it is not overwritten by current request message. 

/inarchive 

This is the default location where provider archives request message after it is processed. 

/outbox 

This is the default location where the provider puts a response message and the consumer polls for the response message. 

/outstage 

This is the default location where the provider stages the response message before it is completely uploaded. 

/outprotect 

This is the default location where provider moves an existing response message to so that it is not overwritten by current response message. 

/outarchive 

This is the default location where consumer archives response message after it is processed. 

The table describes the various Java Timestamp Patterns.

Table 4 Java Timestamp Patterns

Letter 

Data or Time Component 

Presentation 

Examples 

G  

Era designator 

Text 

AD 

Year 

Year 

1996; 96 

Month in year 

Month 

July; Jul; 07 

Week in year 

Number 

27 

Week in month 

Number 

Day in year 

Number 

189 

Day in month 

Number 

10 

Day of week in month 

Number 

Day in week 

Text 

Tuesday; Tue 

Am/pm marker 

Text 

PM 

Hour in day (0-23) 

Number 

Hour in day (1-24) 

Number 

24 

Hour in am/pm (0-11) 

Number 

Hour in am/pm (1-12) 

Number 

12 

Minute in hour 

Number 

30 

Second in minute 

Number 

55 

Millisecond 

Number 

978 

Time zone 

General time zone 

Pacific Standard Time; PST; GMT-08:00  

Time zone 

RFC 822 time zone 

-0800 

FTP MessageActivePassive Element (<ftp:messageActivePassive>)

The FTP Message Active/Passive element for the WSDL binding element functions the same as the FTP message element, but contains flags that allow you to set passive FTP messaging for both the consumer and the provider.

The Table lists the properties that enable passive FTP messaging for the FTP Message Active/Passive element.

Table 5 FTP MessageActivePassive Element

Attribute Name 

Description 

consumerUsePassive 

Specifies whether to use passive FTP on the consumer side. 

Default value: true

providerUsePassive 

Specifies whether to use passive FTP on the provider side. 

Default value: true