I'm looking for some help on constructing the soap envelope correctly so that I can make an .ajax type call from a web page to invoke the form service to render a specific form.
The examples provided for invoking the FormsService are .net and Java but I'm looking for something a little more hand-rolled that aren't taking advantage of the exposed APIs.
I'm trying to do something as simple as... but really have no clue what all needs to be included in the envelope.
It feels incomplete but that's why I'm posting... looking for assistance!
var soapRequest = "";
soapRequest += '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"';
soapRequest += '<soapenv:Body>';
soapRequest += '<ser:renderHTMLForm2>';
soapRequest += '<ser:inFormDoc>';
soapRequest += '<ser:remoteURL>http://localhost:8080/lc/content/xfaforms/profiles/default.html?conten tRoot=/samples/forms&template=Test.xdp</ser:remoteURL>';
soapRequest += '</ser:inFormDoc>';
soapRequest += '<ser:transformTo>HTML4</transformTo>';
soapRequest += '</soapenv:Body>';
soapRequest += '</soapenv:Envelope>';
I'm interested in doing some testing on the service using SoapUI -- if that's possible also...
Any thoughts on this subject would be greatly appreciated.