Hi,
I’m calling a webservice from MWS CAF, that was imported using glue.
When I call the WebService and for some reason the webservice returns a SOAP Exception, the webservice refresh methods throws a ContentProviderException. Now, my question is:
How can I get the Soap Exception that was throwed by the WebService that I call?
Or, you can add a WebserviceClientErrorHandler field to your page bean and set the binding of the errorHandler property of your webservice provider to point to this error handler bean. Then any error occurred inside provider methods will be delegated to the handler (you can also provide implementation of you own handler via interface).
You can take a look at the /samples/caf/wm_coreproviderstest. Look for view/ErrorHandling folder.