Since the error is occurring on the client, I suggest you try the nightly build on the client. You can download it from http://cvs.apache.org/dist/soap/nightly/2003-09-09/.
Again, you may want to look at http://marc.theaimsgroup.com/?l=soap-user&w=2&r=1&s=%22premature+end&q=b for discussions of this problem other users had. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Wing Chan" <[EMAIL PROTECTED]> To: "Scott Nichol" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 9:56 AM Subject: Re: cvs commit: xml-soap/java/src/org/apache/soap/transport/httpSOAPHTTPConnection.java Yes. I got that full message exception. Premature end of stream. Data is truncated. Read 69256 bytes successfully, expected 357512 No, not always. Only when server returns large size of data like >300K. Strange that it always chops at 69256. I am using the attached jar, what version is it? Where can I download the nightly build? Do I need to apply it in both server and client? We are using WAS 4.0.2. In this WAS, it has a appServer\lib\soap.jar and appServer\lib\app\soap-2_3_1.jar, but they are not the same size. Also strangely I have to delete app\soap-2_3_1.jar so my server can start. ----- Original Message ----- From: "Scott Nichol" <[EMAIL PROTECTED]> To: "Wing Chan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, March 06, 2004 20:51 Subject: Re: cvs commit: xml-soap/java/src/org/apache/soap/transport/httpSOAPHTTPConnection.java > The full message is "Premature end of stream. Data is truncated. Read xxxx bytes successfully, expected yyyy", right? This means the HTTP Content-Length header said the HTTP body had yyyy bytes, but the client got an end-of-file after reading xxxx bytes from its input stream. > > Do you always get this error calling this particular method, or just sometimes? > > Can you try using the nightly build instead of the 2.3.1 release? > > Scott Nichol > > Do not send e-mail directly to this e-mail address, > because it is filtered to accept only mail from > specific mail lists. > ----- Original Message ----- > From: "Wing Chan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, March 05, 2004 11:16 PM > Subject: Re: cvs commit: xml-soap/java/src/org/apache/soap/transport/httpSOAPHTTPConnection.java > > > Hi Scott, > > I am using SOAP 2_3_1 in the client, while server side is from WAS 4.0.2 > > However I got SOAPException from client "Premature .... Data is truncated..." > > I checked server that no special error threw when sending data. > > I am now seeking your help on this. > > I read this mail group and got something might be related. Can you tell me about what actually does this error? > How can I solve it? > > I need your help. > > Regards, > Wing > >