BizTalk Server Tutorial

BizTalk Server Concepts and Common Errors

Weird Error invoking a Restful Service from BizTalk 2010

I followed this post and tried to invoke a RESTful Url.

However, I ended up with the below Weird Error.

A message sent to adapter “WCF-Custom” on send port “SPGetDetails” with URI https://test.com/api/doc is suspended.
Error details: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.CreateChannelFactory[TChannel](IBaseMessage bizTalkMessage)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.InitializeValues(IBaseMessage message)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2..ctor(IBaseMessage message, WcfTransmitter`2 transmitter)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfTransmitter`2.GetClientFromCache(String spid, IBaseMessage message)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfAsyncBatch`2.BatchWorker(List`1 messages)
MessageId: {EA840E30-B610-4CC2-815F-ACD62C9EE17E}
InstanceID: {24F46761-9CB0-4BE7-B201-80346EDD19FD}

This error gave no clue. After little research I found that adding any dummy value for Action Property resolved the error. However, I found that this dummy value is not required in case if Action is available as a promoted property in the input message.

1

HTH Someone
– Shiv

November 6, 2013 - Posted by | Common Errors & Solutions, General | , , , , , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: