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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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