Exposing web services in provider hosted app to the host web RRS feed

  • Question

  • Hi, im trying to find a good way to expose web services implemented in my provider hosted app. 

    eg. I have a news list in the host web but I want to do some custom selection using server side code and then display the result using javascript ajax calls from the host web.

    Is it possible in any simple way to expose a web service in the provider hosted app that i can access. It is sort of the reverse of using the SP.WebProxy

    I would really like to avoid the app part iframe for this.



    Sunday, May 24, 2015 9:00 PM


  • Hi Joakim,

    Per my understanding, you might want to consume a custom web service from pages in host web, this custom web service is hosted in a Provider Hosted App.

    Since the Provider Hosted App is hosted in a remote server, a thought is that you can host the custom web service there, then it would be a communication between SharePoint site and the remote server directly.


    Patrick Liang

    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Dennis Guo Monday, June 1, 2015 9:37 AM
    • Marked as answer by Dennis Guo Tuesday, June 2, 2015 9:26 AM
    Monday, May 25, 2015 8:43 AM