| Author |
Premature end of stream
|
prasuna koneru
Greenhorn
Joined: Aug 16, 2006
Posts: 1
|
|
Hi, does anyone have an idea of why a web service would sporadically get errors like this; Fault Code=SOAP-ENV rotocol Exception Text=Premature end of stream. Data is truncated. Read 70983 bytes successfully, expected 101979 It's built with Apache SOAP 2.3.1 & JDK 1.3 Any help would be greatly appreciated.
|
 |
Watsh Rajneesh
Ranch Hand
Joined: Apr 17, 2006
Posts: 109
|
|
The HTTP protocol provides only a low-level degree of robustness. To illustrate, HTTP has no automatic retries to reestablish a connection that disconnects. If the receiving end fails, the entire HTTP call fails and there is no attempt to connect later. This low-level degree of robustness is not necessarily bad, since it means that HTTP can accommodate the participation of all kinds of systems and networks in a distributed Internet environment. HTTP is also a fairly simple protocol that any system can implement with a reasonable amount of effort. Read this for a strategy to build a fault-tolerant webservice (requiring retries and idempotency of endpoints).
|
SCJP 5.0 (90%), SCDJWS 1.4 (88%), SCWCD 1.4 (82%), SCBCD 1.3 (85%)
|
 |
 |
|
|
subject: Premature end of stream
|
|
|