************** Exception Text **************System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'GetFilingTreeXML'. ---> system.invalIDOperationException: There is an error in XML document (1,9201). ---> System.Xml.XmlException: The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. line 1,@R_502_4612@ 9201.at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader,String res,String arg1,String arg2,String arg3)at System.Xml.XmlExceptionHelper.ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader,Int32 maxStringContentLength)at System.Xml.XmlDictionaryReader.ReadString(Int32 maxStringContentLength)at System.Xml.XmlDictionaryReader.ReadString()at System.Xml.XmlBaseReader.ReadElementString()at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderImageServerClIEntInterfaceSoap.Read10_GetFilingTreeXMLResponse()at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer9.Deserialize(XmlSerializationReader reader)at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,String enCodingStyle,XmlDeserializationEvents events)--- End of inner exception stack trace ---at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,XmlDeserializationEvents events)at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader,String enCodingStyle)at System.ServiceModel.dispatcher.XmlSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader,MessageVersion version,XmlSerializer serializer,MessagePartDescription returnPart,MessagePartDescriptionCollection bodyParts,Object[] parameters,Boolean isRequest)--- End of inner exception stack trace ---
我做了一个搜索,结果如下:
Search Results
其中大部分是与周转基金相关的,但足以指出我的方向正确.我会把回复作为回复.
解决方法 尝试此博文 here.您可以修改Binding配置中的MaxStringContentLength属性. 总结以上是内存溢出为你收集整理的Web服务 – 错误序列化WebService调用中的字符串全部内容,希望文章能够帮你解决Web服务 – 错误序列化WebService调用中的字符串所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)