Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by thilinagunarathne:
http://wiki.apache.org/ws/FrontPage/Axis2/releases/1%2e1/samples

New page:
== Axis2 Sample Guidelines ==

All the samples in the Axis2 distro should show consistent behaviour.. In order 
to achieve that we should define our selves a set of guidelines to follow.

Following is a first draft of such a document.. It is by no means meant to be 
the final.. Please feel free to edit and improve whatever neccessary..

1. all the samples should adhere to following package structure. 
     * clients  - sample.<sample name>.client  (eg: sample.mtom.client.Client)
     * services - sample.<sample name>.service (eg: 
sample.mtom.service.MTOMSample)

2. all the sample should have ant builds.
     * goals
         * client - compile and run the client (code-generate if necessary)
                     * use the samples/<sample name>/build/client/classes to 
compile classes (ignore the client part if 
         * service - compile, create service, copy it to 
../../repository/services. (code generate if necessary)
                     * prefix names of all the sample service archives with 
"sample". (eg: sample-mtom.aar)
                     * create the service in to the samples/<sample 
name>/build/service/ dir.. 
         * clean - delete the samples/<sample name>/build dir
     * client only samples
         * default target should be the client
         * eg: 
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml
     * service+client samples
         * defualt target should be service
         * eg: 
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml
     * code generated samples - defualt targets neede to follow the above rules.
         * eg: 
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
        
        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to