Split From - http://www.daniweb.com/forums/thread145927.html

Hi
Unfortunately we cant use these two suggestion since our requirement does not allow to do so. I was able to solve this issue using JSON. Thanks for the information..

Hi,

We are also facing the same issue. It will be great help if you can give your valuable suggestion and sample code.

Thanks,
Dhana.

Technically you cannot access across the domain which is preferential... its supposed to be a security feature.

As someone stated, you can create a flash object which instantiates the XMLHHTP object or maybe using a proxy server.

Take a look at this page: http://developer.yahoo.com/javascript/howto-proxy.html

Also take a look at the following, it has a couple a unique approaches http://www.simple-talk.com/dotnet/asp.net/calling-cross-domain-web-services-in-ajax/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.