Biztalk 2016的动态SFTP [英] Dynamic SFTP for Biztalk 2016

查看:68
本文介绍了Biztalk 2016的动态SFTP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我正在尝试从Biztalk 2016的管道组件创建动态sftp。我需要知道在创建的上下文属性中使用的命名空间sftp连接。我将在代码之外和BizTalk之外配置基本端口,服务器,用户名,密码,目标,
和连接限制。这就是为什么我需要知道SFTP位置将在代码中使用的命名空间。

I am trying to create a dynamic sftp from pipeline component for Biztalk 2016. I need to know the namespace which is used in context properties for the creation of sftp connection. I will be configuring the basic port, server, username, password, destination, and connection limit outside of the code and outside of the BizTalk. That is why I need to know namespace that the SFTP location would be using inside the code.

推荐答案

1)这里的官方文件(请参阅链接#1 )不幸的是,它没有详细介绍如何将其用作动态发送端口。



它确实关注其他适配器的模式,所以你需要有


//设置基本属性 

MySndPrt(Microsoft.XLANGs.BaseTypes.Address)=" sftp://服务器[:端口] / FolderPath /" ;;

MySndPrt(Microsoft.XLANGs.BaseTypes.TransportType)=" SFTP"; 



//设置SFTP适配器特定属性 

Outmsg(SFTP.Username)=" user";

Msgmsg(SFTP.Password)=" xyz";




可用的属性是这里列出的属性如何配置SFTP发送端口



以下可用于设置运行时间的属性列表,



用户名

密码

PrivateKeyFile

PrivateKeyPassword

AccessAnyServerHostKey

SSHServerHostKeyFingerPrint

AppendIfExists

ClientAuthenticationMode

TargetFileName

ReceivedFileName

TemporaryFolder

ProxyAddress

ProxyUserName

ProxyPassword

ProxyPort

ProxyType

EncryptionCipher



不包括服务器,FolderPath& ;端口(当您在地址中设置它们)和
ConnectionLimit



您可能还需要查看配置处理程序用于发送动态发送端口动态发送端口处理程序是可配置的

1) Official documentation here (refer Link#1) Unfortunately it doesn't go into details about the using it as a dynamic send port.

It does follow the patterns of the other adapters, so you need to have

// Set base properties 
MySndPrt(Microsoft.XLANGs.BaseTypes.Address) = "sftp://Server[:Port]/FolderPath/";
MySndPrt(Microsoft.XLANGs.BaseTypes.TransportType) = "SFTP"; 

// Set the SFTP adapter specific properties 
Outmsg(SFTP.Username) = "user";
Msgmsg(SFTP.Password) = "xyz";


The properties available are those listed here How to Configure an SFTP Send Port

Below List of properties available to set run-time,

UserName
Password
PrivateKeyFile
PrivateKeyPassword
AccessAnyServerHostKey
SSHServerHostKeyFingerPrint
AppendIfExists
ClientAuthenticationMode
TargetFileName
ReceivedFileName
TemporaryFolder
ProxyAddress
ProxyUserName
ProxyPassword
ProxyPort
ProxyType
EncryptionCipher

excluding the Server, FolderPath & Port (as you set those in the address) and ConnectionLimit.

You might also need to look at configuring the handlers for your send Dynamic Send port Dynamic Send Port Handler is Configurable

2)另一种方法是使用BRE(参见链接#2 )来实现动态设置端点信息

2) The other way is to achieve using the BRE(refer Link#2), to dynamically set endpoint information

链接#1 http://msdn.microsoft.com/en-us/library/jj684551(v=bts.80)。 aspx



链接#2 https://social.technet.microsoft.com/wiki/contents/articles/21197.biztalk-server -2013-how-to-configure-sftp-send-port-动态.aspx

Link#1 http://msdn.microsoft.com/en-us/library/jj684551(v=bts.80).aspx

Link#2 https://social.technet.microsoft.com/wiki/contents/articles/21197.biztalk-server-2013-how-to-configure-sftp-send-port-dynamically.aspx

希望这个问题的答案。 HTH

Hope this answer to your query. HTH


这篇关于Biztalk 2016的动态SFTP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆