I don't understand what you mean by
I have seen Axis example some times but no luck.
Did you download the AXIS package, install it and get the examples running?
Next pick one of the examples that is close to what you want to do, get your environment set up so you can compile and run that example without changes.
Next move that example into your own package/ application server and get it working.
Finally you are ready to write your own code, using that example as a guide.
Bill