views:

18

answers:

0

I have a jar file that is used by several applications - by including the jar file within the application ear as a utility jar. I would like to expose the function provided by this jar file as a webservice.

Currently, the APIs in the jar file are called from other components within the application/ear. The API exposes an interface as one of the arguments. This poses a problem when converting to webservice using JAX-RPC. I use the RAD 7 feature - to convert a JavaBean to WebService.

How do i overcome this? Convert the interface to the implementing object - which may not be the ideal way of doing it ?