如何使用C#在OS X上使用WSDL文件 [英] How to consume WSDL files on OS X with C#

查看:70
本文介绍了如何使用C#在OS X上使用WSDL文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过某种方式将WSDL导入复制到OS X上任何可用的C#IDE中,就像Visual Studio for Win用户可以的那样:

Is there a way to somehow replicate WSDL import to any available C# IDE on OS X the way Visual Studio for Win users can:


如果没有,是否还有另一种使用公共Web服务(WSDL)的方法?


If no, is there another way to consume public webservice (WSDL)?

推荐答案

Hi Gabrielius,

Hi Gabrielius,

>>如果没有,还有其他使用公共Web服务(WSDL)的方法吗?

>> If no, is there another way to consume public webservice (WSDL)?

您是说要其他C#IDE的添加服务参考"功能吗?我认为这取决于此IDE是否提供此功能.

Do you mean you want "Add Service Reference" feature for other C# IDE? I think it depends on whether this IDE provide this feature.

关于消耗发布WSDL的另一种方法,我建议您尝试使用Cvc IDE独立的Svcutil.exe命令.

For another way to consume publish WSDL, I would suggest you try Svcutil.exe command which is C# IDE independent.

#ServiceModel元数据实用工具(Svcutil.exe)

# ServiceModel Metadata Utility Tool (Svcutil.exe)

https://docs.microsoft.com /en-us/dotnet/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe

最好的问候,

爱德华


这篇关于如何使用C#在OS X上使用WSDL文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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