REST provisioning.svc

Sep 2, 2015 at 2:30 PM
Hello,

I am trying to use REST service https://localhost/rest/v0.1/provisioning.svc. Can you please share me the configuration file that can be used for this service? I tried following but didn't worked.

Thank you,
Plachira
        <service name="SIPSorcery.Web.Services.Provisioning" behaviorConfiguration="ProvisioningServiceBehaviors">
          <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/>
          <endpoint address="" binding="basicHttpBinding" bindingConfiguration="secureHttp" contract="SIPSorcery.Web.Services.IProvisioning"/>
          <endpoint address="rest" behaviorConfiguration="WebBehavior" binding="webHttpBinding" bindingConfiguration="secureWeb" contract="SIPSorcery.Web.Services.IProvisioning"/>
        </service>
          <behavior name="ProvisioningServiceBehaviors">
            <serviceMetadata httpsGetEnabled="True"/>
            <serviceDebug includeExceptionDetailInFaults="true"/>
          </behavior>
Sep 6, 2015 at 5:32 AM
This is fixed.
<service name="SIPSorcery.Web.Services.Provisioning" behaviorConfiguration="ProvisioningServiceBehaviors">
          <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/>
          <endpoint address="" behaviorConfiguration="WebBehavior" binding="webHttpBinding" bindingConfiguration="secureWeb" contract="SIPSorcery.Web.Services.IProvisioning"/>
        </service>