ITeye博客

c# soap client

maxer025 · 2017-02-15 13:21 · Web前端 · Markdown

open session: true Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Ti meoutException: The HTTP request to 'http://10.88.23.147:9000/' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The operation has timed out at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeS pan timeout) --- End of inner exception stack trace ---

Server stack trace: at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCall Message methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at : at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req Msg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at SoapClientConsoleApplication1.SpRc.SpRcPortType.WaitForCondition(Int32 Condition, Int32 TimeOut) at SoapClientConsoleApplication1.SpRc.SpRcPortTypeClient.WaitForCondition(Int 32 Condition, Int32 TimeOut) in c:\users\jhe2\documents\visual studio 2015\Projects\SoapClientConsoleApplication1\SoapClientConsoleApplication1\Service References\SpRc\Reference.cs:line 6240 at SoapClientConsoleApplication1.Program.Main(String args) in c:\users\jhe2\documents\visual studio 2015\ProjectsSoapClientConsoleApplication1\SoapClientC onsoleApplication1\Program.cs:line 35 Press any key to continue . . .

app.config

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。