Tobias, I do the same developpment and i had your problem. I correct it install Fop package in the Tomcat Directory (in jakarta\soap\Web-inf\classes to my case)
Marina ----- Original Message ----- From: "Tobias Mueller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 12:51 AM Subject: SOAP Error > Hi! > > I'm trying to develop a WebService which generates a certain PDF file (via > FOP / Tomcat 4.0.3). The WebService is basically a bean, which Publish() > tries to do the generation. The XML and XSL File is available on the > Server. But I always receive this message: > > Fault Code = SOAP-ENV:Server.Exception: > Fault String = org/apache/fop/apps/InputHandler > > The SourceCode is the following: > > ackage Publishing; > > import java.io.*; > import java.util.*; > > import org.xml.sax.InputSource; > import org.xml.sax.XMLReader; > > import org.apache.fop.apps.Driver; > import org.apache.fop.apps.Version; > import org.apache.fop.apps.InputHandler; > import org.apache.fop.apps.XSLTInputHandler; > > import org.apache.log.*; > > public class generatePDF { > > public void Publish(String XMLfile, String XSLfile, String outFile) throws > Exception { > > File MyXMLfile = new File(XMLfile); > File MyXSLfile = new File(XSLfile); > > try { > > Driver driver = new Driver(); > driver.setRenderer(Driver.RENDER_PDF); > InputHandler inputHandler = new XSLTInputHandler(MyXMLfile, MyXSLfile); > XMLReader parser = inputHandler.getParser(); > driver.setOutputStream(new FileOutputStream(outFile)); > driver.render(parser, inputHandler.getInputSource()); > > } catch (Exception ex) { > > System.out.println(ex); > > } > > //return "built " + outFile; > } > > }