Hi Pascal,
what you have to do is the following:
If TException.hasAccessFailureException() is true, get the TAccessFailureException with TException.getAccessFailureException().
Get the return value from TAccessFailureException.getReturnValue(), which returns the number as a String.
We noticed that TAccessFailureException is not documented in JavaDoc. This is an error and we will fix this for the next release.
Best regards,
Christian.
#webMethods#API-Management#webMethods-Tamino-XML-Server-APIs