Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
JSP - A mailing list about Java Server Pages specification and reference
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Apache SOAP - Data is truncated

Apache SOAP - Data is truncated

2006-11-23       - By Andrew Friebel

 Back
I would like some assistance with using apache soap.  My client and
server are configured to use SSL (client authentication).  When I send a
message by invoking the "send" method on a "Message" instance, I get the
following stack trace:

[SOAPException: faultCode=SOAP-ENV:Protocol; msg=Premature end of
stream. Data is truncated. Read 1444 bytes successfully, expected 8192]
       at
org.apache.soap.transport.TransportMessage Source code of org.apache.soap.transport.TransportMessage<init>(TransportMessage.java:
145)
       at org.apache.soap.util.net.HTTPUtils Source code of org.apache.soap.util.net.HTTPUtils(HTTPUtils.java:379)
       at
org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnectio
n.java:309)
       at org.apache.soap.messaging.Message Source code of org.apache.soap.messaging.Message(Message.java:123)
       at
com.reynolds.webservices.ProcessInputStream.sendMsg(ProcessInputStream.j
ava:308)
       at
com.reynolds.webservices.SocketFromEra.execute(SocketFromEra.java:113)
       at
com.reynolds.webservices.SocketFromEra.doPost(SocketFromEra.java:78)
       at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:709)
       at javax.servlet.http.HttpServlet Source code of javax.servlet.http.HttpServlet(HttpServlet.java:802)
       at
org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain(Applica
tionFilterChain.java:237)
       at
org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain(ApplicationFilt
erChain.java:157)
       at
org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve(StandardWrapperValv
e.java:214)
       at
org.apache.catalina.core.StandardValveContext Source code of org.apache.catalina.core.StandardValveContext(StandardValveCo
ntext.java:104)
       at
org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:5
20)
       at
org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve(StandardCon
textValve.java:198)
       at
org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve(StandardContextValv
e.java:152)
       at
org.apache.catalina.core.StandardValveContext Source code of org.apache.catalina.core.StandardValveContext(StandardValveCo
ntext.java:104)
       at
org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:5
20)
       at
org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve(StandardHostValve.java
:137)
       at
org.apache.catalina.core.StandardValveContext Source code of org.apache.catalina.core.StandardValveContext(StandardValveCo
ntext.java:104)
       at
org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve(ErrorReportValve.java
:117)
       at
org.apache.catalina.core.StandardValveContext Source code of org.apache.catalina.core.StandardValveContext(StandardValveCo
ntext.java:102)
       at
org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:5
20)
       at
org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve(StandardEngineValve.
java:109)
       at
org.apache.catalina.core.StandardValveContext Source code of org.apache.catalina.core.StandardValveContext(StandardValveCo
ntext.java:104)
       at
org.apache.catalina.core.StandardPipeline Source code of org.apache.catalina.core.StandardPipeline(StandardPipeline.java:5
20)
       at
org.apache.catalina.core.ContainerBase Source code of org.apache.catalina.core.ContainerBase(ContainerBase.java:929)

       at
org.apache.coyote.tomcat5.CoyoteAdapter Source code of org.apache.coyote.tomcat5.CoyoteAdapter(CoyoteAdapter.java:160)
       at
org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor.java:79
9)
       at
org.apache.coyote.http11.Http11Protocol Source code of org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:705)
       at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57
7)
       at
org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:683)
       at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)

My message reaches its destination with no hassles, however, I can't
read the response from the call to 'send'.

Has anyone got any ideas as to why I am unable to read the response from
the other end?

Regards,
Andrew

©2008 junlu.com - Jax Systems, LLC, U.S.A.