Tag Info

New answers tagged

2

For the sharepoint groups you getting 401, try below. Navigate to the sharepoint group settings page and set the property " Who can view the membership of the group?" to "Everyone".


1

Site Owners don't necessarily have the permission to enumerate all SharePoint groups -- you should be able to enumerate all groups with a farm administrator account.


0

Found out and fixed. One of the entity did have a "isReference" attribute set on it. This break the JSON serializer and in turn the service. I still don't get why the debugger won't hit any breakpoint on the server, and why I was getting a 401 error.


1

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 ...



Top 50 recent answers are included