axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qiyun Yang" <qyyan...@hotmail.com>
Subject org.apache.axis2.AxisFault for xmethods StockQuote client
Date Sun, 19 Nov 2006 11:14:03 GMT

Hi,

I developed an axis2 clinet (using axis2 command line code generate 
approach), when run it, there are the following error messages. Please 
advise where could be wrong.

The request document (as printed out) is as follow:

<getQuote 
xmlns="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/">
     <symbol xmlns="">IBM</symbol>
</getQuote>

(The delayed stock quote web service is rpc style though)

Thanks and regards.
Q


run.client:
     [java] <getQuote 
xmlns="http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/">
     [java]   <symbol xmlns="">IBM</symbol>
     [java] </getQuote>
     [java] org.apache.axis2.AxisFault: decoding error: 
electric.xml.ParseException: the document does not have exactly one root
     [java] line 1, char 0: ...
     [java]     at 
org.apache.axis2.description.OutInAxisOperationClient.execute
(OutInAxisOperation.java:308)
     [java]     at clients.NetXmethodsServicesStockquoteStockQuoteServiceSt
ub.getQuote(NetXmethodsServicesStockquoteStockQuoteServiceStub.java:141)
     [java]     at clients.Client.main(Client.java:19)

_________________________________________________________________
Get MSN Messenger emoticons and display pictures here! 
http://ilovemessenger.msn.com/?mkt=en-sg


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message