More in this section

Forums / General Discussions / allow web service client to hit our new web service in SF

allow web service client to hit our new web service in SF

2 posts, 0 answered
  1. Phil
    Phil avatar
    89 posts
    19 Oct 2010
    28 Sep 2011
    Link to this post
    We want to create a web service that our sitefinity site will serve up; then access that web service from the code-behind of another web site (webSite2).  

    When our web service client in webSite2 hits the web service url in our SF site, (it appears to us that) SF sends that request to the login page.  We are pretty sure that this is what is happening because our clent on webSite2, receives the html for the login page as the response from the web service, AND this behavior makes sense based on the security behavior of SF.

    What would be the best practice for allowing the web service url in our SF site to be hit by the web service client in our webSite2 ?

    NOTE: the code for both of these websites is behind the same firewall.

  2. Svetoslav Petsov
    Svetoslav Petsov avatar
    456 posts
    24 Sep 2012
    03 Oct 2011
    Link to this post
    Hi Phil,

     The best solution would be to create a user with the proper permissions that the code in your second website can use to log into your SF site and then make use of the service that you wrote. I'm sending you a sample project with code that consumes one of Sitefinity's webservices.

    Best wishes,
    Svetoslav Petsov
    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
2 posts, 0 answered