Title: RE: errors with deploying example web service shipped with xml-axis-alpha3

Thanks for the reply.

The reply suggests that Tomcat had problems loading class in javax.* package in webapps.   I copied axis.jar from $TOMCAT_HOME/webapps/axis/WEB-INF/lib to $TOMCAT_HOME/common/lib, and it is working. 

The problem is the same as that in another post by me: java.lang.NoClassDefFoundError: javax/xml/rpc/namespace/QName


     -----Original Message-----
    From:   Jianlin Chang 
    Sent:   Tuesday, February 12, 2002 5:49 PM
    To:     '[EMAIL PROTECTED]'
    Subject:        errors with deploying example web service shipped with xml-axis-alpha3

    Following the installation guide that comes with Axis, I tried to deploy a web service in the samples directory, and I got this error:

    %java org.apache.axis.client.AdminClient -lhttp://localhost:9000/axis/services/AdminService ~/xml-axis-alpha3/samples/stock/deploy.wsdd

    Processing file /home/chang/xml-axis-alpha3/samples/stock/deploy.wsdd
    AxisFault
      faultCode: http://xml.apache.org/axis/:Server.userException
      faultString: org.xml.sax.SAXException: Bad envelope namespace: 
      faultActor: null
      faultDetail:
            exceptionName: org.xml.sax.SAXException
            stackTrace: org.xml.sax.SAXException: Bad envelope namespace: 
            at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:108)
            at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:643)
            at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
            at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
            at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:938)
            at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
            at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
            at javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
            at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:204)
            at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
            at org.apache.axis.client.Call.invoke(Call.java:1268)
            at org.apache.axis.client.Call.invoke(Call.java:658)
            at org.apache.axis.client.AdminClient.process(AdminClient.java:323)
            at org.apache.axis.client.AdminClient.process(AdminClient.java:303)
            at org.apache.axis.client.AdminClient.process(AdminClient.java:310)
            at org.apache.axis.client.AdminClient.process(AdminClient.java:261)
            at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

    What's wrong here?

Reply via email to