webservice调用异常,错误信息,缺少所需的空白区 这个问题怎么解决
当前的代码都正常执行,直到返回数据给使用webservice服务的项目时发生错误:
“/MarryAge”应用程序中的服务器错误。
分析 EntityName 时出错。 行 1,位置 74。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System。Xml。XmlException: 分析 EntityName 时出错。 行 1,位置 74。
源错误:
行 44: [System。Web。Services。Protocols。SoapDocumentMethodAtt...全部
当前的代码都正常执行,直到返回数据给使用webservice服务的项目时发生错误:
“/MarryAge”应用程序中的服务器错误。
分析 EntityName 时出错。 行 1,位置 74。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System。Xml。XmlException: 分析 EntityName 时出错。
行 1,位置 74。
源错误:
行 44: [System。Web。Services。Protocols。SoapDocumentMethodAttribute("http://tempuri。
org/LoginForOutSide", RequestNamespace="http://tempuri。org/", ResponseNamespace="http://tempuri。
org/", Use=System。Web。Services。Description。SoapBindingUse。Literal, ParameterStyle=System。Web。Services。
Protocols。SoapParameterStyle。Wrapped)]
行 45: public bool LoginForOutSide(int loginMode, string name, string pwd, bool Remenber, int day, string url, string validCode) {
行 46: object[] results = this。
Invoke("LoginForOutSide", new object[] {
行 47: loginMode,
行 48: name,
源文件: c:\WINDOWS\Microsoft。
NET\Framework\v2。0。50727\Temporary ASP。NET Files\marryage\d24cbf80\18462b3d\App_WebReferences。owsdvent。
1。cs 行: 46 。收起