带有SOAP标头的WSDL导入,以提供用户名和密码进行身份验证 [英] WSDL import with soap headers to provide username and password to authenticate

查看:891
本文介绍了带有SOAP标头的WSDL导入,以提供用户名和密码进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正试图通过将wsdl导入rest来通过天蓝色的api门户公开api.导入时,SOAP Header不会导入以提供用于身份验证的用户名和密码.任何人都可以向我指出正确的政策指导,说明如何添加肥皂标头 带有凭据.

We are trying to expose api through azure api portal by importing wsdl to rest. While importing SOAP Headers are not importing to provide username and password for authentication. Anyone can point me in right direction on policies how i can add soap header with credentials.

Siva

推荐答案

您只需要在

You would just have to add the headers required accordingly within the set-body policy using liquid templates.

此处是文档中的示例.


这篇关于带有SOAP标头的WSDL导入,以提供用户名和密码进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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