我打電話在我的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
嗨,你有沒有解決這個問題? – hugri 2010-11-25 16:16:52