title: Cross Domain AJAX Post using easyXdm
body: <p>I am trying to get a cross domain AJAX post to work using the easyXdm library. </p>
  
  <p>In my local development environment I have two sites:</p>
  
  <pre>
  1. http://localhost/MySite/ws/easyXDM/cors/index.html (EasyXdm file)
  2. http://localhost/MyClientSite/TestPage.html (AJAX post from here)
  </pre>
  
  <p><strong>TestPage.html (AJAX Post)</strong></p>
  
  <pre><code>var rpc = new easyXDM.Rpc({
          remote: "http://localhost/MySite/ws/easyXDM/cors/index.html"
      },
      {
          remote: {
              request: {}
          }
      });
  
  rpc.request({
          url: "http://localhost/MySite/ws/MyService.asmx/DoSomething",
          method: "POST",
          data: jsonData
      }, function(response) {
          console.log(JSON.parse(response.data));
  
          $('#thanksDiv').fadeIn(2000, function () {
              $('#thanksDiv').fadeOut(4000);
          });
      });
  </code></pre>
  
  <p>When I do the AJAX post I get the following in my browser's console:</p>
  
  <pre><code>easyXDM present on 'http://localhost/MySite/ws/easyXDM/cors/index.html?xdm_e=http%3A%2F%2Flocalhost%2FMyClientSite%2FTestPage.html&amp;xdm_c=default884&amp;xdm_p=4 
  native JSON found 
  easyXDM.Rpc: constructor 
  {Private}: preparing transport stack 
  {Private}: using parameters from query 
  easyXDM.stack.SameOriginTransport: constructor 
  easyXDM.stack.QueueBehavior: constructor 
  easyXDM.stack.RpcBehavior: init 
  {Private}: firing dom_onReady 
  ... deferred messages ... 
  easyXDM.Rpc: constructor 
  {Private}: preparing transport stack 
  {Private}: using parameters from query 
  easyXDM.stack.SameOriginTransport: constructor 
  easyXDM.stack.QueueBehavior: constructor 
  easyXDM.stack.RpcBehavior: init 
  ... end of deferred messages ... 
  easyXDM.stack.SameOriginTransport: init 
  easyXDM.stack.RpcBehavior: received request to execute method request using callback id 1 
  easyXDM.stack.RpcBehavior: requested to execute procedure request 
  easyXDM.stack.QueueBehavior: removing myself from the stack 
  </code></pre>
  
  <p><strong>Problem:</strong> The web service never actually receives the data. This is obvious as my AJAX post success function should show a <code>thanksDiv</code> and also a record should be created in the *database.</p>
  
  <p><strong>Note:</strong> I am replacing my existing AJAX post code as I need to use easyXdm to overcome an issue with Internet Explorer 6 and 7 on a client's site.</p>
  
  <p><strong>Additional Information:</strong>
  The file-structure where my easyXdm files are located is as follows:</p>
  
  <pre><code>/ws/easyXDM/easyXDM.debug.js
  /ws/easyXDM/easyXdm.swf
  /ws/easyXDM/json2.js 
  /ws/easyXDM/name.html
  /ws/easyXDM/cors/index.html
  </code></pre>