Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Call web-service from JQuery Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Call web-service from JQuery" Watch "Call web-service from JQuery" New topic

Call web-service from JQuery

surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

I have
1) web-service, deployed with on localhost:8080
2) html-page with :

3) TCPMon routing requests from localhost:8888 to localhost:8080.

I'm getting an error:

Can somebody tell me how to handle cross-domain policy for browsers? I'm pretty sure this is the reason.

I agree. Here's the link:
subject: Call web-service from JQuery