Search code examples
wcfbiztalkbehaviorbiztalk2006r2

Adding behavior to wcf basichttp in biztalk 2006R2


I am using a wcf basichttp adapter in biztalk using ESB guidance 1.0 i made a test without biztalk involved calling an asmx service and i ended up with this configuration file :

<behaviors>
   <endpointBehaviors>
     <behavior name="NtlmEndpointBehavior">
      <clientCredentials>
       <windows allowedImpersonationLevel="Impersonation" />
       <httpDigest impersonationLevel="Impersonation" />
      </clientCredentials>
     </behavior>
   </endpointBehaviors>
  </behaviors>
  <client>
   <endpoint address="http://address" behaviorConfiguration="NtlmEndpointBehavior"
binding="basicHttpBinding" 
bindingConfiguration="ApiSoap"
          contract="API.ApiSoap" name="ApiSoap" />
   </client>

Now i have to add the behavior in the wcf basichttp dynamic port i am creatin. According to the spec i read when trying to add behavior to basichttp send port this cannot be done but on my dot net project i made it is it a limit of biztalk?


Solution

  • apparently you cant add behaviors to the adapters released with ESB guidance 1.0 due to lack of wrapper for wcf-custom adapter for biztalk 2006