WCF Web-hht sendport

Hi all,

I am consuming a webservice in biztalk with wcf- webhttp sendport and getting following error while configureing btshttpurlmapping action. with variable { },

My BtsHttpUrlMapping Action is as follow

<BtsHttpUrlMapping>
<Operation Name="C" Method="POST" Url="/rd/{ID}" />
</BtsHttpUrlMapping>

please help me to solve this

Log Name:      Application
Source:        BizTalk Server
Date:          6/26/2013 3:54:07 PM
Event ID:      5743
Task Category: BizTalk Server
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
The adapter failed to transmit message going to send port "WEB_SAP_LOB" with URL "http://.......svc". It will be retransmitted after the retry interval specified for this Send Port. Details:"System.ArgumentException: The path variable 'ID' in the UriTemplate must be bound to a non-empty string value.
Parameter name: parameters
   at System.UriTemplate.VariablesCollection.LoadDefaultsAndValidate(String[] normalizedParameters, Int32& lastNonDefaultPathParameter, Int32& lastNonNullablePathParameter)
   at System.UriTemplate.VariablesCollection.ProcessDefaultsAndCreateBindInfo(Boolean omitDefaults, String[] normalizedParameters, IDictionary`2 extraParameters, BindInformation& bindInfo)
   at System.UriTemplate.VariablesCollection.PrepareBindInformation(NameValueCollection parameters, Boolean omitDefaults)
   at System.UriTemplate.BindByName(Uri baseAddress, NameValueCollection parameters, Boolean omitDefaults)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateWcfMessage(CreateWcfMessageSettings settings, TLConfig tlConfig, RLConfig rlConfig)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendRequestMessage(IBaseMessage bizTalkMessage, IRequestChannel channel)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="BizTalk Server" />
    <EventID Qualifiers="32960">5743</EventID>
    <Level>3</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-06-26T20:54:07.000000000Z" />
    <EventRecordID>593392</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>WEB_SAP_LOB</Data>
    <Data>http://......svc</Data>
    <Data>System.ArgumentException: The path variable 'ID' in the UriTemplate must be bound to a non-empty string value.
Parameter name: parameters
   at System.UriTemplate.VariablesCollection.LoadDefaultsAndValidate(String[] normalizedParameters, Int32&amp; lastNonDefaultPathParameter, Int32&amp; lastNonNullablePathParameter)
   at System.UriTemplate.VariablesCollection.ProcessDefaultsAndCreateBindInfo(Boolean omitDefaults, String[] normalizedParameters, IDictionary`2 extraParameters, BindInformation&amp; bindInfo)
   at System.UriTemplate.VariablesCollection.PrepareBindInformation(NameValueCollection parameters, Boolean omitDefaults)
   at System.UriTemplate.BindByName(Uri baseAddress, NameValueCollection parameters, Boolean omitDefaults)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfMarshaller.CreateWcfMessage(CreateWcfMessageSettings settings, TLConfig tlConfig, RLConfig rlConfig)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendRequestMessage(IBaseMessage bizTalkMessage, IRequestChannel channel)
   at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)</Data>
  </EventData>
</Event>

thank you in a

June 27th, 2013 12:04am

Have you defined the variable mapping for ID? See http://msdn.microsoft.com/en-us/library/jj572853(v=bts.80).aspx for details.
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2013 12:15am

Thank you for your reply Marcus

Yes I did defined the variable mapping for ID with promoted property name and target namespace

June 27th, 2013 6:00am

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

Other recent topics Other recent topics