Help... Test send message and get Error.Invalid SOAP message: Unable to create envelope from given source

256 views
Skip to first unread message

Aldi

unread,
Apr 13, 2011, 12:28:13 AM4/13/11
to Hermes 2.0 Discussion List
hi all, i got error when i test hermes send message to my partner.

any advice?

2011-04-13 11:05:21 [http-8443-4 ] <ERROR> <SOAP fault exception
trace>
hk.hku.cecid.piazza.commons.soap.SOAPFaultException: Invalid SOAP
message: Unable to create envelope from given source:
by com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
create envelope from given source:
by javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: Premature end of file.
by org.xml.sax.SAXParseException: Premature end of file.
at
hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:
119)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:
126)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doGet(HttpDispatcher.java:
266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
2011-04-13 11:05:13 [http-8443-5 ] <DEBUG> <Request#13292599:/ebms/
message...@183.91.65.94 is being processed by hk.hku.
cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-8 ] <DEBUG> <Request#9046490:/ebms/
message...@183.91.65.94 had been processed successfull
y for 0 ms>
2011-04-13 11:05:13 [http-8443-3 ] <DEBUG> <Request#4925903:/ebms/
message...@183.91.65.94 is being processed by hk.hku.c
ecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-6 ] <DEBUG> <Request#32063489:/ebms/
message...@183.91.65.94 had been processed successful
ly for 2 ms>
2011-04-13 11:05:13 [http-8443-5 ] <DEBUG> <Request#13292599:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-4 ] <DEBUG> <Request#32238810:/ebms/
message...@183.91.65.94 is being processed by hk.hku.
cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-3 ] <DEBUG> <Request#4925903:/ebms/
message...@183.91.65.94 had been processed successfull
y for 0 ms>
2011-04-13 11:05:13 [http-8443-4 ] <DEBUG> <Request#32238810:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-2 ] <DEBUG> <Request#1386051:/ebms/
message...@183.91.65.94 is being processed by hk.hku.c
ecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-7 ] <DEBUG> <Request#31439293:/ebms/
message...@183.91.65.94 is being processed by hk.hku.
cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-2 ] <DEBUG> <Request#1386051:/ebms/
message...@183.91.65.94 had been processed successfull
y for 1 ms>
2011-04-13 11:05:13 [http-8443-7 ] <DEBUG> <Request#31439293:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-6 ] <DEBUG> <Request#32063489:/ebms/
message...@183.91.65.94 is being processed by hk.hku.
cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-5 ] <DEBUG> <Request#13292599:/ebms/
message...@183.91.65.94 is being processed by hk.hku.
cecid.ebms.admin.listener.MessageHistoryPageletAdaptor@8321c8>
2011-04-13 11:05:13 [http-8443-6 ] <DEBUG> <Request#32063489:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-5 ] <DEBUG> <Request#13292599:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-9 ] <DEBUG> <Request#9231886:/ebms/
message...@183.91.65.94 had been processed successfull
y for 659 ms>
2011-04-13 11:05:21 [http-8443-4 ] <DEBUG> <Request#32238810:/ebms/
inb...@183.91.65.94 is being processed by hk.hku.cecid.eb
ms.spa.listener.EbmsInboundListener@2f719a>
2011-04-13 11:05:21 [http-8443-4 ] <ERROR> <SOAP fault exception
trace>
hk.hku.cecid.piazza.commons.soap.SOAPFaultException: Invalid SOAP
message: Unable to create envelope from given source:
by com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
create envelope from given source:
by javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: Premature end of file.
by org.xml.sax.SAXParseException: Premature end of file.
at
hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:
119)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:
126)
2011-04-13 11:05:13 [http-8443-6 ] <DEBUG> <Request#32063489:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-5 ] <DEBUG> <Request#13292599:/ebms/
message...@183.91.65.94 had been processed successful
ly for 1 ms>
2011-04-13 11:05:13 [http-8443-9 ] <DEBUG> <Request#9231886:/ebms/
message...@183.91.65.94 had been processed successfull
y for 659 ms>
2011-04-13 11:05:21 [http-8443-4 ] <DEBUG> <Request#32238810:/ebms/
inb...@183.91.65.94 is being processed by hk.hku.cecid.eb
ms.spa.listener.EbmsInboundListener@2f719a>
2011-04-13 11:05:21 [http-8443-4 ] <ERROR> <SOAP fault exception
trace>
hk.hku.cecid.piazza.commons.soap.SOAPFaultException: Invalid SOAP
message: Unable to create envelope from given source:
by com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
create envelope from given source:
by javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: Premature end of file.
by org.xml.sax.SAXParseException: Premature end of file.
at
hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:
119)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.processRequest(HttpDispatcher.java:
126)
at
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.doGet(HttpDispatcher.java:
266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:
433)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:595)
Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to
create envelope from given source:
at
com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:
148)
at
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:
102)
at
com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:
156)
at
hk.hku.cecid.piazza.commons.soap.SOAPHttpAdaptor.processRequest(SOAPHttpAdaptor.java:
116)
... 17 more
Caused by: javax.xml.transform.TransformerException:
org.xml.sax.SAXParseException: Premature end of file.
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:
502)
at
com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.ja
va:423)
at
com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:
136)
... 20 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:
1269)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:
333)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:
485)
... 22 more
2011-04-13 11:05:21

Apacus H2O Support

unread,
Sep 1, 2011, 11:08:58 PM9/1/11
to cecid-...@googlegroups.com
Hello, it seems that this is caused by the response message generated by your partner side. I mean, you tried to send a message to somewhere, and that somewhere respond with a message that could not be understood by Hermes.

Apacus Support Team



--
You received this message because you are subscribed to the Google Groups "Hermes 2.0 Discussion List" group.
To post to this group, send email to cecid-...@googlegroups.com.
To unsubscribe from this group, send email to cecid-hermes...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cecid-hermes2?hl=en.


Reply all
Reply to author
Forward
0 new messages