Copied to clipboard

Flag this post as spam?

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


  • Bharath 40 posts 62 karma points
    Apr 08, 2010 @ 17:16
    Bharath
    1

    What is the User name and password that i need to pass on in order to consume the Umbraco web service

    Let me know...

    What is the User name and Password that i need to pass on in order to consume the Umbraco web service???

  • Jeremy 14 posts 35 karma points
    Apr 08, 2010 @ 17:50
    Jeremy
    1

    You can specify which users have access to each individual webservice in the umbracoSettings.config in the config folder.  You can use any of the users you have setup in Umbraco.

     

      <!-- configuration for webservices -->
      <!-- webservices are disabled by default. Set enable="True" to enable them -->
      <webservices enabled="True">
        <!-- You must set user-rights for each service. Enter the usernames seperated with comma (,) -->
        <documentServiceUsers>your-username</documentServiceUsers>
        <fileServiceUsers>your-username</fileServiceUsers>
        <stylesheetServiceUsers>your-username</stylesheetServiceUsers>
        <memberServiceUsers>your-username</memberServiceUsers>
        <templateServiceUsers>your-username</templateServiceUsers>
        <!-- type of files (extensions) that are allowed for the file service -->
        <fileServiceFolders>css,xslt,data</fileServiceFolders>
      </webservices>

  • Bharath 40 posts 62 karma points
    Apr 08, 2010 @ 18:35
    Bharath
    0

    I replaced your-username with Administrator or admin, however i am not able to authenticate to webservice.

    Received following exception.

    System.Exception: The user does not authenticate

  • Bharath 40 posts 62 karma points
    Apr 08, 2010 @ 20:54
    Bharath
    0

    OK i found the answer by means of reverse engineering the source code of Umbraco...

    Password was stored in HASH format in DB and i was sending plain text password through webservice and hence authentication was failing.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies