I´m trying to run the attachment example too but unsuccesfull The Client attach and send the File Succesfully to Axis but Axis Fails with IllegalArgumentException.
java.lang.IllegalArgumentException: argument type mismatch on object "samples.attachments.EchoAttachmentsService", method name "echo", tried argument types: org.apache.axis.attachments.AttachmentPart This is my Client Classpath CLASSPATH=.;E:\jakarta-tomcat-3.2.3\webapps\axis\WEB-INF\lib\axis.jar;E:\jakarta -tomcat-3.2.3\webapps\axis\WEB-INF\lib\log4j-core.jar;E:\jakarta-tomcat-4.0.1\co mmon\lib\xerces.jar;E:\jakarta-tomcat-4.0.1\common\lib\activation.jar;E:\jakarta -tomcat-3.2.3\webapps\axis\WEB-INF\lib\jaxrpc.jar;E:\jakarta-tomcat-3.2.3\webapp s\axis\WEB-INF\lib\commons-logging.jar;E:\jakarta-tomcat-3.2.3\webapps\axis\WEB- INF\lib\tt-bytecode.jar;E:\jakarta-tomcat-3.2.3\webapps\axis\WEB-INF\lib\clutil. jar;E:\jakarta-tomcat-3.2.3\webapps\axis\WEB-INF\lib\wsdl4j.jar;E:\xml-axis-beta 1-rc2\junit.jar;E:\jakarta-tomcat-3.2.3\lib\mail.jar ------------------------ And this is my FaulString received from the TCPMonitor. <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultcode> <faultstring>java.lang.IllegalArgumentException: argument type mismatch on object "samples.attachments.EchoAttachmentsService", method name "echo", tried argument types: org.apache.axis.attachments.AttachmentPart</faultstring> <detail> <ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">java.lang.IllegalArgumentException: argument type mismatch on object "samples.attachments.EchoAttachmentsService", method name "echo", tried argument types: org.apache.axis.attachments.AttachmentPart
 at org.apache.axis.providers.java.RPCProvider.processMessage(Unknown Source)
 at org.apache.axis.providers.java.JavaProvider.invoke(Unknown Source)
 at org.apache.axis.strategies.InvocationStrategy.visit(Unknown Source)
 at org.apache.axis.SimpleChain.doVisiting(Unknown Source)
 at org.apache.axis.SimpleChain.invoke(Unknown Source)
 at org.apache.axis.server.AxisServer.invoke(Unknown Source)
 at org.apache.axis.transport.http.AxisServlet.doPost(Unknown Source)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
 at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:484)
 </ns2:stackTrace> </detail> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> --7685785.1017164370509.JavaMail.Administrador.javax Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-ID: <945990811.1017164359403.AXIS@javax> Axis (Apache eXtensible Interaction System) ------------------------------------------- Alpha 3 Release December 14, 2001 Welcome to Axis! You'll find documentation in the docs/ directory. Please read the release notes (release-notes.html) in this directory for details on the current release. Thanks from all of us on the Axis team for downloading the package; help us make it better by sending comments to [EMAIL PROTECTED] --7685785.1017164370509.JavaMail.Administrador.javax-- Gail Coates wrote: > I have been trying to run the Attachment Example. > > First I was getting the Error reading data stream: Error in MIME data > stream, start boundary not found, I added the mail.jar to my classpath on > the server and that seemed to fix that. > > I have the mail.jar on my classpath on the client, without that I receive a > null pointer exception. > I am now receiving: org.xml.sax.SAXParseException: required character (found > "l") (expected "<") > Gail
smime.p7s
Description: S/MIME Cryptographic Signature