More in this section

Forums / Developing with Sitefinity / Adding service reference pops up authentication

Adding service reference pops up authentication

5 posts, 0 answered
  1. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    20 Feb 2013
    Link to this post

    Hi there,

    I'm trying to look into accessing the Sitefinity API via services and started by creating a simple WPF app and attempting to add a service reference to the PageService. But, whenever I attempt to do that it asks me to authenticate and the credentials I provide don't work.

    What is being authenticated?

  2. Dustin
    Dustin avatar
    20 posts
    Registered:
    05 Jan 2012
    13 Mar 2013
    Link to this post
    having the same issue...added my project to IIS...tried to connect to a service and got this in a popup. Can't seem to put anything in it for it to bypass the popups 

    "The Service 'http://localhost/BusinessServices/sitefinity/services/security/users.svc' at http://localhost/BusinessServices/ requires a username and password"

    "The Service 'http://localhost/BusinessServices/sitefinity/services/security/users.svc/$metadata' at http://localhost/BusinessServices/ requires a username and password."

    obviously, I am missing something, not sure what.
  3. Haithem
    Haithem avatar
    10 posts
    Registered:
    08 Jul 2012
    17 Mar 2013
    Link to this post
    I have the same issue with SF v5.4.

    Had anyone got an answer for this?
  4. Dustin
    Dustin avatar
    20 posts
    Registered:
    05 Jan 2012
    18 Mar 2013 in reply to Haithem
    Link to this post
    apparently you have to manual call the wcf services and authenticate instead of adding them via service reference. I have actually found these to be a pain, cryptic, and unneeded. Instead, I fell back on the approach of using the fluent API since there wasn't a way to upload documents via the restful services.
  5. Jen Peleva
    Jen Peleva avatar
    568 posts
    Registered:
    10 Nov 2016
    21 Mar 2013
    Link to this post
    Hello guys,

    You can check out this post which discusses using claims based authenticationin calling your web services.

    Greetings,
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered