I can not run sample 150

david.sun's picture
I can not run sample 150. I operated following your guide,but every time I run: ant stockquote -Daddurl=http://localhost:8280/services/StockQuoteProxy There will be errors printed on the console. Could you please give me some suggestions? Thanks! The error message are as following: ============================================== stockquote: [java] Listening for transport dt_socket at address: 8000 [java] 2009-05-12 14:34:40,109 [-] [main] INFO MailTransportSender MAILTO Sender started [java] 2009-05-12 14:34:40,171 [-] [main] INFO JMSSender JMS Sender starte d [java] org.apache.axis2.AxisFault: The input stream for an incoming message is null. [java] at org.apache.axis2.transport.TransportUtils.createSOAPMessage(T ransportUtils.java:72) [java] at org.apache.axis2.description.OutInAxisOperationClient.handleR esponse(OutInAxisOperation.java:353) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(Ou tInAxisOperation.java:416) [java] at org.apache.axis2.description.OutInAxisOperationClient.execute Impl(OutInAxisOperation.java:228) [java] at org.apache.axis2.client.OperationClient.execute(OperationClie nt.java:163) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie nt.java:548) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie nt.java:528) [java] at samples.userguide.StockQuoteClient.executeClient(Unknown Sour ce) [java] at samples.userguide.StockQuoteClient.main(Unknown Source)
indika's picture

Hi I just have checked the

Hi I just have checked the sample 150 with ESB 2.0.2 and It worked. Please try with fresh ESB 2.0.2 and run ant inside $ESB_HOME/bin and then correct client execute command ant stockquote -Daddurl=http://localhost:8280/services/StockQuoteProxy Thanks Indika
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)