如何调用webservice方法进行测试,例如从浏览器 [英] How to call a webservice method for testing, e.g. from a browser

查看:780
本文介绍了如何调用webservice方法进行测试,例如从浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个dll webservice(由Delphi制作),它有一个名为 List 的方法,它返回一个字符串列表(最大的)。

There is a dll webservice (made with Delphi) that has a method called List which returns a list of strings (widestring).

有没有任何方法来调用该服务,而不必编写客户端应用程序来消费它?

Is there any method for calling that service without having to write a client application for consuming it?.

例如: http://misitio.com:8080/miwebservice.dll?methodname=list

推荐答案

Chrome应用程式邮递员可以发送SOAP请求。您只需要提供Web服务URL,选择POST,设置适当的内容类型头(text / xml,application / soap + xml等),并在请求中提供适当的xml soap正文。点击发送。

The Chrome App Postman can send SOAP requests. You just need to provide the Web Service URL, select POST, set the proper content-type header (text/xml, application/soap+xml, etc.), and provide the proper xml soap body in the request. Click Send.

以下是向免费天气网络服务

这篇关于如何调用webservice方法进行测试,例如从浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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