You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christopher Johnson <jo...@clarkson.edu> on 2005/02/24 16:06:06 UTC
Sending MimeMultipart
I'm trying invoke a service that gets passed two parameters the first is a
complex type and the second is a MimeMultipart.
When I invoke the service and pass in a null second parameter everything
works great, when I invoke the service and pass in a any MimeMultipart I
get the following exception..
I did notice that in the line just after " {}string: return code: 500 " it
says "No support for attachments"
Any ideas would be great.
Thanks
----
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (500)Internal Server Error
faultActor:
faultNode:
faultDetail:
{}string: return code: 500
<html><head><title>Apache Tomcat/5.0.28 - 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;}A.name {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>java.lang.RuntimeException: No support for attachments
org.apache.axis.Message.setup(Message.java:336)
org.apache.axis.Message.&lt;init&gt;(Message.java:234)
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:810)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:339)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
</pre></p><p><b>note</b> <u>The full
stack trace of the root cause is available in the Apache Tomcat/5.0.28
logs.</u></p><HR size="1"
noshade="noshade"><h3>Apache
Tomcat/5.0.28</h3></body></html>
(500)Internal Server Error
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at IWC.IWCBindingStub.ingest(IWCBindingStub.java:152)
at Tester.main(Tester.java:66)