So, if you look back at my previous question about Exchange Autodiscover, you'll see that the easiet way to get the autodiscover URL is to send a non-secure, non-authenticated GET request to the server, ala:
http://autodiscover.exchangeserver.org/autodiscover/autodiscover.xml
The server will respond with a 302 redirect with the correct...
Hi
I'm looking for a straight forward list(with any notable information to match the point) of the separate processes involved from initiating the request object to the user seeing the end result in AJAX?
Thanks.
...
Here's the scenario:
I'm setting up a site where I need to do cross-domain XMLHttpRequests, and the external feed is XML.
Because of some restrictions on the web server, I need the proxy to be written in ColdFusion. The URI that needs to be proxied is dynamic, but a set URI is good for now.
I've never written a single line in ColdFusi...
Hi Guys,
I think I am having Same-Origin problems with javascript being served and I think the problem relates to load balancer. Here are some of the headers I am getting for some javascript
Host , value: www.host.com
Referer , value: http://www.referrersite.com
User-Agent , value: Mozilla/5.0
Http method: GET
tempUri.Host: www.referre...
I am unable to get an XMLHttpRequest object to work correctly in a Dashboard widget I am writing. I've isolated it to a trivial example not working in the global scope of the main.js file:
xhr = new XMLHttpRequest;
xhr.open( 'GET', "http://google.com", false );
xhr.send('');
When the last line is executed I get the error ...
Hi Guys,
I am sending an AJAX request using POST over X-Domain for a widget we are producing for our website. The problem we are facing is that this is getting blocked.
My question is - for "modern browsers" [Chrome, Safari, FF, IE8] - it is my understanding that setting "Access-Control" headers
Access-Control-Allow-Origin: http://www...
I've used this:
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://domain.com/languages.php",
dataType: "xml",
success: xmlParser
});
});
function xmlParser(xml) {
$('#load').fadeOut();
$(xml).find("result").each(function () {
$(".main").append('' + $(this).find("language").text() + '');
$("....
Hi everyone,
Below is my javascript code snippet. Its not running as expected, please help me with this.
<script type="text/javascript">
function getCurrentLocation() {
console.log("inside location");
navigator.geolocation.getCurrentPosition(function(position) {
insert_coord(new google.maps.LatLng(position.coords...
Hi Guys,
We are trying to build a cross-domain single-sign on solution using ASP.NET MVC.
Any existing solutions or tutorials available ?
...
First, I'm working in Google Chrome, if that helps. Here is the behavior:
I send an xhr request via jQuery to a remote site (this is a chrome Extension, and I've set all of the cross-site settings...):
$.ajax({
type: "POST",
contentType : "text/xml",
url: some_url,
data: some_xml,
username: user,
password: pass,...
I am trying to make a XMLHttpRequest Request to a content which is on local, runnin on local webserver from a HTML File and javascript residing locally.
it will hit the webserver request, and then even thou it sends the data back, in my javscript, at once I get readyState 4 and status as 0.
If i try putting the pages in the webserver f...
I had another post for the same problem...
I think I put the question in a wrong way.. Let me give more details: i have test.html in my c:\ drive and I have a local webserver runnin in qt, and i have some plugin written to that webserver which will get the request and send some response text "hello". in test.html i m making a xml xhr re...
public class Adder extends Activity {
private static final String SOAP_ACTION = "http://www.safecab.com/SignIn";
private static final String METHOD_NAME = "SignIn";
private static final String NAMESPACE = "http://www.safecab.com/";
private static final String URL = "http://www.safecab.com/ClientInterface.asmx";
privat...
getting following exception while making call using XMLHttp object asynchronously in mozila firefox.
can anybody help me to resolve this issue?
407 Proxy Authentication Required
The ISA Server requires authorization to fulfill the request.
Access to the Web Proxy filter is denied.
Description of cause-
actually i am trying to make as...
My extension works on an application, which requires user login. Once the user has logged in, I need to read the cookies and use them in my XMLHttpRequests.
So initially I need to check if the cookie is set, if not, I direct the user to the login page. Once logged in, I need to read the cookies and send it as part of my further requests...
Hi,
I'm using an AJAX system on a web application, and for one of the objects i return, it needs to contain an xml fragment. Unfortunately, being AJAX, i'm sending the values back via XML already.
So, at the moment, i have something that looks like this (ignoring the fact the tags arent perfect.
<Transport>
<Message>
<Conte...
Admit me describe my questions in situation-oriented way:
Assume Internet Explorer is still the dominating web browser (Firefox has document for binary processing):
The XMLHttpRequest.responseText or XMLHttpRequest.responseXML in Internet Explorer desire txt or xml/xhtml/html, but what about the server response the xmlHttprequest wit...
I have two divisions, <div id=statuslist></div><div id=customerlist></div>
The function sendReq() creates a xmlhttprequest and fetches the data into the division.
sendReq('statuslist','./include/util.php?do=getstatuslist','NULL');
sendReq('customerlist','emphome.php?do=getcustomerlist','NULL');
I have a problem,
The data fetched in...
I have to get response text from a resourceindex page as JSON object. When I dont put a Accept header in the request, it shows me the xml response (i see it in an alert)..
But I want the response as a JSON object.. What should I do. One solution would have been
httpRequest.setRequestHeader('Accept', 'application/JSON');
but this give...
Alright, I know questions like this have probably been asked dozens of times, but I can't seem to find a working solution for my project. Recently, while using jQuery for a lot of AJAX calls, I've found myself in a form of callback hell. Whether or not jQuery is too powerful for this project is beyond the scope of this question. So ba...