I have 5 dataconnection on my form. I'm changing the soap address as given below.
xfa.connectionSet.DataConnection.soapAddress.value = "http://192.168.16.40:8080/nicsaarthi/services/NewLicenceService";
It works fine only for 3 DataConnection out of 5. For 2 DataConnection it doesn't work on same form.