如何从Azure Functions项目调用SOAP服务? [英] How to call SOAP service from Azure Functions project?

查看:111
本文介绍了如何从Azure Functions项目调用SOAP服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#创建了一个新的Azure Functions项目.我看不到添加连接服务"的任何选项,因此可以为要调用的SOAP API生成代理.如何使用Azure Functions做到这一点?

I created a new Azure Functions project with C#. I don't see any option to add a 'connected service' so I can generate a proxy for the SOAP API that I want to call. How do I do this with Azure Functions?

推荐答案

可以创建 Class Library 项目并添加代理(在解决方案资源管理器"中展开该项目>右键-单击Dependencies> Add Connected Service ).然后,将类库引用添加到Azure函数.此外,还可以将其直接添加到Azure Function项目.

It is possible to create a Class Library project and add the proxy (Expand the project in the Solution Explorer > Right-click Dependencies > Add Connected Service) to it. Then, add the Class Library reference to the Azure Function. In addition, it is also possible to add it directly to the Azure Function project.

以上说明和以下屏幕截图均基于Visual Studio 2017(版本15.7.2)企业版.

The instructions above and the following screenshot were based on Visual Studio 2017 (version 15.7.2) Enterprise Edition.

这篇关于如何从Azure Functions项目调用SOAP服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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