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

Posted by Community Admin on 03-Aug-2018 19:23

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

All Replies

Posted by Community Admin on 28-Sep-2011 00:00

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.

Thanks

Posted by Community Admin on 03-Oct-2011 00:00

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

This thread is closed