This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes org.xml.sax.SAXNotRecognizedException: Feature: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.xml.sax.SAXNotRecognizedException: Feature:" Watch "org.xml.sax.SAXNotRecognizedException: Feature:" New topic

org.xml.sax.SAXNotRecognizedException: Feature:

Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
On my axis webservice I am getting following error in soap-ui.

What can be the root cause? I have the xerces jar in place.

Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
g tsuji
Ranch Hand

Joined: Jan 18, 2011
Posts: 500
Akhilesh Trivedi wrote:What can be the root cause?

The root cause is as spelt out in the api
documentation wrote:To set the LexicalHandler for an XML reader, use the setProperty method with the property name and an object implementing this interface (or null) as the value. If the reader does not report lexical events, it will throw a SAXNotRecognizedException when you attempt to register the handler.

A possibility is that the app/web server is running (via class loader tree) a version of sax1 or sax2 without extension implemented whereas the LexicalHandler requires sax2 with extension core v1.
Akhilesh Trivedi wrote:I have the xerces jar in place.

Then you've to look where you put "which xerces" in "which place" - that's all I can say.
It is sorta covered in the JavaRanch Style Guide.
subject: org.xml.sax.SAXNotRecognizedException: Feature:
Similar Threads
Entities in attribute values issue in Sax parser
error about AXIS implementation
Axis Fault - SAXNotRecognizedException
Error running example2 AXIS/Tomcat 4.1
SOAP (Axis)