Hi,
I'am  new to synapse and built synapse and tried some samples as guided in
the documentation.

So I started axis2 server and started message mediation samples.

Sample 0: Introduction to Synapse* I started the synapse server by -
./synapse.sh -sample 0  inside synapse-home/bin

* inside  , synapse-home/samples/axis2Client executed the command :

ant stockquote -Daddurl=http://localhost:9000/soap/SimpleStockQuoteService
-Dtrpurl=http://localhost:8280/

And this gives the following error (though ant says BUILD SUCCESSFUL i
think there is an error )

Buildfile: build.xml

init:

compile:

stockquote:
     [java] 2010-05-15 19:32:42,682 [-] [main] ERROR SandeshaModule
Could not load module policies. Using default values.
     [java] 2010-05-15 19:32:42,765 [-] [main]  INFO
MailTransportSender MAILTO Sender started
     [java] 2010-05-15 19:32:42,777 [-] [main]  INFO JMSSender JMS
Sender started
     [java] 2010-05-15 19:32:42,779 [-] [main]  INFO JMSSender JMS
Transport Sender initialized...
     [java] org.apache.axis2.AxisFault: The service cannot be found
for the endpoint reference (EPR) /soap/SimpleStockQuoteService
     [java]     at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:523)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
     [java]     at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
     [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:555)
     [java]     at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:531)
     [java]     at samples.userguide.StockQuoteClient.executeClient(Unknown 
Source)
     [java]     at samples.userguide.StockQuoteClient.main(Unknown Source)

BUILD SUCCESSFUL


 ** Any idea ?



Thank you
Subash

Reply via email to