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
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
jQuery in Action, 3rd edition