Axis ships with a simple Calculator service and client with source code. It's in the samples\userguide\example2 directory. It uses the org.apache.axis.* classes, but it should be fairly easy to change those to use the JAX-RPC classes, if you need to.
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Programmatically Create PDF Using Free Spire.PDF with Java