المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : WCF receiving large XML



C# Programming
01-26-2013, 01:23 PM
hello, i have a service in WCF that wil recieve a alrge xml in response. here is my config


the answer from the server is


Server stack trace:
en System.ServiceModel.Channels.HttpInput.ThrowMaxReceivedMessageSizeExceeded()
en System.ServiceModel.Channels.HttpInput.GetMessageBuffer()
en System.ServiceModel.Channels.HttpInput.ReadBufferedMessage(Stream inputStream)
en System.ServiceModel.Channels.HttpInput.ParseIncomingMessage(HttpRequestMessage httpRequestMessage, Exception& requestException)
en System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply (TimeSpan timeout)
en System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
en System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
en System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
en System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
en System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
en System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
en IServicioCuenta.buscarCuenta(Auditoria auditoria, CriterioSeleccion criterio)
en ServicioCuentaClient.buscarCuenta(Auditoria auditoria, CriterioSeleccion criterio)