title: jquery WebService responseXML / responseText
body: <p>I get an empty response back from this local WebService call via jquery / ajax.  </p>
  
  <p>I have verified the URL and XML input string by invoking the call in a browser. 
  I DO get XML code back as expected. </p>
  
  <p>What am I missing? Could it have something to do with the return type "XmlDocument"?
  I have tried changing out text/xml to text. No affect. Tried a GET instead of POST. </p>
  
  <hr>
  
  <p>Webservice (running locally)...</p>
  
  <p> _
  Public Function GetXML(ByVal strXML As String) As XmlDocument...
  Dim retXML As XmlDocument = New XmlDocument()</p>
  
  <p>...CODE....</p>
  
  <p>Return retXML</p>
  
  <hr>
  
  <p>Calling Function:</p>
  
  #
  
  <p>GetStat() {</p>
  
  <p>var Url = '<a href="http://localhost/myService.asmx?op=GetXML" rel="nofollow noreferrer">http://localhost/myService.asmx?op=GetXML</a>';</p>
  
  <p>var msg = '
   
    
      55
      POPE
      myUser<br>
      myPwd<br>
    <br>
   <br>
  ';</p>
  
  <pre><code>$.ajax({
      url: Url,
      type: "POST",
      dataType: "text/xml",
      data: msg,
      complete: processResult,
      contentType: "text/xml"
  });
  
  return false;
  </code></pre>
  
  <p>}</p>
  
  <p>function processResult(xmlData, status) {
      var jData = $(xmlData);
  }</p>
  
  #
  
  <p>Thanks!</p>