You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
Please set up anonymous access to service VvtTwilioServiceHelper on your Creatio server.
The instruction is attached. Thank you.
In folder ..\Terrasoft.WebApp\ServiceModel create file VvtProcessSMSService.svc and add the following code
<% @ServiceHost Service = "Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper" Debug = "true" Language = "C#" %>
|
2. In the files ..\Terrasoft.WebApp\ServiceModel\http\services.config и ..\Terrasoft.WebApp\ServiceModel\https\services.config add the following block <services>:
<services>
...
<service name="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper">
<endpoint name="VvtTwilioServiceHelperEndPoint"
address=""
binding="webHttpBinding"
behaviorConfiguration="RestServiceBehavior"
bindingNamespace="http://Terrasoft.WebApp.ServiceModel"
contract="Terrasoft.Configuration.VvtTwilioServiceHelperNamespace.VvtTwilioServiceHelper" />
</service>
</services>
|
3. In the file ..\Terrasoft.WebApp\Web.config add block<location> to section <configuration> :
<configuration>
...
<location path="ServiceModel/VvtTwilioServiceHelper.svc">
<system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>
...
</configuration>
|
4. In the file ..\Terrasoft.WebApp\Web.config change attribute 'value' in the section<appSettings>:
<configuration>
...
<appSettings>
...
<add key="AllowedLocations" value="[previous values];ServiceModel/VvtTwilioServiceHelper.svc" />
...
</appSettings>
...
</configuration>
|
5. Reload application in IIS