我打电话在我的C#代码的Web服务。web服务的储存卡在PHP中,我打电话了 loadunload方法。如果WebService的返回我的服务器违反了协议。第= ResponseStatusLine”对于PHP Web服务
"The server committed a protocol violation. Section=ResponseStatusLine"
错误我调用在5到10秒钟的延迟服务 这里是我使用的调用服务的代码
private MyServiceMachine client = new MyServiceMachine();
client.loadunload();
Thanks in advance for help.
这里是错误时抛出我得到 异常详细信息:。
Message: The server committed a protocol violation. Section=ResponseStatusLine
Source: System.Web.Services
StackTrace: at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SPLocker.Core.lendingMachineService.lendingMachine.loadUnLoad(String MID, String TS, String RE, Object BS)
at SPLocker.Core.TransactionHelper.loadUnLoad(EnumLendingServiceMode mode, Int32[] BoxIDs, Boolean IsAllBOXes)
TargetSite: System.Net.WebResponse
+1
嗨,你有没有解决这个问题? –
2010-11-25 16:16:52