title: jQuery service response showing in firebug but not getting in success
body: <p>I facing an issue when accessing the service url using browser it runs and show json result on browser like this.</p>
  
  <pre><code>  /*-secure-{"statusCode":200,"errors":
    ],"isSuccessful":true,"statusReason":"OK","Envelope":
   {"Body":{"GetStoresByZipcodeResponseElement":
   {"ns1":"http:\/\/abc.com\/intg\/ws\/\/provider","status":"statusCode":"000","statusDescription":"Success"}}*/"
  </code></pre>
  
  <p>but when I hitting that url using jquery:</p>
  
  <pre><code> $.ajax({
          url: url,
          cache: true,
          dataType: 'script',
          type: 'GET',
          async: false, // must be set to false
          success: function (data, success) {
             console.log(" success "+ JSON.stringify(success));
             console.log(" data " +JSON.stringify(data));
          },
          error :function( jqxhr, textStatus, error ) { 
          var err = textStatus + ', ' + error;
          console.log( "Request Failed: " + err);
          },
  
          complete: function (jqxhr, textStatus ){
          console.log( "complete: " + JSON.stringify(jqxhr)+" "+ textStatus );
          }
      });
  </code></pre>
  
  <p>its showing me the response in firebug but even it come to ajax success function and for data its saying undefined.</p>
  
  <p>after change 'script' with 'json' return this:</p>
  
  <pre><code>Request Failed: error,
  complete: {"readyState":0,"responseText":"","responseJSON":null,"status":0,"statusText":"error"} error
  </code></pre>
  
  <p>JSON Response and Response tab view in Firebug
  <img src="https://i.stack.imgur.com/XSwhq.png" alt="JSON Response in Firebug">
  <img src="https://i.stack.imgur.com/AqZYP.png" alt="Response in Firebug"></p>
  
  <p>Any help would be appreciated. </p>