Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
Thanks I had come across JSONP in my research, thanks for the additional info and reference. –  Ben_Coding Apr 15 '13 at 15:52
add comment

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

share|improve this answer
    
This answer is really not on topic as there's an explicitly specified Cross-Domain nature of the question. –  Alexey Krasheninnikov Apr 12 '13 at 14:35
    
Perhaps the basis for the question is flawed. You do not need to go cross-domain to access Lists.asmx. –  Paul Schaeflein May 8 '13 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. –  Alexey Krasheninnikov May 14 '13 at 7:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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