简体   繁体   English

关于使用 PHP_soap 创建的 web 服务

[英]Regarding webservice created using PHP_soap

I have developed webservice using php_soap.我已经使用 php_soap 开发了 web 服务。 i am call the webservice and get perfect data.我打电话给网络服务并获得完美的数据。 But my client say it is not working with .net.但我的客户说它不适用于 .net。 How can i test that server is correct or not??我如何测试该服务器是否正确?

Use a client to check.使用客户端进行检查。 See this very good thread: https://stackoverflow.com/questions/578306/simple-free-soap-client Normally SOAP is abstract to any language so it should work.看到这个非常好的线程: https://stackoverflow.com/questions/578306/simple-free-soap-client通常 SOAP 对任何语言都是抽象的,所以它应该可以工作。

Test from your .NET client, look at the request/response and debug what your web service does with that request.从您的 .NET 客户端进行测试,查看请求/响应并调试您的 web 服务对该请求执行的操作。

Might help to use for instance XDEBUG to actually run your web service in an IDE, set breakpoints etc.可能有助于使用例如 XDEBUG 在 IDE 中实际运行您的 web 服务,设置断点等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM