Skip to main content

How To throw the Remote Exception Using JAX - WS?

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-01-19

I have an application built- in Using JAX- RPC which need to migrate to JAX WS Soon.

All the methods of JAX -RPC throws an Remote Exception . But JAX - WS doesn't have an option to throw the Remote Exception.All the Exceptions(Both Checked and Unchecled Exceptions ) occur in my application will be caught and wrapped as an Remote Exception and it will be hanlded separately by an another application.

Since, JAX- WS doesn't have an option to throw Remote Exception i am unable to proceed further .

It is mandatory for me to throw the Remote Exception from JAX-WS generated implemented classes .

Please guide how to proceed further or is there an option to handle these exceptions in some other way ?