可以用ASP来调用PHP soap吗?

Mar*_*rch 2 php soap web-services asp-classic

我的客户有一个PHP Web服务,他们希望我使用它.它是基于PHP的,而我的网络是基于ASP的.

ASP代码如下所示:

Dim soapclient

WSDL_URL = "http://xxx.xxxx.xx/index.php?Action=service"

set soapclient = Server.CreateObject("MSSOAP.SoapClient30")

soapclient.ClientProperty("ServerHTTPRequest") = True
Run Code Online (Sandbox Code Playgroud)

在错误恢复下

soapclient.mssoapinit WSDL_URL'错误在这里

ASP能够调用基于PHP的soap服务吗?

要么

我应该调整什么?

非常感谢!

Mic*_*rdt 7

Web服务和SOAP的重点在于服务实现的语言以及运行的硬件和操作系统无关紧要.

要么Web服务中存在错误,要么(更有可能)您以错误的方式调用它.