This depends on the approach with which your JAX-RPC code was developed:
If it was code-first, then yo will have to read up on JAX-WS and manually rewrite the code.
You may be able to take the WSDL of a code-first JAX-RPC web service and use JAX-WS wsimport to generate code artfacts, which you then fill in by hand - depends on what the WSDL look like.
If it was WSDL-first, then you still have to do some reading, but mainly on how to generate JAX-WS code artifacts from WSDLs.
Joined: Jun 28, 2009
actually i didn't exactly understand the meaning of code first and wsdl first.
In case of code first approch you will first write the code and then generate WSDL to expose it as web service. While in WSDL first you already have the WSDL and you are consuming that WSDL to generate service.