ColdFusion 中 WSDL 的 XSD
如何从 ColdFusion 中生成的 WSDL 生成 XSD? 我不确定 XSD 对于创建 SOAP 存根有何用处,但有人需要它,所以我需要找到一种方法来生成它。 我尝试使用一些在线工具,但它说“内联定义”。
希望有人知道如何做到这一点。
How do you generate an XSD from the WSDL generated in ColdFusion? I'm not sure how the XSD is useful for creating a SOAP stub but someone needs it, so I need to find a way to generate one.
I tried using some online tools for this but it says "inline definitions".
Hopefully some one knows how to do this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不确定 WSDL 的 XSD 是否真的是您正在寻找的。 您在问题中指出,这样做的目的实际上是生成存根。 在这种情况下,有用的信息是一个 XSD,它描述了您的服务的参数和/或响应,但我无法告诉您如何自动生成。
根据客户端系统的平台,我建议您查看以下工具之一:
I'm not sure that the XSD of the WSDL is really what you're looking for. You stated in the question that the purpose of this is actually to generate stubs. The useful information in this case would be an XSD that describes the parameters and/or the response from your service, which I can't tell you how to generate automatically.
Depending on the client system's platform, I suggest that you check out one of these tools:
生成的 WSDL 文档包含 XSD 属性:(
以上内容来自 Adobe ColdFusion 8)
要查找相关 WSDL 的适当 XSD(如果 Adobe CF、Railo、OpenBD 或其版本之间存在差异),只需搜索“ xsd”位于 WSDL 内。
The generated WSDL document includes an XSD property:
(The above is from Adobe ColdFusion 8)
To find the appropriate XSD for the WSDL in question (in case it differs between Adobe CF, Railo, OpenBD, or versions thereof), just search for "xsd" inside the WSDL.