测试网络服务
我想测试向我的客户公开的 Web 服务 (wsdl/soap/php)
。我已经用浏览器测试了它,效果很好,但是当我的客户测试它时,他们有 400 bad request 错误。(他们用soapui 测试)。我可以使用哪些工具来测试向我的客户公开的 Web 服务?我如何验证我的服务器 apache
对 http 调用的响应非常好?
感谢您的回答。
I would like to test my web services (wsdl/soap/php)
that is exposed to my clients. ihave test it with the browsers and it's good, but when my clients test it , they have the 400 bad request error.( they test with soapui). what are the tools that i can test my web services that it exposed to my clients ? How can i verify that my server apache
responds very good to http calls ?
Thanks for your answers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您处于集成场景中:您已经发布了一个接口,并且一些您无法控制的代码正在尝试使用它。
Web 服务,即使是简单的服务,连同全套 WS-* 功能也因微妙的互操作性问题而臭名昭著。这些尤其来自小版本偏差问题。
我在这里看到两个基本哲学,我有点言过其实,为了说明这一点:
不管怎样,我建议您需要编写自己的测试客户端,作为 Java 开发人员,我为此使用 JUnit。这让我进入上面的步骤 1。
You are in an integration scenario: you've published an interface and some code over which you have no control is trying to use it.
Web Services, even simple ones, let along the full panoply of WS-* capabilities are notorious for subtle interoperability problems. These especially come from small version skew issues.
I see two fundamental philosophies here, I'm rather over-stating, to make the point:
Either way I'd suggest you need to write test clients of your own, and as a Java developer I use JUnit for that. This get's me to step 1 above.