This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes web service may connect without local server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "web service may connect without local server?" Watch "web service may connect without local server?" New topic
Author

web service may connect without local server?

Leonidas Savvides
Ranch Hand

Joined: Jan 31, 2010
Posts: 403
WHEN i RUN AJAX FROM LOCAL WITH INTERNET CONN, WITHOUT LOCAL SERVER (neither remote server), well given a remote absolute url of eg a web service, may connect from a latest browser?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What is with the caps? Annoying

It is not possible to connect to another domain using Ajax with all browsers because of the smae domain secuirty policy. Hence why you are probably getting "Access Denied" errors. The easiest solution is making a proxy on your server.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60738
    
  65

I adjusted the subject to what I think you might have been trying to say. As Eric pointed out, posting in all caps is annoying. Annoying people who could help you does not sound like a sound strategy.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: web service may connect without local server?
 
Similar Threads
JNDI Lookup Problem
Need to connect to DB and get some records
AXIS RMI
RMI service bind/lookup problem(Very freak!)
Help needed to call a web service after TAM authentication - (401)Unauthorized