通过 HTTPS 使用 ESB 动态发送端口用户名密码设置客户端凭据
我需要 POST 到一个hrl https://xxxxx.com,它需要用户名和密码基本身份验证
我们正在使用biztalk ESB动态发送端口
如何使用绑定配置或行为来配置它 或者我可以从 UDDI 设置它吗
I need to POST to a hrl https://xxxxx.com which expects a username and password BAsic authentication
We are using biztalk ESB dynamic send port
How do I configure this using binding configuration or behaviours
or can I set this from UDDI
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于 WCF 适配器,您可以在 ESB 端点配置中设置任何 WCF 适配器属性。
在你的情况下,它应该是这样的:
不过,以明文形式存储它们并不好。您可以改用 SSO:只需使用 UseSSO 和 AffiliateApplicationName。
您的问题也可以使用自定义端点行为来解决。您应该在 machine.config 中注册它以便从 ESB 使用。在行为上你应该有这样的东西:
For WCF adapter you can set any WCF adapter properties in ESB Endpoint Configuration.
In your case it should be something like this:
It's not good to store them in clear text though. You can use SSO instead: just use UseSSO and AffiliateApplicationName.
Your problem can be solved using custom endpoint behavior too. You should register it in machine.config to use from ESB. In behaviour you should have something like this: