axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yves Langisch <li...@langisch.ch>
Subject Re: Sending MimeMultipart
Date Thu, 24 Feb 2005 16:48:23 GMT
client- and serverside?

On Thu, 2005-02-24 at 11:44 -0500, Christopher Johnson wrote:
> Yves,
> 
> My classpath contains
> 
> activation.jar
> mail.jar
> axis.jar
> commons-discovery.jar
> commons-logging.jar
> jaxrpc.jar
> saaj.jar
> 
> and my jars
> 
> Thanks,
> Chris
> 
> On Thu, 24 Feb 2005, Yves Langisch wrote:
> 
> > Christopher,
> >
> > Are you missing activation.jar and mail.jar in your classpath?
> >
> > Yves
> >
> > On Thu, 2005-02-24 at 11:26 -0500, Christopher Johnson wrote:
> > > 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
> > > &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.0.28
- Error
> > > report&lt;/title&gt;&lt;style&gt;&lt;!--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;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP
> > > Status 500 - &lt;/h1&gt;&lt;HR size=&quot;1&quot;
> > > noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt;
Exception
> > > report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> > > &lt;u&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt;
> > > &lt;u&gt;The server encountered an internal error () that prevented
it
> > > from fulfilling this
> > > request.&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;exception&lt;/b&gt;
> > > &lt;pre&gt;java.lang.RuntimeException: No support for attachments
> > > 	org.apache.axis.Message.setup(Message.java:336)
> > > 	org.apache.axis.Message.&amp;lt;init&amp;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)
> > > &lt;/pre&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;note&lt;/b&gt;
&lt;u&gt;The full
> > > stack trace of the root cause is available in the Apache Tomcat/5.0.28
> > > logs.&lt;/u&gt;&lt;/p&gt;&lt;HR size=&quot;1&quot;
> > > noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache
> > > Tomcat/5.0.28&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
> > >
> > > (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)
> > >
> >
> >
> 


Mime
View raw message