如何从网络服务的 URL 获取 wsdl 文件 [英] How to get the wsdl file from a webservice's URL

查看:25
本文介绍了如何从网络服务的 URL 获取 wsdl 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获取网络服务的 WSDL 文件,我唯一拥有的是它的 URL(如 webservice.example/foo).

I want to get the WSDL file for a webservice and the only thing I have is its URL (like webservice.example/foo).

如果我直接使用 URL,只会传递错误响应.

If I use the URL directly only an error response is delivered.

推荐答案

通过在 URL 后缀 ?WSDL

By postfixing the URL with ?WSDL

如果 URL 是例如:

If the URL is for example:

http://webservice.example:1234/foo

您使用:

http://webservice.example:1234/foo?WSDL

wsdl 将被交付.

这篇关于如何从网络服务的 URL 获取 wsdl 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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