title: How to return xml data to jquery ajax call from webservice
body: <p>This is my ajax call to webservice -JsonWebService.asmx file</p>
  
  <pre><code> $.ajax({
                      type: "POST",
                      async: false, 
                      url: "/blkseek2/JsonWebService.asmx/GetList",
                      data: keyword2,
                      contentType: "application/xml; charset=utf-8",
                      success: ajaxCallSucceed,
                      dataType: "xml",
                      failure: ajaxCallFailed
                  });
  </code></pre>
  
  <p>This is my method for success ,how will i capture xml response in success method  </p>
  
  <pre><code>function ajaxCallSucceed(response) {
      alert(response.d);
      /// here i need to write code to capture response xml doc file
  }
  </code></pre>
  
  <p>This is my code written in webservice jsonwebservice.asmx.cs file,I am able create xml sucess fully but i am finding difficulty in returning xml back to ajax call</p>
  
  <pre><code>[WebMethod]
      [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
      public XmlDocument GetList(string keyword1, string streetname, string lat, string lng, string radius)
      {
          XmlDocument xmldoc= CreateXML( keyword1,streetname,lat,lng,radius);
  
  
  
          return xmldoc;
  
      }
  </code></pre>