是否必须使用 ?wsdl 访问 WSDL 定义? [英] Is it mandatory to have a WSDL definition accessible using ?wsdl?

查看:43
本文介绍了是否必须使用 ?wsdl 访问 WSDL 定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何标准规定 Web 服务应通过将 ?wsdl 附加到端点地址来提供 WSDL?

Is it mandated by any standard that a web service should provide a WSDL by appending ?wsdl to the endpoint address?

如果 WSDL 托管在不同的 URL 上是否可以(不附加 ?wsdl)?

Is it OK if the WSDL is hosted at a different URL (without appending ?wsdl)?

例如:

Endpoint: http://abc.xyz.com/MyService
WSDL:     http://abc.xyz.com/MyServiceDefinition.pqr

请注意,我什至为 WSDL 定义使用了不同的扩展.

Note that I'm even using a different extension for the WSDL definition.

使用这种方法是否违反任何标准,或者是否可以按照他们想要的方式托管内容?

Does using this approach violate any standards or one can host the thing the way they want?

推荐答案

不,它不是强制拥有 ?wsdl 访问权限,而是推荐的方式.值得注意的是,大多数客户端会尝试将?wsdl"附加到您的 URL 并尝试访问 WSDL 文件,因此强烈建议设置它.

No, Its not mandatory to have ?wsdl access, but its recommended way. Its worth noting that most clients will try to append "?wsdl" to your URL and will try to access WSDL file, Hence its highly recommended to setup it.

这篇关于是否必须使用 ?wsdl 访问 WSDL 定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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