Expand my Community achievements bar.

Premature End of File Exception

Avatar

Former Community Member
When I invoke the Assembler Service via Web Service in Java 1.4 environment I get the following exception:<br /><br />org.xml.sax.SAXParseException: Premature end of file.<br /> at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)<br /> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)<br /> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)<br /> at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)<br /> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)<br /> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)<br /> at org.apache.axis.client.Call.invoke(Call.java:2767)<br /> at org.apache.axis.client.Call.invoke(Call.java:2443)<br /> at org.apache.axis.client.Call.invoke(Call.java:2366)<br /> at org.apache.axis.client.Call.invoke(Call.java:1812)<br /> at com.adobe.idp.services.AssemblerServiceSoapBindingStub.invoke(AssemblerServiceSoapBindingStub.java:264)<br /><br />I am using the DDX given in the SDK Documentation.<br /><br />File DDXFile = new File("C:\\DDX.xml");<br /> FileInputStream fis = new FileInputStream(DDXFile);<br /> byte[] ddxBytes = new byte[new Long(DDXFile.length()).intValue()];<br /> fis.read(ddxBytes); fis.close();<br /><br /> ddxDoc.setBinaryData(ddxBytes); <br /> <br /> CfLogWriter.debug("The DDX Sent to Assembler:\n" + DDX);<br /> // Execute the Assembler Service<br /> AssemblerService assemblerService = getAssemblerService();<br /> AssemblerResult jobResult = assemblerService.invoke(ddxDoc,inputMap,assemblerSpec);<br /><br />DDX File:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><DDX xmlns="http://ns.adobe.com/DDX/1.0/"><br /><PDF result="out.pdf"><br /><PDF source="map.pdf" /><br /><PDF source="directions.pdf" /><br /></PDF><br /></DDX><br /><br /> Any ideas?
1 Reply

Avatar

Former Community Member
Phrase Express does not work when Victors (our current project) is opened up with a Firefox Browser.

Phrase Express is a tool that will allow a pre-typed clause to be populated onto the title (or tax) typing form. When Victors is opened in IE, the tool works perfectly. If Victors is opened in Firefox (either 2.0 or 3.0), the typing form loses focus when Phrase Express is accessed, and so the clause does not know where to go. If you use a hot key from Phrase Express (such as Ctrl-Shift-O for the degree symbol), Phrase Express does not lose focus, and can be used.

We also loaded at different websites and saw that Phrase Express will lose focus in them when using a Firefox browser as well.