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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to