- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Note that you do not want to cahnge the submit URL but the soapAddress......but that is protected too. The soapAddress is not a bindable property but you get get the value from a bound hidden field or you can get the address from the data dom yourself.
Either way the issue is with Acrobat security .....it will not allow you to modify the soap address on the fly. The dom which holds this information is protected (for security reasons). So we can clone it and use the cloned connection and change that address. Here is some code which does that:
//xfa.connectionSet.DataConnection.soapAddress.value
var
oCS = xfa.connectionSet.DataConnection.clone(1);
app.alert(oCS.soapAddress.value);
//app.alert(xfa.connectionSet.DataConnection.soapAddress.value)
oCS.soapAddress.value
= "http://pgdell:8080/soap/services/WebServiceTest";
app.alert(oCS.soapAddress.value);
oCS.execute(0);
Hope that helps
Paul
Views
Replies
Total Likes