When I create one data source and then create second ,it will fail unless iis reset
error message is
Service Not Available
Another issue is that web service over use https protocol will throw exception:
umbracoForms: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
I try add below code at Application_Start event,but cant not work
How to use web service as datasource of contour
Hi All,
How to use web service as datasource of contour
below is my setting
==
Url:http://mysite/umbraco/webservices/api/MemberService.asmx
Service Name: MemberService
Method: create
error message:
Thanks!
Ken
Comment author was deleted
Hi Ken,
The Service name needs to be memberService, not MemberService.
And make sure that you can request the webservice from the webserver the site is running on.
Cheers,
Tim
Hi Tim,
that can work,but I find some issues.
When I create one data source and then create second ,it will fail unless iis reset
error message is
Service Not Available
Another issue is that web service over use https protocol will throw exception:
umbracoForms: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
I try add below code at Application_Start event,but cant not work
ServicePointManager.ServerCertificateValidationCallback += delegate ( object
sender ,
System.Security.Cryptography.X509Certificates.X509Certificate
pCertificate ,
System.Security.Cryptography.X509Certificates.X509Chain pChain ,
System.Net.Security.SslPolicyErrors pSSLPolicyErrors )
{
return true;
};
Thanks for quickly answer ^ ^
is working on a reply...