3

How do I change the security settings to allow cross-domain on the same web-server? I have multiple instance or site collections on the same server but want to make sure that web-services to list.asmx can be called from any of the sites on the server.

2 Answers 2

2

There's a discussion on stackoverflow on this topic with an accepted answer:

Best way to handle Cross Domain on SharePoint Intranet w/o server side, silverlight, DBC etc

In a nutshell, you can use crossdomain.xml policy file, JSONP or jQuery.support.cors wrapper for browser capabilities or create a server-side proxy to work around the cross-domain restrictions.

1
  • Thanks I had come across JSONP in my research, thanks for the additional info and reference.
    – Ben_Coding
    Commented Apr 15, 2013 at 15:52
0

The Lists web service is available from all SharePoint sites.

To access this Web service set a Web reference to http://<site>/_vti_bin/Lists.asmx.

http://msdn.microsoft.com/en-us/library/websvclists(v=office.14).aspx

3
  • This answer is really not on topic as there's an explicitly specified Cross-Domain nature of the question. Commented Apr 12, 2013 at 14:35
  • Perhaps the basis for the question is flawed. You do not need to go cross-domain to access Lists.asmx. Commented May 8, 2013 at 17:57
  • 1
    Well, if you use different web applications, whether port- or AAM/hostname based, or host-named site collections (vanity URLs), you do have to go cross-domain. Commented May 14, 2013 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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