We currently have a javascript client successfully accessing a web service on another domain using something similar to the following code:
var postXml = "" +
"<aaa:getSomething>" +
"<param1>" + obj.param1 + "</param1>" +
"<param2>" + obj.param2 + "</param2>" +
"</aaa:getSomething>";
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
});
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?