# -----------------------------------------------------------------------------
# ftp.properties.sample
#
# Client-side "properties" file, used with b2bpo application that publishes
# data to a Post office. As xplained in 
# docs for class=com.borneo.po.event.FileTopicType, the command-line is 
# where these key, values can be over-ridden at runtime. 
# 
# $Id: ftp.properties,v 1.1.2.1 2003/08/31 17:48:23 rowntreerob Exp $
# -----------------------------------------------------------------------------

# ------   Set WSDL variables and choose option for WS invoke type   ----------

#NOTE the client SOAPConn impl class=org.apache.axis.soap.SOAPConnectionImpl
# api docs for the class setting up the SOAP calls at:
# http://ftppostoffice.sourceforge.net/po_1_2/src/com/borneo/net/soap/SAAJCallMgr.java.html
#
#  This impl uses a URL endpoint as a parm when "calling a connection to PostOffice"
#  ValueOf URL endpoint is concat of 3 parms:
#       ( host + axis.webapp + port.name )
wsdl.service.addr.host=http://localhost:80
#wsdl.service.addr.host=http://localhost:3555
wsdl.service.addr.axis.webapp=axis/services
wsdl.service.addr.port.name=urn:EchoAttachmentsService
# What method is to be called on the server
#soap.rpc.methodname.attachment=echoDir
soap.rpc.methodname.attachment=postFile
# Axis/SOAP allows number of invocation types
# 3 options for invocation are implemented in java cls=SAAJCallMgr 
# parm below picks the invocation option
#ws.invocation.typ=soapconnection
#ws.invocation.typ=soaparrayofdhattach
#ws.invocation.typ=diiservice
ws.invocation.typ=soapconnparms

# ---   Set attribute values that describe what data is "published"   ---------
# 6 "data" elements below describing source data to be published in interface
# They correspond to XML elements in the Channel Data Command, constructed
# so that the command can be routed to a "dispatcher" that does actual work
# moving files. XPATH expression below is locater for the node in the command
# where to find the values that came from properties.
#  ref xpath : network_file_exchange/exchangeSession/items/fileAssociation/source
#  sampleValue for Property below:
#      lastfile=2003-07-28T20:19:16.646-08:00  where "-08:00 is PST
# NOTE: use ( filename OR regex ) do --NOT-- use both
# what is filename that you want to publish
# what is the directory where the file is located 
#   for relative path to the directory , start the path name with "/"
#   otherwise use absolute path expression
# "regex" property is for Collections of files and for describing a fileName pattern 
#    that will be used to search the directory for a collection of files to publish
data.source.filename=
data.source.sourcedirectory=
data.source.regex=
data.source.lastfile=
data.topic.name=mytest
data.topic.action=publish

# ------   Variables for default Renaming Policy for this client   ------------
# Note: this will use 15 bytes of the Axis/HTTP session ID in any persisted,
#       fileSys based state info regarding the session.
# Refer to: http://ftppostoffice.sourceforge.net/#REN 
rename.session.id.disp.from=0
rename.session.id.disp.to=15
