You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by SOULLARD Clement <cl...@renault.com> on 2003/08/18 17:00:51 UTC
Troubles with the StockQuote Sample App
Hello,
I'm using Axis with Java 1.4 and tomcat 4.1 and I'm experiencing weird
trouble in the testing of the StockQuote sample app.
I deploy the service and it seems to be OK so far. But when I test the
app with :
java -cp $AXISCLASSPATH samples.stock.GetQuote
-lhttp://localhost:8080/axis/services/AdminService -uuser2 -wpass1 XXX
I get the following message :
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.Exception: FIXME
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.Exception: FIXME
faultActor:
faultNode:
faultDetail:
java.lang.Exception: FIXME
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.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
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 samples.stock.GetQuote.getQuote(GetQuote.java:120)
at samples.stock.GetQuote.main(GetQuote.java:134)
java.lang.Exception: FIXME
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.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
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 samples.stock.GetQuote.getQuote(GetQuote.java:120)
at samples.stock.GetQuote.main(GetQuote.java:134)
Since it is a strange message I dont have any idea on what to do.
Does anybody have a clue ?
Thank You,
Re: Troubles with the StockQuote Sample App
Posted by SOULLARD Clement <cl...@renault.com>.
I'm sorry about posting this question, I just get frighten by the FIXME
message. Hope this will help someone else.
It is just that I talk to
http://localhost:8080/axis/services/AdminService and not
http://localhost:8080/axis/service/AxisServlet.
SOULLARD Clement wrote:
> Hello,
> I'm using Axis with Java 1.4 and tomcat 4.1 and I'm experiencing weird
> trouble in the testing of the StockQuote sample app.
>
> I deploy the service and it seems to be OK so far. But when I test the
> app with :
>
> java -cp $AXISCLASSPATH samples.stock.GetQuote
> -lhttp://localhost:8080/axis/services/AdminService -uuser2 -wpass1 XXX
>
>
> I get the following message :
>
>
> AxisFault
> faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.lang.Exception: FIXME
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace: AxisFault
> faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: java.lang.Exception: FIXME
> faultActor:
> faultNode:
> faultDetail:
>
> java.lang.Exception: FIXME
> 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.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> 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 samples.stock.GetQuote.getQuote(GetQuote.java:120)
> at samples.stock.GetQuote.main(GetQuote.java:134)
>
>
> java.lang.Exception: FIXME
> 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.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
> at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
> at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
> at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
> at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
> at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
> 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 samples.stock.GetQuote.getQuote(GetQuote.java:120)
> at samples.stock.GetQuote.main(GetQuote.java:134)
>
> Since it is a strange message I dont have any idea on what to do.
>
> Does anybody have a clue ?
>
> Thank You,
>