Tag Info

Hot answers tagged

2

Use AppCatalog class for this. Proof of concept below: class StackExchangeProof { static void Main(string[] args) { var login = "admin@yourdomain.onmicrosoft.com"; var password = "YourHardP@ssw0rd"; var url = "https://yourdomain.sharepoint.com"; var creds = new SharePointOnlineCredentials(login, ...


1

I imagine the WSDL file is for the external service you want to query, so you don't need to mess around with _vti_bin or similar. Try calling the service from a Console application (without thinking about SharePoint) by adding a Service Reference. Then when you have that working you could use the same approach to reference the service, just inside a Web ...


1

The simplest way is to write your web service code directly in asmx file and save it in: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\SomeFolder\MyWebService.asmx Then you can call it like this: http://mysiteurl/_layouts/15/SomeFolder/MyWebService.asmx It would be better, of course, to compile your web ...



Only top voted, non community-wiki answers of a minimum length are eligible