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
Author

Axis Fault - SAXNotRecognizedException

San-Yih Pan
Greenhorn

Joined: Nov 04, 2004
Posts: 19
Hi,

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!

San
--------------------------
Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace rg.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
at org.apache.xerces.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:155)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:1784)
at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
at org.apache.axis.client.AdminClient.main(AdminClient.java:463)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41052
    
  43
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
Greenhorn

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?
Thx!

San
Tanu Kumar
Greenhorn

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
Greenhorn

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

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

cheers,
chris
 
I agree. Here's the link: http://aspose.com/file-tools
 
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