Hi All,

I am facing problem in axis custom deployment. Can you please help me to fix 
the problem. Here are the steps I have done

1. I have created a Sample Sample2WS.java program and saved it 
/opt/axis_dev/ws/samples ( AXIS_DEV=/opt/axis_dev) also created the deploy.wsdd 
file at the same location

package ws.samples;
public class Sample2WS {
public String sayHello(){
return "Hello CSS2005";
}
}

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
<service name="Sample2WS" provider="java:RPC">
<parameter name="className" value="ws.samples.Sample2WS"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>

2. I have compiled it and copied the Sample2WS.class file under 
axis/WEB-INF/classes/ in tomcat webapps directory.

3. Created Hello.jar file for Sample2WS.class and pasted the same on 
axis/WEB-INF/lib of axis directory.
    
4 .set the classpath on /etc/bashrc
AXISCLASSPATH=$AXIS_LIB/axis.jar:$AXIS_LIB/commons-discovery-0.2.jar:$AXIS_LIB/commons-logging-1.0.4.jar:$AXIS_LIB/jaxrpc.jar:$AXIS_LIB/saaj.jar:$AXIS_LIB/log4j-1.2.8.jar:$AXIS_LIB/xml-apis.jar:$AXIS_LIB/xercesImpl.jar:$AXIS_LIB/Hello.jar

5. Given java org.apache.axis.client.AdminClient deploy.wsdd command on 
/opt/axis_dev/ws/samples directory. It outputs
 Processing file deploy.wsdd
<Admin>Done processing</Admin>

6. When I give http://localhost:8081/axis/servlet/AxisServlet I could not see 
my web services under deployed webservice and also I could not see the 
server-config.wsdd file under axis/WEB-INF folder


Regards,
Thamizhannal P

       
---------------------------------
 Bollywood, fun, friendship, sports and more. You name it,  we have it.

Reply via email to