[jQuery] Re: How To Get Around: Access to restricted URI denied code: 1012

2009-05-06 Thread bittermonkey
I won't be able to rewrite the service cause we also have cold fusion sites consuming the xml data. I guess I am stuck with creating another asp.net page that will call the service. Thanks for helping out everyone. On May 5, 9:16 pm, 丁亮 bluker2...@gmail.com wrote: use jsoncallback=? in the

[jQuery] Re: How To Get Around: Access to restricted URI denied code: 1012

2009-05-05 Thread James
What about going through a proxy (e.g. a PHP script that fetches the XML content from wcf.mstsc.com domain) hosted on your current domain? On May 5, 11:01 am, bittermonkey brakes...@gmail.com wrote: Hi, Here's my code:                 $.ajax({                     type: GET,                

[jQuery] Re: How To Get Around: Access to restricted URI denied code: 1012

2009-05-05 Thread bittermonkey
I was wondering if I have another option without going this route? On May 5, 5:08 pm, James james.gp@gmail.com wrote: What about going through a proxy (e.g. a PHP script that fetches the XML content from wcf.mstsc.com domain) hosted on your current domain? On May 5, 11:01 am,

[jQuery] Re: How To Get Around: Access to restricted URI denied code: 1012

2009-05-05 Thread mkmanning
No options with Ajax cross-domain (for now). If you can change the service to wrap the XML in a function call or assign it to a variable you can use $.getScript(). predefine a function or method: my_function(xml){ //do something with the xml } call .getScript():

[jQuery] Re: How To Get Around: Access to restricted URI denied code: 1012

2009-05-05 Thread 丁亮
use jsoncallback=? in the end of url