axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jenny N Zhang (JIRA)" <>
Subject [jira] Updated: (AXIS2-821) Getting errors when sending attachement using MTOM.
Date Thu, 15 Jun 2006 15:45:30 GMT
     [ ]

Jenny N Zhang updated AXIS2-821:


Server side code

> Getting errors when sending attachement using MTOM.
> ---------------------------------------------------
>          Key: AXIS2-821
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>     Versions: 1.0
>  Environment: TOMCAT 5.5.17 + AXIS2 1.0 + W2k + JDK1.5.06 
>     Reporter: Jenny N Zhang
>  Attachments:,, test.xml
> I was trying to use MTOM attachment  to send a test.xml to server.  Unfortunately no
SOAP messages were catched by SOAPMonitor, and I got errors in windows's console (listed below).
 The problem appeared to be similar to JIRA AXIS2-753 which hasn't been solved, but I am not
sure if they are the same, since in my case both SOAP1.1 and SOAP1.2 did not work. 
> It looked like that the SOAP envelop did not generate successfully, I tried both SOAP1.1
and  SOAP1.2, but get the same error result.  I also tried to send a test1.jpg file instead
of test.xml, but the result is the same.  
> ---------------- errors ---------------------
> "
> [java] log4j:WARN No appenders could be found for logger (
> [java] log4j:WARN Please initialize the log4j system properly.
> [java] org.apache.axis2.AxisFault: Transport error 500 . Error Message is <html><head><title>Apache
Tomcat/5.5.17 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color
: black;} {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP
Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b>
Exception report</p><p><b>message</b> <u></u></p><p><b>description</b>
<u>The server encountered an internal error () that prevented it from fulfilling this
request.</u></p><p><b>exception</b> <pre>
SOAPEnvelope must contain a body element which is either first or second child element of
the SOAPEnvelope.
>      [java]     org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getBody(
>      [java]     org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.addChild(
>      [java]     org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(
>      [java]     org.apache.axis2.engine.AxisEngine.createFaultMessageContext(
>      [java]     org.apache.axis2.transport.http.AxisServlet.handleFault(
>      [java]     org.apache.axis2.transport.http.AxisServlet.doPost(
>      [java]     javax.servlet.http.HttpServlet.service(
>      [java]     javax.servlet.http.HttpServlet.service(
>      [java] </pre></p><p><b>note</b> <u>The full
stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.</u></p><HR
size="1" noshade="noshade"><h3>Apache Tomcat/5.5.17</h3></body></html>;
> ........ (repeated the above error again)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message