Hi Nisha

First of all, you will need to subscribe to the mailing lists before posting questions, as otherwise you will not be able to see our responses. I have directly copied this reply to you this time, but please refer to [1] on how to subscribe

I am getting following error while running sample client for sample example :-

D:\synapse-1.1.1\samples\axis2Client>ant stockquote -Dtrpurl=http://localhost:80

80/soap/StockQuoteProxy -Dmode=quote -Dsymbol=IBM

Buildfile: build.xml

init:

compile:

stockquote:

[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:71)

[java] at org.apache.axis2.description.OutInAxisOperationClient.handleR

esponse(OutInAxisOperation.java:326)

[java] at org.apache.axis2.description.OutInAxisOperationClient.send(Ou

tInAxisOperation.java:389)

[java] at org.apache.axis2.description.OutInAxisOperationClient.execute

Impl(OutInAxisOperation.java:211)

[java] at org.apache.axis2.client.OperationClient.execute(OperationClie

nt.java:163)

[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie

nt.java:528)

[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClie

nt.java:508)

[java] at samples.userguide.StockQuoteClient.executeClient(Unknown Sour

ce)

     [java]     at samples.userguide.StockQuoteClient.main(Unknown Source)

BUILD SUCCESSFUL

Total time: 2 seconds

And I am getting the same problem while running other samples al well.

Can you tell us which version of Synapse this is (1.2 / code off the trunk?) and which sample ESB configuration you have started, and if you have started your sample Stock quote service?

You could also refer to the quick start guide: http://synapse.apache.org/Synapse_QuickStart.html

cheers
asankha

[1] http://synapse.apache.org/mail-lists.html

--
Asankha C. Perera
http://adroitlogic.org

http://esbmagic.blogspot.com

Reply via email to