在 WSDL 文件中,是否可以在不调用服务的情况下确定响应元素的 XPath? [英] In a WSDL file, can the XPath of a response element be determined without invoking the service?

查看:30
本文介绍了在 WSDL 文件中,是否可以在不调用服务的情况下确定响应元素的 XPath?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 WSDL 文件中,是否可以在不调用服务的情况下确定响应元素的 XPath?我的意思是仅通过查看 wsdl 内容可以吗?

In a WSDL file, can the XPath of a response element be determined without invoking the service? I mean just by looking at the wsdl content is it possible?

如果是这样,有哪些工具可以轻松做到这一点.这可以使用 SOAP UI 完成吗?

If so what tools are there which makes it easy to do this. Can this be done using SOAP UI?

推荐答案

好的.使用 SoapUI 使用 WSDL,创建一个带有示例响应的 MockService,通常使用 ?对于标签中的值.将光标放在其中之一上.请求下方是一个多选项卡状态窗口.单击 XML 选项卡,这将显示光标所在元素的 XPath.瞧!

Sure. Consume the WSDL with SoapUI, create a MockService with sample responses, usually with ? for the values in the tags. Position your cursor on one of those. Below the request is a multi-tab status window. Click the XML tab, and that will reveal the XPath to the element that the cursor is on. Voila!

这篇关于在 WSDL 文件中,是否可以在不调用服务的情况下确定响应元素的 XPath?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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