Hi All,
I have created one jsp and tested in jboss application. I have faced one problem.
Please help me....
Error msg:
com.adobe.formServer.interfaces.RenderFormException: java.rmi.RemoteException: java.io.FileNotFoundException: http:\localhost:8080\Forms\js\test.xdp (The filename, directory name, or volume label syntax is incorrect); nested exception is: com.adobe.formServer.interfaces.RenderFormException: java.io.FileNotFoundException: http:\localhost:8080\Forms\js\test.xdp (The filename, directory name, or volume label syntax is incorrect)
String sFormQuery = "LeaveRequestForm.xdp";
String sFormPreference = "MSDHTML";
String sContentRootURI = "http://localhost:8080/LeaveRequest/forms";
String sTargetURL = "http://localhost:8080/LeaveRequest/LeaveRequestForm";
String sApplicationWebRoot = "http://localhost:8080/LeaveRequest";
my jsp code:
try
{
IOutputContext oIOC = null;
SOAPClient oFS = new SOAPClient();
byte[] cContent = null;
URL endPoint = new URL( "http://localhost:8080/jboss-net/services/AdobeFSService" );
endPoint.openConnection().connect();
oFS.setSoapEndPoint( endPoint.toString() );
oIOC = oFS.renderForm(sFormQuery,"PDF",null,"OutputType=0","Mozilla/3.*","http://localhost:8080",null,sContentRootURI,null);
cContent = oIOC.getOutputContent();
ServletOutputStream oOutput = response.getOutputStream();
response.setContentType(oIOC.getContentType());
oOutput.write(cContent);
}
catch(Exception e)
{
}
Thanks,
Saravanan