【发布时间】:2010-01-14 10:50:09
【问题描述】:
如何在 c# 桌面应用程序中使用 php web 服务。我通过添加网络参考和代码来做到这一点
WebReference.TestWSDL pdl = new testingApp.WebReference.TestWSDL();
字符串复制 = pdl.verify("testing");
但它会引发错误
可能的 SOAP 版本不匹配:信封命名空间 http://schemas.xmlsoap.org/wsdl/ 出乎意料。期待http://schemas.xmlsoap.org/soap/envelope/。
【问题讨论】: