Are you sure that this was your problem? I have had the same problem but 
the source was not having axis.jar in the wrong directory (I tried that) but

what follows.

In a previous run I had deployed a service that used a user defined type
MyClass.
Though I undeployed the service, the user defined classes used by the
service 
remained there (referenced in server-config.wsdd). When I tried to deploy
the
attachment service sample that comes with axis, it seems that axis engine 
tried to LOAD!! this obsolete user defined types. To fix the problem I had
to 
manually edit server-config.wsdd and removed MyClass from it. After I did
this I had no problem to deploy the service. 

Perhaps this should be forwarded to axis-dev list. 

There is another issue related to this problem. You can undeploy a service
but it seems that you cannot undeploy the user defined types used by this
service, I suppose because they can be used by other services. How do
you then undeploy them?

Regards.


-------------------------------------- 
Ramon Turnes Perez 
HERMES SoftLab, Litijska 47 
1000 Ljubljana, SLOVENIA 
Phone: +386 1 5865 638 
Fax:     +386 1 5865 270 
E-mail: [EMAIL PROTECTED] 
www.hermes-softlab.com 
-------------------------------------- 
-----Original Message-----
From: Jianlin Chang [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 13, 2002 8:28 PM
To: [EMAIL PROTECTED]
Subject: 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:10
8) 
        at
org.apache.axis.encoding.DeserializationContext.startElement(Deserialization
Context.java:643) 
        at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376) 
        at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidat
or.java:1284) 
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.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