Tỷ giá – BT 7


TỶ GIÁ :

package nctruong.pack;

public class TyGia{
    public int getUSD(){
        return 20100;
    }

    public int getEuro(){
        return 30000;
    }
}

 

 

SKELETON

 

/**
 * TyGiaSkeleton.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis2 version: 1.6.1  Built on : Aug 31, 2011 (12:22:40 CEST)
 */
    package nctruong.pack.adb;
    
    import nctruong.pack.*;
    import nctruong.pack.adb.*;
    /**
     *  TyGiaSkeleton java skeleton for the axisService
     */
    public class TyGiaSkeleton implements TyGiaSkeletonInterface{
        
         
        /**
         * Auto generated method signature
         *
                                     * @param getEuro0
             * @return getEuroResponse1
         */
        
                 public nctruong.pack.GetEuroResponse getEuro
                  (
                  nctruong.pack.GetEuro getEuro0
                  )
            {
                //TODO : fill this with the necessary business logic
                GetEuroResponse res = new GetEuroResponse();
                res.set_return(20100);
                return res;
        }
     
         
        /**
         * Auto generated method signature
         *
                                     * @param getUSD2
             * @return getUSDResponse3
         */
        
                 public nctruong.pack.GetUSDResponse getUSD
                  (
                  nctruong.pack.GetUSD getUSD2
                  )
            {
                //TODO : fill this with the necessary business logic
                GetUSDResponse res = new GetUSDResponse();
                res.set_return(30000);
                return res;
        }
     
    }
    

 

Advertisements

About Pierre Nguyen

Nothing

Posted on April 20, 2012, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: