Cross domain webservice call from client code
-
Hi, Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy :(. Thanks, Amit Thanks, Amit
The short answer is no. At least not to my knowledge.
amitar27 wrote:
(javascript or xmlhttp)
When you make an XMLHTTPRequest call it is from a javascript. XMLHTTPRequest is limited to calls to the same domain for security reasons.
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes -
Hi, Is there a way to make cross domain webservice call from client code(javascript or xmlhttp)? Webservice is in intranet and not open to the outside world therefore i can't make a server proxy :(. Thanks, Amit Thanks, Amit
You could use the old iframe trick. You can load an iframe with anything the client has access to, have the iframe hidden, and access its contents via javascript. What we use to do before XMLHTTPRequest was ubiquitous but more work involved.