File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Fault - SAXNotRecognizedException" Watch "Axis Fault - SAXNotRecognizedException" New topic

Axis Fault - SAXNotRecognizedException

San-Yih Pan
Ranch Hand

Joined: Nov 04, 2004
Posts: 33

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: 42965
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.
San-Yih Pan
Ranch Hand

Joined: Nov 04, 2004
Posts: 33
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
It's not a secret anymore!