Hello Barbara,
The outbound message does not have a SOAPFault message in it. Oddly enough, it looks like a normal (non-fault) SOAP response. I hate to make comparisons, however I wll mention that when I ran the same app on JBoss EAP I do get the expected SOAPFault message which includes a reference to the exception that was thrown by my application. Do you think that differences between Axis2 and CXF web services engines could have something to do with this?
------------------------------
octavio echevarria
------------------------------
Original Message:
Sent: Tue April 04, 2023 12:28 PM
From: Barbara Jensen
Subject: Exception reporting by Weblogic back to client
Hi Octavio,
Does your Outtbound message have a SOAPFault in it, or something else? An error in a web service is supposed to result in a SOAPFault.
------------------------------
Barbara Jensen
------------------------------
Original Message:
Sent: Mon April 03, 2023 12:17 PM
From: octavio echevarria
Subject: Exception reporting by Weblogic back to client
Hi Barbara,
I set the trace spec as you suggested. I can see both the Inbound and Outbound HTTP SOAP messages in the trace.log file. I also see System.out.println() statements that I put right before I throw the exception. So I am pretty confident the exception is taking place.However, I do not see any indications that the web services engine is processing any sort of exception.
Is it possible that I need to configure/enable the engine to actually do something when the exception occurrs?
------------------------------
octavio echevarria
Original Message:
Sent: Mon March 27, 2023 12:29 PM
From: Barbara Jensen
Subject: Exception reporting by Weblogic back to client
Hi Octavio,
I'm assuming that you can see that your application is throwing the IllegalArgumentException on the WebSphere provider side and therefore it was actually invoked. That would rule out any errors that might have occurred before the web services engine was invoked.
Set this trace spec to see you can find anything amiss in the trace.log file:
*=info:com.ibm.ws.webservices.*=all:org.apache.*=all:com.ibm.ws.websvcs.*=all:com.ibm.ws.metadata.*=all
------------------------------
Barbara Jensen