Bom dia!
Tenho observado em nosso APM que chamadas a vários WS (.asmx) tem retornado a exceção abaixo quando chamados.
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Xml.Schema.XmlSchemaException:
The global attribute 'http://www.w3.org/XML/1998/namespace:lang' has already been declared. at System.Xml.Schema.XmlSchemaSet.InternalValidationCallback(Object sender, ValidationEventArgs e) at System.Xml.Schema.Compiler.Prepare(XmlSchema schema, Boolean cleanup)
at System.Xml.Schema.XmlSchemaSet.Compile() at System.Xml.Serialization.XmlSchemas.Compile(ValidationEventHandler handler, Boolean fullCompile) at System.Web.Services.Description.SchemaCompiler.Compile(XmlSchemas schemas) at System.Web.Services.Description.WebServicesInteroperability.AnalyzeDescription(ServiceDescriptionCollection
descriptions, BasicProfileViolationCollection violations) at System.Web.Services.Description.WebServicesInteroperability.CheckConformance(WsiProfiles claims, ServiceDescriptionCollection descriptions, BasicProfileViolationCollection violations) at ASP.defaultwsdlhelpgenerator_aspx.Page_Load(Object
sender, EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext
context) at ASP.defaultwsdlhelpgenerator_aspx.ProcessRequest(HttpContext context)
O erro ocorre em qualquer um dos 3 servidores nos quais o asmx está publicado. Não tenho ideia de por onde começar a analisar, pois aparentemente, não ocorre erro para os usuarios e não ocorre o erro em homologação.
Obrigado
Edson