Using WCF with Mingle REST API

Follow

Comments

1 comment

  • Avatar
    Sivakumar Nagarajan

    I was eventually being helped by Mingle Dev team. It was the configuration change that did the trick. Here is the new (REST) client configuration section to add in your app.config or web.config


    <system>
    <bindings>
    <webhttpbinding>
    <!- maxReceivedMessageSize=10 MB ->
    <binding name="MingleConfig" maxreceivedmessagesize="10485760">
    <security mode="TransportCredentialOnly">
    <transport clientcredentialtype="Basic" />
    </security>
    </binding>
    </webhttpbinding>
    </bindings>
    <behaviors>
    <endpointbehaviors>
    <behavior name="MingleBehavior">
    <webhttp />
    </behavior>
    </endpointbehaviors>
    </behaviors>
    <client>
    <endpoint address=”http://mingleServerUrl/”
    binding=”webHttpBinding”
    bindingConfiguration=”MingleConfig”
    behaviorConfiguration=”MingleBehavior”
    contract=”API.Mingle.IMingleClient”/>
    </client>
    </system>

Please sign in to leave a comment.