How to make web service in xdp file working in HTML form after conversion
Hello there,
How to make web service in xdp file work after the xdp file is converted to HTML form?
For example, the xdp contains javascripts (or use ConnectionSet) to call web service
form1.#subform[0].Button1::click - (JavaScript, server)
var countryTextField = "AFK";
var cURL = "http://webservices.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL";
SOAP.wireDump = false;
var service = SOAP.connect(cURL);
var Input = {sCountryISOCode:countryTextField};
var result = service.FullCountryInfo(Input);
tfCurrency.rawValue = result.sCurrencyISOCode;
tfCapital.rawValue = result.sCapitalCity;
Is there any way make the web service working in previewHTML or HTML form converted from xdp?
Please suggest.
Thanks in advance.
Harry