This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis Fault - SAXNotRecognizedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Fault - SAXNotRecognizedException" Watch "Axis Fault - SAXNotRecognizedException" New topic

Axis Fault - SAXNotRecognizedException

San-Yih Pan

Joined: Nov 04, 2004
Posts: 19

Anybody can help me figure out the following compilation problem. I am working on Windows XP to run the command" java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd".
Thank you in advance!

Processing file deploy.wsdd
Exception: AxisFault
faultCode: {}Server.userException
faultString: org.xml.sax.SAXNotRecognizedException: Feature:
{}stackTrace rg.xml.sax.SAXNotRecognizedException: Feature:
at org.apache.xerces.jaxp.SAXParserImpl.setProperty(
at org.apache.axis.encoding.DeserializationContext.parse(
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(
at org.apache.axis.Message.getSOAPEnvelope(
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(
at org.apache.axis.client.AxisClient.invoke(
at org.apache.axis.client.Call.invokeEngine(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.AdminClient.process(
at org.apache.axis.client.AdminClient.process(
at org.apache.axis.client.AdminClient.process(
at org.apache.axis.client.AdminClient.process(
at org.apache.axis.client.AdminClient.main(
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41052
From the javadocs of LexicalHandler:

"If the reader does not support lexical events, it will throw a SAXNotRecognizedException or a SAXNotSupportedException when you attempt to register the handler."

I'm not sure if Xerces supports lexical events.

Ping & DNS - my free Android networking tools app
San-Yih Pan

Joined: Nov 04, 2004
Posts: 19
Hi Ulf,

I added sax2.jar into AXISCLASSPATH but got the same error messages. Anything more does it need?

Tanu Kumar

Joined: Dec 07, 2005
Posts: 10
I am getting org.xml.sax.SAXNotRecognizedException when i try to invoke my webservice -- have put xerces.jar inside the path -- please help --urgent
Chris Petersen

Joined: Sep 21, 2006
Posts: 9
hi there,

i have the same problem at the moment. any conclusion so far?!

I agree. Here's the link:
subject: Axis Fault - SAXNotRecognizedException
Similar Threads
Error running example2 AXIS/Tomcat 4.1
SOAP (Axis)
The web group /axis/services/AdminService has not been defined
certificates,https, axis and weblogic 8.1
error about AXIS implementation