users@jax-rpc.java.net

Re: SOAP Exception in JAX-RPC Servlet

From: V B Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Sat, 10 Mar 2007 08:15:53 +0530

Hi,

   The real Cause of the SOAPException is shown at the end of your email :

Caused by: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: XML document structures must start and en d
within the same entity.

It appears the XML document stream is somehow incomplete or truncated and that is causing this exception.

Thanks.


Rohra, Prakash N. , CTR. ,,DMDC/BEAU wrote:

>Hello..
>
>In our environment we are using Sun One Web Server 6 forwarding HTTPS/SOAP
>requests to Sun One App Server 7. We use JAX-RPC version 1.1.
>
>We are seeing below mentioned errors. These are not consistantly happening
>everytime in the application execution, but we have seen them occuring more
>frequently (There has been no change to application deployment). We have
>also seen some unusually high TCP packet re-transmission rate (10 to 40%)
>between client and Web server.
>
>Can somebody shed some light on what might be causing this?
>Thanks.
>
>============================================================================
>=======================
>
>[08/Mar/2007:08:47:15] SEVERE ( 5762): SAAJ0511: Unable to create envelope
>from given source [08/Mar/2007:08:47:15] SEVERE ( 5762): JAXRPC.TIE.01:
>caught exception while handling request:
>com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from
>given source:
>com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from
>given source:
> at
>com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFacto
>ry.java:71)
> at
>com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSou
>rce(SOAPPart1_1Impl.java:34)
> at
>com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:8
>2)
> at
>com.sun.xml.rpc.client.HandlerChainImpl.checkMustUnderstand(HandlerChainImpl
>.java:209)
> at
>com.sun.xml.rpc.server.StreamingHandler.callRequestHandlers(StreamingHandler
>.java:679)
> at
>com.sun.xml.rpc.server.StreamingHandler.preHandlingHook(StreamingHandler.jav
>a:624)
> at
>com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:70)
> at
>com.sun.xml.rpc.server.http.JAXRPCServletDelegate.doPost(JAXRPCServletDelega
>te.java:316)
> at
>com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:69)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardW
>rapperValve.java:720)
> at
>org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValv
>e.java:118)
> at
>org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.jav
>a:278)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>va:274)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>va:212)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203
>)
> at
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
>com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.ja
>va:158)
> at com.iplanet.ias.web.WebContainer.service(WebContainer.java:850)
>Caused by: javax.xml.transform.TransformerException:
>org.xml.sax.SAXParseException: XML document structures must start and en d
>within the same entity.
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
>For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net
>
>
>