diff options
author | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
---|---|---|
committer | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
commit | bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch) | |
tree | 38a92061c0793434c4be189f1d70c3458b6bc41d /sandbox/rfeng/samples.M2/creditws-axis2/src/credit/CreditCheckServiceSkeleton.java |
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/rfeng/samples.M2/creditws-axis2/src/credit/CreditCheckServiceSkeleton.java | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/sandbox/rfeng/samples.M2/creditws-axis2/src/credit/CreditCheckServiceSkeleton.java b/sandbox/rfeng/samples.M2/creditws-axis2/src/credit/CreditCheckServiceSkeleton.java new file mode 100644 index 0000000000..d114baab4e --- /dev/null +++ b/sandbox/rfeng/samples.M2/creditws-axis2/src/credit/CreditCheckServiceSkeleton.java @@ -0,0 +1,29 @@ +/** + * CreditCheckServiceSkeleton.java + * + * This file was auto-generated from WSDL + * by the Apache Axis2 version: 1.0 May 05, 2006 (12:31:13 IST) + */ +package credit; + +/** + * CreditCheckServiceSkeleton java skeleton for the axisService + */ +public class CreditCheckServiceSkeleton { + + /** + * Auto generated method signature + * + * @param request + */ + public credit.GetCreditScoreResponse getCreditScore(credit.GetCreditScore request) { + System.out.println("Checking credit for " + request.getSsn()); + GetCreditScoreResponse response = new GetCreditScoreResponse(); + int score = (int)(650 + (Math.random() - 0.5) * 100); + response.setScore(score); + System.out.println("Credit score is " + score); + return response; + + } + +} |