通过 SoapUI 发送消息
我用soapUI在本地打开了我的wsdl文件(不使用我的本地主机url,而是直接从我的硬盘显示wsdl,使用本地主机url找不到模式..!)
无论如何,它已经加载了wsdl,我如何向我的通过soapUI提供网络服务? 我有消息要发送;
<holyrequest xsi:schemaLocation="http://www.mywebsite.com/xml/webservice Request.xsd"
xmlns="http://www.mywebsite.com/xml/webservice"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<state reached="false">
<value>Plan</value>
<myvariable>myplan</myvariable>
</state>
</holyrequest>
我找不到复制此消息并开始测试我的网络服务的地方
I opened my wsdl file locally with soapUI(not using my localhost url but directly showing the wsdl from my harddisc, using localhost url can not find schemas..!)
Anyway, it has loaded the wsdl, how can I send a message to my web service through soapUI?
I have the message to be send;
<holyrequest xsi:schemaLocation="http://www.mywebsite.com/xml/webservice Request.xsd"
xmlns="http://www.mywebsite.com/xml/webservice"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<state reached="false">
<value>Plan</value>
<myvariable>myplan</myvariable>
</state>
</holyrequest>
I couldnt find a place to copy this message and start testing my web service
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的 wsdl 已正确导入,您应该会看到所有操作。
如果展开要调用的操作,soap UI 会显示默认请求(通常称为“请求 1”)。如果双击该请求,它将显示由soapUI 为您的操作生成的空请求。
您可以在发送之前在左侧编辑请求。响应将显示在右侧。
If your wsdl is imported correctly, you should see all operations.
If you expand the operation you want to call, soap UI shows a default request (usually called "Request 1"). If you double-click that one, it will show an empty request generated by soapUI for your operation.
You can edit the request on the left before sending it. The response will be shown on the right.