Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Sørensen 304 posts 650 karma points
    Oct 14, 2009 @ 00:33
    Paul Sørensen
    0

    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

  • mikew910 14 posts 29 karma points
    Oct 27, 2009 @ 01:34
    mikew910
    0

    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

  • Paul Sørensen 304 posts 650 karma points
    Dec 24, 2009 @ 00:03
    Paul Sørensen
    0

    Sorry for the late answer but Igot it working now. I'm using WCF because of the flexibility of the transport protocol.

    /Paul S

  • Scott 5 posts 25 karma points
    Jan 06, 2010 @ 22:31
    Scott
    0

    Would you please explain how you accomplished this?

  • Paul Sørensen 304 posts 650 karma points
    Jan 09, 2010 @ 15:18
    Paul Sørensen
    0

    Hi Scott

    What kind of problems do you have ?

     

    /Paul S

Please Sign in or register to post replies

Write your reply to:

Draft