Tag Info

New answers tagged

0

You may use cross-domain Ajax with JSON-P/JSONP, it was created specifically for this reason. Here are some references to get you started. If you need more specific examples, please let me know: http://en.wikipedia.org/wiki/JSONP http://json-p.org/ http://stackoverflow.com/questions/2067472/what-is-jsonp-all-about I also have this image - I'm not the ...


0

You can look in the IIS logs. Look at the cs-uri-stem and cs-uri-query fields and you should see your web service calls reaching the web server. You can also insert a proxy (like Fiddler) to view the traffic leaving your browser.


0

You can use below code. Change the ID in CAML query according to your needs. I am using get me item whose ID=1 public void getListData() { WS_Lists.Lists myservice = new WS_Lists.Lists(); myservice.Credentials = System.Net.CredentialCache.DefaultCredentials; myservice.Url = "http://site/_vti_bin/Lists.asmx"; ...


0

the question has been answered before, look at ashish answer as it implements your code. I think the area your going wrong is in the cookie part. Windows authentication with SharePoint Web Services via SOAP the code is for list authentication but a slight alteration would give you site authentication. The principal is the same!


2

At the end of you code it looks like your code is using the same method to impersonate as in a classic auth app with integrated auth. This is not working in a claims app because the used authenticated using kerberos in the initial handshake (url: _trust/...). The claims to windows token service is not doing the magic automatically. You have to request a ...


1

300 Fields means you have created 300 columns in the Sharepoint list. That's pretty extreme for a sharepoint list. Especially since data will populate those fields. SOAP errors in infopath are generally a timeout with communicating between Infopath and the Sharepoint server, which means when you click publish it goes through each field in infopath and writes ...


1

If you're looking for list data, you can fire off a curl request to one of SharePoint's list REST services, and parse the results. Should be pretty simple. There's also a full set of SOAP web services, but those have been deprecated in 2013, so I'd argue that developing a solution using REST is likely more future proof. You could start here for a simple ...


0

try something like this using jQuery: var webServiceGetInfoUrl = "http://MyWebService/Web.asmx/GetInfo"; var params = "{'param':'paramvalue'}"; $.ajax({ type: "POST", url: webServiceGetInfoUrl, data: params, contentType: "application/json; charset=utf-8", dataType: "json", success: function(msg) { // do something here ...


0

You can use Office 365 APIs which support native applications running on Windows 8, iOS etc. and consume Office 365 using REST APIs and OAuth. One of the concerns in building such apps is how to find user specific endpoints for the various Microsoft services like OneDrive for business, SharePoint etc. You just need to pass the user identity, and Office 365 ...



Top 50 recent answers are included