如何找出 Web 服务的 WSDL?
我觉得一定有一些非常简单的东西我在这里没有看到。我需要一个网页来与网络服务通信,为此我需要 WDSL ...但我不知道应该在哪里找到它。我可以完全访问 Web 服务器以及 Web 服务背后的所有代码。它在 IIS 上运行,我可以看到包含 Web 服务的文件夹。基本上,我需要做的就是:“$client = new SoapClient('http://location');”进入实际位置。有问题的网络服务(以及我正在使用的大部分内容)是由不再可以回答问题的其他人创建的。
I feel like there must be something really simple that I'm not seeing here. I need a web page to talk with a web service, and for that I need the WDSL ... but I have no idea where I'm supposed to find it. I have full access to the web server, and all the code that underlies the web service. This is running on IIS, and I can see the folder that contains the web service. Basically, what I need to do turn this: "$client = new SoapClient('http://location');" into an actual location. The web service in question (along with most of what I'm working with) was created by someone else who is no longer available to answer questions.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
假设它是用 C# 编写的,请尝试以下操作:
您应该检查 IIS 虚拟主机映射以查看绑定到哪个虚拟主机。
尝试找到源代码,以防万一您需要更改。
Supposing that is written in C#, try with the following:
You should check IIS virtualhost mappings to see to which virtualhost is bound.
Try to find the source code, just in case you'll need changes.
尝试添加
<代码>?WSDL
到网络服务位置
Try adding
?WSDL
to web service location