I want to dynamically change the server that my web service connections point to in my LiveCycle forms but when I do xfa.connectionSet.MyConnection.soapAddress.value = myUrl it is ignored. How can I set the soapAddress dynamically at runtime?
You need to clone your connection to set the value at runtime..
In the below example, replace SearchData with your Data Connection name.
var oCS = xfa.connectionSet.SearchData.clone(1);
oCS.soapAddress.value = "http://YourWebServiceURL?wsdl";
oCS.execute(0);
Thanks
Srini
North America
Europe, Middle East and Africa
Asia Pacific