gpt4 book ai didi

c# - 没有 Visual Studio 的引用 Web 服务

转载 作者:数据小太阳 更新时间:2023-10-29 08:06:05 24 4
gpt4 key购买 nike

我目前有一个不使用Visual Studio的项目,我们用ruby编译。我想使用远程 Web 服务,但我找不到任何人通过代码来实现它。我知道通过 Visual Studio 很容易,但是连接到 Web 服务的语法是什么?

最佳答案

您可以在命令行执行此操作,使用 wsdl.exe (网络引用),wsewsdl3.exe (WSE3 网络引用),或 svcutil.exe (WCF 服务引用)。这将使用 WSDL/MEX 并将您的代理层生成为 C# 类文件。

关于c# - 没有 Visual Studio 的引用 Web 服务,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5860907/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com