如何传递soap标头的参数(用户名和密码) [英] how to pass paramter for soap header(User name and Password)

查看:513
本文介绍了如何传递soap标头的参数(用户名和密码)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过传递参数来调用一个Web服务。它表示此服务需要UserName和Password。我有一个用户名和密码。如何将这些参数发送到soap标头。我通过右键单击项目添加Web引用然后添加Web引用等。现在difficultiy面临的是如何调用服务以及安全头

I am Invoking one web service by passing parameter. It says UserName and Password is required for this Service. I have a username and pwd. how to send these parameter to soap header. I add web reference thorugh by right click the project then add web reference etc. Now the difficultiy am facing is how to invoke the service along with security header

推荐答案

您好ISpiders - Spider Iterface ;-),



对于你的问题,你可以参考link1 [ ^ ]和 link2 [ ^ ]。

这对你肯定有帮助。



问候,

RK
Hi ISpiders - Spider Iterface ;-),

For your question, you can refer link1 [^]and link2[^].
Which would definitely help you.

Regards,
RK

这篇关于如何传递soap标头的参数(用户名和密码)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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