使用身份验证使用WCF服务 [英] Consume WCF Service with authentication

查看:112
本文介绍了使用身份验证使用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我需要从BizTalk业务流程中使用WCF服务。

我已设法使用向导生成模式。

I have a requirement to consume WCF service from BizTalk orchestration.
I have managed to generate the schemas using the wizard.

Web服务公开了多种Web方法。每个Web方法都有一个名为token id的输入参数,它通过调用authenticate web方法获得。

The webservices exposes multiple web methods. Each web method has a input parameter called token id which is obtained by calling the authenticate web method.

我的问题是实现此目的的最佳方法是什么。

My question is what is the best way to achieve this.

每次我使用用户名和密码调用身份验证的web方法时都会这样.--
然后将令牌ID响应映射到后续的Web方法调用。

Like every time I call the authenticate webmethod with username and password??.
Then map the token id response to subsequent web method calls.

谢谢

推荐答案

是的,你是对的。

Yes you are right.

调用  使用用户名和密码验证webmethod,获取令牌ID。

然后映射令牌ID对后续Web方法调用的响应。


这篇关于使用身份验证使用WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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