title: Using Ext.Ajax.request to call cross-domain web service that requires WS Reliable Messaging
body: <p>We currently have a javascript client successfully accessing a web service on another domain using something similar to the following code:</p>
  
  <pre><code>var postXml = "" +
  
      "&lt;aaa:getSomething&gt;" +
          "&lt;param1&gt;" + obj.param1 + "&lt;/param1&gt;" +
          "&lt;param2&gt;" + obj.param2 + "&lt;/param2&gt;" +
      "&lt;/aaa:getSomething&gt;";
  
      var data = this.createEnvelope(postXml);
      var request = Ext.Ajax.request({
          url : this.webServiceUrl,
          method : "POST",
          callback : this.onGetSomething,
          obj : obj,
          scope : this,
          headers : {
              SOAPAction: "urn:onGetSomething"
          },
          xmlData : data
      });
  </code></pre>
  
  <p>We are being required to add WS-ReliableMessaging to our web service.  Is there a way to modify our javascript client to connect to the new WS-ReliableMessaging-enabled service?  I'm not very Javascript-savvy, but from my research so far I suspect the only way might be to make the Ajax request to a local server-side proxy JSP that makes the call from Java, is this the case?</p>