I'm getting this error since upgrading to the latest XMLBeans 2.2.0. Seems this has been around for a while. Is there any way I can get round the error?

      InputStream in = aaConnection.getInputStream();
BufferedReader buffer = new BufferedReader(new InputStreamReader(in));
      StringBuffer stringBuffer = new StringBuffer();
      String line = null;
      while ((line = buffer.readLine()) != null) {
        stringBuffer.append(line);
      }
      in.close();

soapEnvelopeDoc = EnvelopeDocument.Factory.parse (stringBuffer.toString());

the first time it runs it's fine. The second time I get this error:

org.apache.xmlbeans.XmlException: error: Unexpected end of file after null

thanks,

Alistair


--------------
mov eax,1
mov ebx,0
int 80h




Reply via email to