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.
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 … :(.

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: