cross-site collection web service

Oct 5, 2012 at 5:47 PM
Edited Oct 5, 2012 at 5:52 PM

Hi! I want to know if there is any way to call a web service from another site collection.

Ex:

I'm on "http://site1.sites.com/" and what I want to do is call a web service from "http://site2.sites.com/". Both sites resides in the same farm.

I tried this, but nothing has happened

 

$().SPServices({
        operation: "GetChildTermsInTermSet",
        webURL: "http://site2.sites.com",
        sspId: sspId,
        termSetId: termSetId,
        lcid: 3082,
        completefunc: function (xData, Status) {
             //SUCCESS
        }
    });

 

Thanks in advance!!!

Coordinator
Oct 8, 2012 at 2:13 AM

Emil:

This type of question is alwys tough for me to answer. It's certainly possible to make the call across Site Collections, but sometimes authentication cn get in the way. I'd suggest you do some debugging with Fiddler and/or Firebug to see what is returned.

M.