wm.tn.transport:secondarySftp
Delivers documents through SFTP. This service uses the delivery method information that is associated with the secondary SFTP delivery method from the receiving partner's profile. The delivery method information determines the SFTP user alias and the location to which the document must be delivered.
Input Parameters
bizdoc | Document The document you want to deliver. The document must be an instance of com.wm.app.tn.doc.BizDocEnvelope. |
retriesRemaining | String The number of retries remaining. The delivery engine passes this information into this server at every attempt of job delivery. |
Output Parameters
serviceOutput | status String The outcome of the delivery: success or fail. statusMessage String The status message from the last attempt to deliver the document. For example, the status message might be 221. transportTime String Total time (in milliseconds) it took to deliver the document. output Document The header and body that was returned from the FTP “put.” For the structure of output, see
wm.tn.rec:SftpOutput. |
Usage Notes
![*](chapterTOC_bullet.png)
The service throws an exception if the receiver identified to receive the document in
bizdoc is a local partner. And the local partner is a host of the network.
![*](chapterTOC_bullet.png)
This service performs a passive transfer.
![*](chapterTOC_bullet.png)
The file name of the delivered document is the internal document ID and the extension is either .xml if the content-type is text, xml, or
.bizdoc.