BizTalk 2013 R2: Error in Dynamic send port

 Hi,

We are getting a exception from dynamic send port - 

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)

For a brief overview - 

1) We are calling a CRM 2011 REST service and using Web-Http adapter along with dynamic send port.

2) HttpMethodAndUrl is dynamically set from Orch.

3) Operation - OperationUpdate is promoted and available in context.

The interesting part of this issue is that if i resume the suspended instance in dynamic send port it's getting executed successfully in next attempt. Please let me know if there is any known issue in dynamic send port or something missed in coding.


  • Edited by SarkaSou 16 hours 13 minutes ago
May 28th, 2015 9:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics