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.
Joined: Apr 17, 2006
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).