You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by kituz <ki...@yahoo.com> on 2004/01/11 07:29:27 UTC
Axis Fault
Hi,
I am new to using axis.
I have followed the instructions given at http://ws.apache.org/axis/java/user-guide.html
and tried to execute the sample applications.
I placed the Calculator.java file as Calculator.jws in the axis directory of tomcat webapps.
I am not able to get the CalcClient running.
I get an exception saying -
Exception in thread "main" 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: org.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.DeserializationContextImpl.parse(DeserializationContextImpl.java:241)
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 AddClient.main(AddClient.java:91)
org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:543)
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 AddClient.main(AddClient.java:91)
Caused by: org.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.DeserializationContextImpl.parse(DeserializationContextImpl.java:241)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
... 7 more
Can someone help me figure out what the problem is ?
thanks in advance.
-Kituz
Re: Axis Fault
Posted by Steve Loughran <st...@iseran.com>.
kituz wrote:
> /Hi,/
> //
> /I am new to using axis./
> /I have followed the instructions given at
> http://ws.apache.org/axis/java/user-guide.html/
> /and tried to execute the sample applications. /
> /I placed the Calculator.java file as Calculator.jws in the axis
> directory of tomcat webapps./
> /I am not able to get the CalcClient running./
> /I get an exception saying -/
> Exception in thread "main" 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:
> org.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.DeserializationContextImpl.parse(DeserializationContextImpl.java:241)
> 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 AddClient.main(AddClient.java:91)
>
Looks like trouble iwth your XML parser.
1. What does happyaxis say? Where is the XML parser coming from?
2. try downloading and using the latest version of xerces from the web site.