Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Thanks for the answers, guys. The reason could be one out of two: ClientAccessPolicy.xml should according to MS documentation be clientaccesspolicy.xml (all lower case). But I still get the error, and it's placed in the document root. When doing the call from an URL starting with file:// there is never made a request for the policy document. When calling from a <a href="http://localhost" rel="nofollow noreferrer">http://localhost</a> URL the reason seems to be that I get a 401 Authorization Required. So in my webservice call I need to add some transient authentication. Now to figure out how that is done... :-)</p> <p>Update: I was mistaken about the 401, that was a 401 that became authenticated and returned a 200 or 304, so the cross-domain policy IS transfered. Yay.... but.... I still get the following error when using the webservice:</p> <p>"An error occurred while trying to make a request to URI '<a href="http://sharepoint/_vti_bin/Lists.asmx">http://sharepoint/_vti_bin/Lists.asmx</a>'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services."</p> <p>So, I know the cross domain policy is being retrieved. Is there something wrong with it? I've checked with a Microsoft-provided policy, and it looks identical to me. Even did a copy-paste, still identical. Is this policy not well suited for SOAP webservices? Again, when using it from the same domain, my call works beautifully, but I'd like to make calls to multiple domains, so I need to get this cross-domain policy working</p> <p>Cheers</p> <p>Nik</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload