I did a script in a livecycle ES2 Template in the event layout::ready.
It call a web service using the SOAP method to get a base64 image from
another server.The code is (the service called is fake, but it is not
the problem):var sOptions = "";var imageType="JPEG";var input=
{imageType:sItype, options:sOptions}; var svcResponse;try { var oListURL
= "http://someserver.somedomain.com:8080/service?wsdl"; SOAP.wireDump =
true; var service = SOAP.connect(oListURL); //call the service
svcResponse = ser...