公开使用Web服务(.asmx),WCF和Web API构建的三个服务 [英] Expose three services built using web services(.asmx), WCF and web API

查看:64
本文介绍了公开使用Web服务(.asmx),WCF和Web API构建的三个服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有三个独立的IIS托管服务,使用.asmx,WCF和Web API构建;如何向客户公开使用这些服务的信息。



我尝试过:



我发现在这里我将不得不处理WSDL和代理类,但我无法连接这些东西。如何让客户端使用这些服务。

Suppose I have three separate IIS hosted Services built using .asmx, WCF and Web API; how can I expose the information to my clients for using the services.

What I have tried:

I found that here I will have to deal with WSDL and proxy classes, but I am unable to connect these things. How can I enable the clients to use the services.

推荐答案

你所要做的就是给他们一个URI。在那之后,他们全部消耗它们。
All you have to do is is give them the URI. After that, it's all on them to consume them.


这篇关于公开使用Web服务(.asmx),WCF和Web API构建的三个服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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