[英]Test Web services
I would like to test my web services (wsdl/soap/php)
that is exposed to my clients.我想测试向我的客户公开的 web 服务
(wsdl/soap/php)
。 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).我已经用浏览器测试了它,它很好,但是当我的客户测试它时,他们有 400 bad request 错误。(他们用soapui测试)。 what are the tools that i can test my web services that it exposed to my clients?
我可以测试向我的客户公开的 web 服务的工具有哪些? How can i verify that my server
apache
responds very good to http calls?我如何验证我的服务器
apache
对 http 调用的响应非常好?
Thanks for your answers.感谢您的回答。
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. Web 服务,即使是简单的服务,以及完整的 WS-* 功能都因微妙的互操作性问题而臭名昭著。 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.无论哪种方式,我都建议您需要编写自己的测试客户端,作为 Java 开发人员,我为此使用 JUnit。 This get's me to step 1 above.
这让我进入了上面的第 1 步。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.