Category: JAX-WS
-
JAX-WS Custom Exception with FaultBean in TomEE and WebSphere Application Server
In our last post we were able to deploy a simple JAX-WS service on both TomEE and WebSphere Application Server. JAX-WS Specification suggests that three thing should be followed for us to implement Custom Exception as SOAP Fault. WrapperException(String message, FaultBean faultInfo) A constructor where WrapperException is replaced with the name of the generated wrapper…
-
JAX-WS Exception Handling with TomEE and WebSphere Application Server 8.5
Let’s write a simple JAX-WS example which will throw an Exception. We will then deploy it in TomEE and then to WebSphere 8.5 and see the difference. Download TomEE ( I have downloaded the plus version which at the time of writing was 1.7.1) Download and install WebSphere Application Server (Developer version is free) Download…