This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi,
Getting com.adobe.livecycle.formsservice.exception.RenderFormException: java.lang.IllegalStateException
Code is as below
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT,
"https://mywebsphere.net:22910");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,
ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE,"WebSphere");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
String formServiceUrl = "https://mywebsphere.net:22910/FormsQS";
String formServiceTargetUrl = "https://mywebsphere.net:22910/FormsQS/HandleData";
String templateDir = "/com/adobe/template";
String templateName = "template1 .xdp";
InputStream invcStream = new ByteArrayInputStream(invcXmlString.getBytes());
Document inXMData = new Document(invcStream);
URLSpec uriValues = new URLSpec();
uriValues.setApplicationWebRoot(formServiceUrl);
uriValues.setContentRootURI(templateDir);
uriValues.setTargetURL(formServiceTargetUrl);
PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
pdfFormRenderSpec.setCacheEnabled(new Boolean(false));
pdfFormRenderSpec.setPDFVersion(PDFVersion.PDFVersion_1_6);
FormsResult formOut = formsClient.renderPDFForm(templateName, // formQuery
inXMData, // inDataDoc
pdfFormRenderSpec, // PDFFormRenderSpec
uriValues, // urlSpec
null // attachments
);
Please give some inputs to resolve this.
Views
Replies
Total Likes
Can you post the entire error message? Especially the Caused By section.
Jasmin
Views
Replies
Total Likes
Hi Jasmin,
SOAP reqired axis.jar, after providing the axis1.3.jar problem resolved.
Thanks,
Abhijit
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies