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 7632689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:41:23+00:00 2026-05-31T06:41:23+00:00

In our web application,we have do some ajax request,so we may meet the cross

  • 0

In our web application,we have do some ajax request,so we may meet the cross domain problem.

Since the we use the ajax to request the standard web service which return the xml document.

So we can not use the jsonp.

Also we do not want to use the proxy. Since the server may use the reverse proxy in which case the proxy may not work.

Then I want to know if there is any other way to slove this cross domain problem?


The service methioned here are standard ogc web service.

An example.

Another example


Update2:
We avoid using the proxy in that we have meet the problem when the server use the reverse proxy.

For example,the server address exposed is ‘http://100.1.1.1‘.

The I make a ajax requst:’http://100.1.1.1/proxy.ashx?url=http://100.2.2.2/xx.img‘.

Then the server ‘100.1.1.1’ foward this request to the local network whose ip my ‘192.168.1.1’, then the proxy.ashx now can not access the internet ‘100.2.2.2’. so … :(.
enter image description here

  • 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-05-31T06:41:24+00:00Added an answer on May 31, 2026 at 6:41 am

    XHR2 allows cross-origin requests. If the web service you’re fetching the data from allows CORS, you could use that — although you should note that this is only supported in:

    • Chrome 3+
    • Firefox 3.5+
    • Safari 4+
    • Internet Explorer 8+
    • Opera 12+
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have the usual web.xml for our web application which includes some jsp and
In our web application (django based, with solr backend) we have some checkboxes with
On our web application, we have loads of attachments, some static (from DB) and
In our web application we have a directory which resides outside of the project.
Our web application sends e-mails. We have lots of users, and we get lots
We have a staging version of our web application (it is basically a subversion
Requirements: On a web page in our web application, we have a requirement to
We have a requirement to control access to our SaaS based web application based
We have a web application that manages inventory for our computer support group. One
I have a web application that works in our stage/test environment fine but once

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.