To run this sample follow theses steps 1. run generate_service ant task. (ant generate_service) this generates the service and put it to the rmiservice folder under repository 2. start the axis2 server 3. run the client (ant run_client)