Hi All,
 
I am a Axis Novice...Any help would be appreciated. I
am looking for a simple client/server SOAP with
Attachements example that returns a MIME file (and
filename) from the server upon recieving a filename
from the client. I use Axis 1.1 and Tomcat 5.
 
I have looked at the Attachments example in samples
but couldn't deploy it. I get the following error from
tomcat:
 
C:\axis-1_1\samples\attachments>java
org.apache.axis.client.AdminClient attachdeploy.wsdd
Processing file attachdeploy.wsdd
Exception::org.apache.axis.deployment.wsdd.WSDDNonFatalException:

java.lang.ClassNotFoundException:org/apache/axis/encoding/ser/
                 
JAFDataHandlerSerializerFactory
java.lang.ClassNotFoundException:org/apache/axis/encoding/ser/
                 
JAFDataHandlerSerializerFactory
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at
org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
        at 
org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112)
        at 
org.apache.axis.deployment.wsdd.WSDDTypeMapping.getSerializer(WSDDTypeMapping.java:255)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:341)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520)
        at 
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:492)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:310)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:296)
        at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:485)
        at 
org.apache.axis.configuration.FileProvider.getService(FileProvider.java:261)
        at
org.apache.axis.AxisEngine.getService(AxisEngine.java:274)
        at 
org.apache.axis.MessageContext.setTargetService(MessageContext.java:695)
        at 
org.apache.axis.handlers.http.URLMapper.invoke(URLMapper.java:87)
        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.server.AxisServer.invoke(AxisServer.java:277)
...
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.ja
va:705)
        at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
        at java.lang.Thread.run(Thread.java:534)
 
 
CLASSPATH=.;C:\axis-1_1\lib\axis.jar;;
C:\axis-1_1\lib\jaxrpc.jar;;C:\axis-1_1\lib\saaj.jar;;
C:\axis-1_1\lib\commons-logging.jar;;
C:\axis-1_1\lib\commons-discovery.jar;;
C:\axis-1_1\lib\wsdlj4.jar;;
C:\axis-1_1\lib\log4j-1.2.8.jar;;
C:\axis-1_1\lib\xml-apis.jar;;
C:\axis-1_1\lib\xercesImpl.jar;;
C:\axis-1_1\;;
C:\jakarta-tomcat-5.0.27\common\lib\activation.jar;;
C:\jakarta-tomcat-5.0.27\common\lib\mailapi.jar;;
C:\
 
The JAFDataHandlerSerializerFactory class is in the
Axis jar (in my classpath) but it still doesn't work?
 
Regards
grp_member


                
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

Reply via email to