axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "neha sood" <coolcapr...@gmail.com>
Subject error in web service deployment.........
Date Fri, 02 May 2008 08:08:39 GMT
hi
i am to web services ..i am trying to deploy web service...using this
command........

-- java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/MessageBox deploy.wsdd
vn i give this commad it gives me a error
java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/MessageBox deploy.wsdd
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/client/AdminClient
problem lies in adding up all the jars

as per service installation steps...
4.Check the settings in "deploy.wsdd" file - change parameters to
appropriate values (this values are stored in
Axis server-config.wsdd files an can be used to change Message Box Service
settings without service rede-
ploying)
but m not able to find where changes can be done in this file....

below is my deploy.wsdd file attached :
<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from MessageBoxInterfaceService WSDL service -->

  <service name="MessageBox" provider="java:RPC" style="rpc" use="encoded">
      <parameter name="wsdlTargetNamespace" value="urn:messaging.gridlab.org"/>

      <parameter name="wsdlServiceElement"
value="MessageBoxInterfaceService"/>
      <parameter name="wsdlServicePort" value="MessageBox"/>
      <parameter name="className"
value="org.gridlab.messaging.MessageBoxSoapBindingSkeleton"/>
      <parameter name="wsdlPortType" value="MessageBoxInterface"/>
      <parameter name="allowedMethods" value="*"/>
      <parameter name="scope" value="Session"/>

      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:User"
        type="java:org.gridlab.messaging.User"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:MessageFlag"
        type="java:org.gridlab.messaging.MessageFlag"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:MessageBoxObject"
        type="java:org.gridlab.messaging.MessageBoxObject"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:ArrayOfMessage"
        type="java:org.gridlab.messaging.Message[]"
        serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
        deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"

        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:Folder"
        type="java:org.gridlab.messaging.Folder"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:ArrayOfFolder"
        type="java:org.gridlab.messaging.Folder[]"
        serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
        deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"

        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
      <typeMapping
        xmlns:ns="urn:messaging.gridlab.org"
        qname="ns:Message"
        type="java:org.gridlab.messaging.Message"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      />
  </service>
</deployment>


vat can be the possible reason of error
thanx in advance












Friends are flowers in the garden of life

Mime
View raw message