Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | IS Document Types | Summary of Elements in this Folder | wm.tn.rec:Delivery
 
wm.tn.rec:Delivery
A delivery method that Trading Networks uses to deliver documents to a partner in the trading network, for example, the host name, port number, and URL Trading Networks uses to deliver a document through HTTP.
Variables
PartnerID
String An internal identifier of a partner in the trading network.
Protocol
String The communications protocol to use. Its value can be one of the following:
*ftp
*ftps
*http
*https
*smtp
*<name of the delivery method that you create>
The values ftp, ftps, http, https, and smtp are valid only for Primary and Secondary built-in immediate delivery methods.
PrimaryAddr
Object Whether the delivery method is associated with the primary or secondary address, for example, Primary HTTP or Secondary HTTP. The data type of the variable is com.wm.data.MBoolean; its value can be one of the following:
*1 - Primary address
*0 - Not a Primary address (Secondary)
Note:
These values are valid only for the default registered services such as wm.tn.transport:primaryHttp.
Host
String The host name (for example "yourcompany.com"). If Protocol is smtp (e-mail), Host is ignored.
Port
String The port number of the communications port. If Protocol is smtp (e-mail), Port is ignored.
Location
String The location to which to deliver the document. For the following protocol values, the location is:
*ftp or ftps - The directory to which to put the document.
*http or https - The URL to which to send the document.
*smtp - The email address to which to send the document.
Username
String The default user name for a delivery method.
Password
String The default password for a delivery method.
CustomData
Object The user-defined custom data for the delivery method. CustomData holds additional data for custom delivery mechanisms. The data type of the variable is byte[].
DestinationID
String An internal identifier of the delivery method.
B2BService
The name of the custom delivery service.
B2BInterface
The fully qualified name of the custom delivery service folder.