I was wondering if anyone had some experience with hosting WCF services in a Umbraco site.
I have added a Service folder which I have added to the umbracoReservedUrls in the web.config and put my svc file in that folder. Calling my service gives this error:
This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item
Googling this problem suggest adding this to the web.config:
Hi Paul, mind if I ask why you're using WCF with umbraco - I may need to do the same. I'm attempting a custom webservice implementation but are running aground when it comes to security context. One thing I noticed with v4 was passing in the hashed password through the webservice worked for me but not the plain text. What's the actual exception that gets raised for you?
Hosting WCF services with Umbraco
I was wondering if anyone had some experience with hosting WCF services in a Umbraco site.
I have added a Service folder which I have added to the umbracoReservedUrls in the web.config and put my svc file
in that folder. Calling my service gives this error:
This collection already contains an address with scheme http. There can be at most one address per scheme in this collection.
Parameter name: item
Googling this problem suggest adding this to the web.config:
<system.servicemodel>
<servicehostingenvironment>
<baseaddressprefixfilters>
<add prefix="http://www.MyDomainName.com"></add>
</baseaddressprefixfilters>
</servicehostingenvironment>
</system.servicemodel>
This just gives a new authentication problem
Am I following a wrong path or ...
Regards Paul S
Hi Paul, mind if I ask why you're using WCF with umbraco - I may need to do the same. I'm attempting a custom webservice implementation but are running aground when it comes to security context. One thing I noticed with v4 was passing in the hashed password through the webservice worked for me but not the plain text. What's the actual exception that gets raised for you?
Cheers
Michael
Sorry for the late answer but Igot it working now. I'm using WCF because of the flexibility of the transport protocol.
/Paul S
Would you please explain how you accomplished this?
Hi Scott
What kind of problems do you have ?
/Paul S
is working on a reply...