A few questions... 1. What version of Apache SOAP are you using?
2. A client of this service should get a Fault. Can you post the full output of the fault? In Apache SOAP, use Fault#toString. 3. Is your service RPC-style or messaging? The messaging is where your method receives SOAPContext for request and response, and you have to work with XML directly. 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: "nilesh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 12:49 PM Subject: Error building response envelope Hi All, my soap service is generating following error.... javax.servlet.ServletException: Error building response envelope: [SOAPException: faultCode=SOAP-ENV:Server; msg=java.lang.IllegalArgumentException: Attempted to write longer than Content-Length (655 + 468 / 655)] Can any one tell me the reasons for error and how to resolve.... Thx Nilesh