diff options
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; + + } + +} |