In a WSDL file, can the XPath of a response element be determined without invoking the service?

扶醉桌前 提交于 2019-12-11 07:36:52

问题


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?

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


回答1:


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!



来源:https://stackoverflow.com/questions/9512117/in-a-wsdl-file-can-the-xpath-of-a-response-element-be-determined-without-invoki

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!