Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I followed this tutorial and successfully created a custom service application in my sharepoint server, my question is how to consume it from another sharepoint solution, for example I create a new empty sharepoint project and add a new application page, how I can get access to strongly type service application object from the code behind of the application page?

Thanks for your help

share|improve this question
add comment

1 Answer

You can just do it the normal way by adding service reference to your service inside the project. And consume it normally as you do with any wcf service. But you need to get the config right. You should enable impersonation in the client config.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.