[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Premature end of file



Hi Scott

Sorry if u r offended but my question was based on calling a
webservice using rpg. Thank you for the httpapi it has been very
helpful in making things easier.

On the question that I asked regarding end of file it was based on the
error that I was getting back when a webservice within rpg and I was
hoping that maybe someone within the group had had a similar error.

Regards

On 1/31/07, Scott Klement <sk@xxxxxxxxxxxxxxxx> wrote:
> Folks,
>
> This is a mailing list for discussing the HTTPAPI and FTPAPI open source
> projects. Both are RPG service programs. The people who subscribe to this
> mailing list do so because they're interested in one or both of those
> projects.
>
> For discussion of other topics (such as Java programming) please use a
> different mailing list that's geared towards your subject.
>
> Midrange.com offers some absolutely wonderful lists, including one on
> using Java from the System i:
> http://www.midrange.com/lists.htm
>
> If you prefer Web-based forums (I've found that I like them better in many
> ways) you might try the SystemiNetwork.com forums, again, they cover just
> about any System i topic:
> http://www.systeminetwork.com/isnetforums/
>
> For this list, please stay on the topic of FTPAPI and HTTPAPI.  Thanks!
>
> --
> Scott Klement  http://www.scottklement.com
>
> On Wed, 31 Jan 2007, ntobeko ngcobo wrote:
>
> > Hi
> >
> > Does anyone know how to solve this error when calling webservices from java.
> >
> > The dump is as follows
> >
> > SystemErr     R org.xml.sax.SAXParseException: Premature end of file.
> >       at java.lang.Throwable.<init>(Throwable.java:196)
> >       at java.lang.Exception.<init>(Exception.java:41)
> >       at org.xml.sax.SAXException.<init>(Unknown Source)
> >       at org.xml.sax.SAXParseException.<init>(Unknown Source)
> >       at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> > Source)
> >       at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
> >       at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> >       at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
> >       at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown
> > Source)
> >       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> >       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> >       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> >       at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
> >       at javax.xml.parsers.SAXParser.parse(Unknown Source)
> >       at com.aspire.services.templateManager.TemplateManagerImpl.generateDocument(TemplateManagerImpl.java:175)
> > -----------------------------------------------------------------------
> > This is the FTPAPI mailing list.  To unsubscribe, please go to:
> > http://www.scottklement.com/mailman/listinfo/ftpapi
> > -----------------------------------------------------------------------
> >
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------