Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8310911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:37:56+00:00 2026-06-08T19:37:56+00:00

I have many problems with my ajax request. I test the web-service manually and

  • 0

I have many problems with my ajax request. I test the web-service manually and works fine but my jquery ajax request show the next error:

XMLHttpRequest cannot load http://www.newvision.pt/InlineDisplays/Displays.asmx/GetTicketsXMLDebug?&DisplayIds=1|2. Origin http://localhost is not allowed by Access-Control-Allow-Origin.

My ajax request is:

$.ajax({
        type: "POST",
        dataType : "xml",
        url: "http://www.newvision.pt/InlineDisplays/Displays.asmx/GetTicketsXMLDebug?&DisplayIds=1|2" ,
        crossDomain: true,
        // jsonp: false,
        // processData: false,
        success: function(data){

            console.log(data);

        },
        error: function(objeto, quepaso, otroobj){
            console.log(this.url);
            console.log("ERROR");
        }
    });

If someone knows what is the problem i would apreciatte it!!!
Thx!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T19:37:58+00:00Added an answer on June 8, 2026 at 7:37 pm

    This is the age old problem off cross domain request do a simple google search for cross domain requests and you will see millions off results. You cannot ajax a request from one domain to another for security reasons.

    There are some possibilities using jsonP format again a quick search should help you with that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have worked many projects with no problems. But in current project, I tested
I have a simple form to submit and test ajax,but it doesn't work and
I have application with many ajax actions (implemented using JQuery.ajax), that returns JSON ot
I have defined many views doing 'manual' ajax processing like: @require_POST def do_something(request, ...)
I'm having problems using ajax with jQuery... I have the following jscript: $(document).ready(function() {
I've been studying because I have an exam and I don't have many problems
This is probably not a dup; I have read through many similar problems on
This sounds like a problem many others have posted about, but there's a nuance
Seems to be a problem that many people have, but all the answers I
I have looked at many different peoples answers to this problem but they only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.