I'm interfacing to a .NET web service. I tried using a web service data connection, but it seems that the Adobe SOAP is different from the SOAP that my .NET web method was expecting (method parameters are passed differently - and I called Adobe who do not offically support .NET).
So I'm manually calling my web service in javascript on the click event of a button, which works fine including loading my data into the form - the call looks something like this:
var cURL = "http://localhost/WebService/WebService.wsdl";
SOAP.wireDump = true;
var service = SOAP.connect(cURL);
var result = service.GetData ();
xfa.data.loadXML(result, 0,1);
But what I really want to do is have this code executed as the form is loaded i.e. on the initialize or form:load events, rather than have the user click a button.
Thanks