Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: "The 'Operation' element is not declared" error occurs when you use the WCF-WebHTTP adapter and dynamic send ports in BizTalk Server


View products that this article applies to.

Symptoms

When you use the WCF-WebHttp adapter and dynamic send ports in Microsoft BizTalk Server to communicate to different endpoints, BizTalk Server is suspended and stops sending messages. Additionally, you may receive the following error message intermittently under load:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Invalid configuration for the HTTP Method, or the mapping from Operation to HTTP method and Url.

Parameter name: mapping ---> System.Xml.Schema.XmlSchemaValidationException: The 'Operation' element is not declared.

at Microsoft.BizTalk.Adapter.Wcf.Config.AdapterConfigValidationHelper.<ValidateHttpMethodUrlMapping>b__1(Object sender, ValidationEventArgs args)

at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(XmlSchemaValidationException e, XmlSeverityType severity)

at System.Xml.Schema.XmlSchemaValidator.SendValidationEvent(String code, String arg)

at System.Xml.Schema.XmlSchemaValidator.ThrowDeclNotFoundWarningOrError(Boolean declFound)

at System.Xml.Schema.XmlSchemaValidator.ValidateElement(String localName, String namespaceUri, XmlSchemaInfo schemaInfo, String xsiType, String xsiNil, String xsiSchemaLocation, String xsiNoNamespaceSchemaLocation)


Note You can successfully resume the suspended instance of BizTalk Server.

↑ Back to the top


Resolution

Cumulative update information

The fix that resolves this issue is included in the following cumulative updates for BizTalk Server:

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


Keywords: kbqfe, kbsurveynew, kbexpertiseinter, kbfix, kb

↑ Back to the top

Article Info
Article ID : 3079396
Revision : 1
Created on : 1/7/2017
Published on : 12/31/2015
Exists online : False
Views : 384