Title: Deploying Web Services in axis - Custom Deployment

Hi,

I'm trying to deploy a Web Service (Java) in Axis 1.2 using the Custom Deployment method. I have placed the Web Service class in the - <tomcat-home>/webapps/axis/WEB-INF/classes/<package-structure>/ folder structure and have placed the corresponding WSDD file at - <tomcat-home>/webapps/axis/WEB-INF . Now I'm trying to deploy the Web Service using the Axis org.apache.axis.client.AdminClient class from a command prompt. For this I have include the following JAR files in my CLASSPATH environment variable -  activation.jar, mail.jar, xalan.jar, jaxrpc.jar, saaj.jar, wsdl4j.jar, xmlsec-1.2.1.jar, commons-discovery.jar and commons-logging.jar.

I'm using the following command to deploy the Web Service - java org.apache.axis.client.AdminClient HostWebService.wsdd .

However I'm getting the following exception while I try to execute the above metioned command - Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException. Could anyone please tell me why I'am getting this exception and how can I resolve this.

I have followed these steps for deployment  from the apache site URL - http://ws.apache.org/axis/java/user-guide.html#UsingWSDLWithAxis

Looking forward to hear from you.

Thanks,
Pankaj Khandelwal
SAP Labs India



Reply via email to