SQL-WCF port and OperationName

When you generate a binding with Add generated item ->consume WCF adapter and import it in BizTalk you could meet this issue when you try to test it :

The adapter failed to transmit message going to send port "WcfSendPort_SqlAdapterBinding_TypedProcedures_dbo_Custom" with URL "mssql://.//MeteorLogging?". It will be retransmitted after the retry interval specified for this Send Port. Details:"Microsoft.ServiceModel.Channels.Common.UnsupportedOperationException: The action "<BtsActionMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Operation Name="spBTS_WebUp_Meteor_EntLibLogging_WriteLog" Action="TypedProcedure/dbo/spBTS_WebUp_Meteor_EntLibLogging_WriteLog" />
</BtsActionMapping>" was not understood.

Lire la suite


WCF instanceContextMode

With WCF, you can configure lot of thing.

An interesting setting is the InstanceContextMode

MSDN talk about that :  « Use the InstanceContextMode property to specify when new service objects are created. Because the service object is not directly connected to the communicating channel, the lifetime of the service objects is independent of the lifetime of the channel between a client and the service application. The default value, PerSession, instructs the service application to create a new service object when a new communication session is established between a client and the service application. Subsequent calls in the same session are handled by the same object. » (http://msdn.microsoft.com/library/system.servicemodel.servicebehaviorattribute.instancecontextmode.aspx) Lire la suite

WCF custom vs WCF with IIS

In a previous blog entry, I wrote about exposing wcf port without IIS. But now when I use IIS and when I don’t use it ?

Actually, when I use IIS I’ve got a new technic layer and increase the resource used.

So what IIS bring more.As we can see with or without IIS doesn’t influence response time (click on the picture to zoom). Lire la suite

Exposing Orchestration or Schemas as WCF services without IIS

Hi everybody, all people know how to expose orchestration or schemas as WCF service with IIS.

But sometime it’s not necessary to use IIS (I’ll tell about that in a future article) for example with a flow which has some call per day.

First thing as usual you need to develop your orchestration and deploy it : Lire la suite