This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
It's not a secret anymore!