Your type mapping has languageSpecificType as
java:java:<className>. It should be java:<className>

   Sanjay

--- Anil Dindigal <[EMAIL PROTECTED]> wrote:
> Hello Axis Gurus,
> 
> Here is a problem that is bugging me. Its something
> very straight forward
> that Im not able to put my finger on. I basically
> have added Axis 1.1 to my
> web app. Im running java 
> org.apache.axis.client.AdminClient -l<myUrl>
> <my_wsdd_file> from a DOS window. I get a message
> saying <Admin>Done
> processing</Admin>
> 
> But I get java.lang.ClassNotFoundException:
>
java:com/theorphanage/epoch/webservices/CompressionData
> in the DOS window
> thats running the Tomcat server 4.1.24.
> CompressionData is a simple
> beanclass that Im trying to pass it to as a argument
> to a webservice method.
> 
> The first thing that I did was to update the
> classpath and add the path to
> my web-inf/build/classes directory. But still Im
> getting the same error. I
> know this is more of a java question than AXIS. Any
> help would be greatly
> appreciated.
> 
> my wsdd file looks like this:
> 
> <!-- This file can be used to deploy the
> echoAttachments sample -->
> <!-- using this command: java
> org.apache.axis.client.AdminClient
> attachdeploy.wsdd -->
> 
> <!-- This deploys the echo attachment service.  -->
> <deployment xmlns="http://xml.apache.org/axis/wsdd/";
>
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";
> xmlns:ns1="urn:EchoAttachmentsService" >
>   <service name="urn:EchoAttachmentsService"
> provider="java:RPC" >
>     <parameter name="className"
>
value="com.theorphanage.epoch.webservices.EchoAttachmentsService"/>
>     <parameter name="allowedMethods" value="*"/>
>     <operation name="echo" returnQName="returnqname"
> returnType="ns1:DataHandler" >
>         <parameter name="dh"
> type="ns1:DataHandler"/>
>       </operation>
> 
>  <typeMapping qname="ns1:DataHandler"
> 
>
deserializer="org.apache.axis.encoding.ser.JAFDataHandlerDeserializerFactory
> "
>   
>
languageSpecificType="java:javax.activation.DataHandler"
> 
>
serializer="org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory"
>    
>
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>      />
>  <typeMapping
>          qname="ns1:CompressionData"
> 
>
languageSpecificType="java:java:com.theorphanage.epoch.webservices.Compressi
> onData"
>         
>
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>         
>
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>         
>
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>       />
>  </service>
> 
> </deployment>
> 
> 
> Thanks in advance,
> --Anil
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to