Hi Dan, Before running the mortgage-loanapproval run the mortgage-creditcheck which will start the CreditCheck Service. In your case it is trying to connect to the CreditCheck Service which was not started.
For more information refer to the README under mortgage-loanapproval for information on how to run the demo. Thanks & Regards, Ashwini Kumar Jeksani -----Original Message----- From: Dan Becker [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 1:14 AM To: tuscany-user@ws.apache.org Subject: Beginner question on running Tuscany demo-mortgage-loanapproval This is a rather simple question on running the SCA demo-mortgage-loanapproval. I am attempting to run this from my Eclipse environment, so I have most of the Tuscany projects on the build path as dependent projects and much of my MAven repos on the build path as dependent libraries. However, when I "run as Java application" the mortgage.MortgageClient main (as in the ant run target), I see the following exception. Does anyone know why Axis refuses a connection? Is there some other setup to run this demo? Any pointers are appreciated. Exception in thread "main" org.osoa.sca.ServiceRuntimeException: org.apache.axis2.AxisFault: Connection refused: connect at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterceptor.invoke(DataTransformationInterceptor.java:136) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154) at $Proxy10.getCreditScore(Unknown Source) at mortgage.LoanApprovalImpl.approve(LoanApprovalImpl.java:66) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:109) at org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.invoke(SCABindingInvoker.java:61) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:286) at org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.invoke(JDKInvocationHandler.java:154) at $Proxy7.approve(Unknown Source) at mortgage.MortgageClient.main(MortgageClient.java:41) -- Thanks, Dan Becker **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***