English 中文(简体)
采用WSE2.0/Net 1.1网络服务,2008年
原标题:Consuming a secure WSE2.0 / .Net 1.1 WebService using .Net 3.5 and VS 2008

请指出这一问题上的任何错误。 我并不过分熟悉安全的网络服务或世界合作框架。

我需要使用WSE 2.0和Net 1.1的网络服务。

这项服务有两种方式。 An X509Certificate 以及 a Binary Security Token supplemented to the Header.

我有密码样本,说明如何使用2003年视频演播室和2.0号图像使用这一网络服务。

我的主要问题是,我是否应该试图利用“网络参考”或“服务参考”来消耗这一网络服务?

密码样本一使用Microsoft。 网络服务2。 我正在寻找能够让我发挥同样功能的等同级/方法。

即将取代的Im法的两个关键路线是:

webService.ClientCertificates.Add(X509Certificate.CreateFromFile(fileName));

以及

SoapContext context = webService.RequestSoapContext;
context.Security.Tokens.Add(binarySecurityToken);

Can anyone provide me some information as to which classes I should be looking at or any helpful articles that will help me underst以及 this further?

EDIT:除了这一点外,我正在努力寻找一种替代办法,即:

webService.RequestSoapContext;

然而,我发现,在创建安全标志方面有不同的替代类别/方法,但没有请求书SoapContext I知道在什么地方添加。

问题回答

如果你想利用世界收入基金为你的客户,你必须使用附加服务。 如果你只使用附加网络参考资料,就只能用于ASMX服务。 我猜测,2008年科索沃统计局的延长没有获得支持,因此,你可以从德国联邦调查局中设立世界统计学会的代理机构,但如果你安装这些工具,你将拥有一些指挥线工具,你仍然能够将这一工具用于美国统计局的3.5项目。

如果你需要讨论对社保服务具有约束力的等值的妇联,那么你必须提供更多信息——应该有一些组合(在编码或组合中)为社保服务制定某种政策。

也可以检查这两个条款:WCF <-> WSE 3.0 interoperatbility:;Migating WSE 3.0;





相关问题
Manually implementing high performance algorithms in .NET

As a learning experience I recently tried implementing Quicksort with 3 way partitioning in C#. Apart from needing to add an extra range check on the left/right variables before the recursive call, ...

Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How do I compare two decimals to 10 decimal places?

I m using decimal type (.net), and I want to see if two numbers are equal. But I only want to be accurate to 10 decimal places. For example take these three numbers. I want them all to be equal. 0....

Exception practices when creating a SynchronizationContext?

I m creating an STA version of the SynchronizationContext for use in Windows Workflow 4.0. I m wondering what to do about exceptions when Post-ing callbacks. The SynchronizationContext can be used ...

Show running instance in single instance application

I am building an application with C#. I managed to turn this into a single instance application by checking if the same process is already running. Process[] pname = Process.GetProcessesByName("...

How to combine DataTrigger and EventTrigger?

NOTE I have asked the related question (with an accepted answer): How to combine DataTrigger and Trigger? I think I need to combine an EventTrigger and a DataTrigger to achieve what I m after: when ...

热门标签