如何在c#桌面应用程序中使用php web服务。我通过添加web引用和代码来实现这一点
WebReference.TestWSDL pdl = new testingApp.WebReference.TestWSDL();
字符串副本=pdl.验证(“测试”);
可能的SOAP版本不匹配:信封命名空间 http://schemas.xmlsoap.org/wsdl/ 这是出乎意料的。期望 http://schemas.xmlsoap.org/soap/envelope/ .