Hello everybody! I'm desperate and need assistance. I have InfoPath 2007 form with JS code behind. Also I have a WCF service. Here's a JS code in XDocument::OnLoad(eventObj) function to fill in drop down list with data.
var formName = 'RegistrationForm';
var code = ...