File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes error about AXIS implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "error about AXIS implementation" Watch "error about AXIS implementation" New topic
Author

error about AXIS implementation

John Smith
Greenhorn

Joined: Oct 07, 2003
Posts: 15
I have a simple web services for testing. it just returns data from a database. i don't know what is wrong. it seems to be wrong with my classpath, but i am just following an instruction that AXIS provided.



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: 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:

org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
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.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at localhost.ProjectDetailsSoapBindingStub.setProjectId(ProjectDetailsSoapBindingStub.java:196)
at ProjectDetailsImpl.main(ProjectDetailsImpl.java:34)


org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
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.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:2248)
at org.apache.axis.client.Call.invoke(Call.java:2171)
at org.apache.axis.client.Call.invoke(Call.java:1691)
at localhost.ProjectDetailsSoapBindingStub.setProjectId(ProjectDetailsSoapBindingStub.java:196)
at ProjectDetailsImpl.main(ProjectDetailsImpl.java:34)


here is my classpath in my client side.
set classpath=.;D:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\jaxrpc.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\saaj.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\commons-logging.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\commons-discovery.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\wsdl4j.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\axis.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar
set classpath=%classpath%;D:\Java\jar_library\xerces.jar
set classpath=%classpath%;D:\Tomcat\webapps\axis\WEB-INF\classes\;


The weird thing is that it works in my workplace, but it doesn't in my home PC. i am using the same classpath. please help...

thanks...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error about AXIS implementation
 
Similar Threads
SOAP Fault with Axis
Trouble with Axis
Axis Fault - SAXNotRecognizedException
SOAP (Axis)
Error running example2 AXIS/Tomcat 4.1