Is it possible to call a WCF Service hosted in a Windows Service within SharePoint? -
I have a hosted WCF service in a service in a service where I have a
WCO is a console call it well apply, but if I call it in SharePoint from a page, so it throws a timely exception.
I added the following configuration to the web configuration:
& Lt; Security mode = "message" & gt; & Lt; Transport Client Credential Type = "Windows" Proxy Credential Type = "None" realm = "" /> & Lt; Message client credential type = "Windows" conversation Sewakardifik = "true" Algorithmsait = "default" install Krensurcshacontekt = "true" /> & Lt; / Safety & gt; & Lt; / Binding & gt; & Lt; / WsHttpBinding & gt; & Lt; / Binding & gt; & Lt; Customers & gt; & Lt; endpoint address = "http: // localhost: 8000 / replication / service name" binding = "wsHttpBinding" bindingConfiguration = "WSHttpBinding_IReplication" contract = "ServiceReference1.IReplication" = "WSHttpBinding_IReplication" & gt; & Lt; Identity & gt; & Lt; ServicePrincipalName value = "host / mypc-f1d530f" /> & Lt; / Identification & gt; & Lt; / Endpoint & gt; & Lt; / Customer & gt; & Lt; /system.serviceModel>
Any ideas about what's going on? Have anybody about you done this successfully? I could not find any samples on the web.
You should try to disable the loopback check DWORD
named DisableLoopbackCheck
HKLM \ System \ CurrentControlSet \ Control \ Lsa
and give it a value of 1
. Do not forget to restart your computer later.
Comments
Post a Comment