Hello,
I am successfully rendering a .xdp form in HTML + Weblogic Portal.
However, on Submit, when I process the post, I am getting ProcessFormSubmissionException:"read EOF on inputStream with 512 bytes pending".
The xdp form's submit method is set to XDP.
Thanks in advance.
Here is the code:
public static String getFormData(HttpServletRequest request)
{
try
{
// Process the form submission to extract the form dat
IFormServer ifs = (IFormServer) new EJBClient();
IOutputContext ioc = ifs.processFormSubmission(request, "OutputType=1");
byte[] formData = ioc.getOutputContent();
String formXML = new String(formData);
return formXML;
}
catch (ProcessFormSubmissionException formException){
// process error
}
}