Return-Path:
Delivered-To: apmail-ws-axis-dev-archive@www.apache.org
Received: (qmail 19851 invoked from network); 15 Jun 2006 15:44:49 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 15 Jun 2006 15:44:49 -0000
Received: (qmail 71358 invoked by uid 500); 15 Jun 2006 15:44:46 -0000
Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org
Received: (qmail 71315 invoked by uid 500); 15 Jun 2006 15:44:45 -0000
Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm
Precedence: bulk
Reply-To: axis-dev@ws.apache.org
list-help:
list-unsubscribe:
List-Post:
List-Id:
Delivered-To: mailing list axis-dev@ws.apache.org
Received: (qmail 71304 invoked by uid 99); 15 Jun 2006 15:44:45 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2006 08:44:45 -0700
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=
X-Spam-Check-By: apache.org
Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198)
by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2006 08:44:45 -0700
Received: from brutus (localhost [127.0.0.1])
by brutus.apache.org (Postfix) with ESMTP id 5A6987141D1
for ; Thu, 15 Jun 2006 15:43:30 +0000 (GMT)
Message-ID: <8431296.1150386210346.JavaMail.jira@brutus>
Date: Thu, 15 Jun 2006 15:43:30 +0000 (GMT+00:00)
From: "Jenny N Zhang (JIRA)"
To: axis-dev@ws.apache.org
Subject: [jira] Updated: (AXIS2-821) Getting errors when sending attachement
using MTOM.
In-Reply-To: <18973157.1150385789770.JavaMail.jira@brutus>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N
[ http://issues.apache.org/jira/browse/AXIS2-821?page=3Dall ]
Jenny N Zhang updated AXIS2-821:
--------------------------------
Attachment: MTOMClient.java
Client side code
> Getting errors when sending attachement using MTOM.
> ---------------------------------------------------
>
> Key: AXIS2-821
> URL: http://issues.apache.org/jira/browse/AXIS2-821
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Versions: 1.0
> Environment: TOMCAT 5.5.17 + AXIS2 1.0 + W2k + JDK1.5.06=20
> Reporter: Jenny N Zhang
> Attachments: MTOMClient.java
>
> I was trying to use MTOM attachment to send a test.xml to server. Unfor=
tunately no SOAP messages were catched by SOAPMonitor, and I got errors in =
windows's console (listed below). The problem appeared to be similar to JI=
RA AXIS2-753 which hasn't been solved, but I am not sure if they are the sa=
me, since in my case both SOAP1.1 and SOAP1.2 did not work.=20
> It looked like that the SOAP envelop did not generate successfully, I tri=
ed 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. =
=20
> ---------------- errors ---------------------
> "
> [java] log4j:WARN No appenders could be found for logger (org.apache.axio=
m.om.impl.builder.StAXOMBuilder).
> [java] log4j:WARN Please initialize the log4j system properly.
> [java] org.apache.axis2.AxisFault: Transport error 500 . Error Message is=
Apache Tomcat/5.5.17 - Error report HTTP Status 500 -
<=
b>type Exception report
message
descripti=
on The server encountered an internal error () that prevented it fro=
m fulfilling this request.
exception
org.apache.axiom=
.om.OMException: SOAPEnvelope must contain a body element which is either f=
irst or second child element of the SOAPEnvelope.
> [java] org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getBody(=
SOAPEnvelopeImpl.java:142)
> [java] org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.addChild=
(SOAPEnvelopeImpl.java:103)
> [java] org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeade=
r(SOAPEnvelopeImpl.java:82)
> [java] org.apache.axis2.engine.AxisEngine.createFaultMessageCont=
ext(AxisEngine.java:183)
> [java] org.apache.axis2.transport.http.AxisServlet.handleFault(A=
xisServlet.java:168)
> [java] org.apache.axis2.transport.http.AxisServlet.doPost(AxisSe=
rvlet.java:153)
> [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:7=
09)
> [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:8=
02)
> [java]
note The full stack trace of the root =
cause is available in the Apache Tomcat/5.5.17 logs.
Apache Tomcat/5.5.17
; =20
> ........ (repeated the above error again)
--=20
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org