Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.4.1
-
None
-
None
-
ADB databinding
Description
When enabling MTOM and generating client stub with ADB, I get the following error when using my WS to download attachments:
java.lang.ClassCastException:
org.apache.axiom.om.util.OMXMLStreamReaderValidator cannot be cast to org.apache.axiom.om.impl.llom.OMStAXWrapper
at com.xxx.vaultwebservice.client.Vault_WebServiceStub$XXXBundleType$Factory.parse(Vault_WebServiceStub.java:21236)
at com.xxx.vaultwebservice.client.Vault_WebServiceStub$DownloadXXXResponse$Factory.parse(Vault_WebServiceStub.java:56454)
at com.xxx.vaultwebservice.client.Vault_WebServiceStub.fromOM(Vault_WebServiceStub.java:64390)
This error only occurs when log level for org.apache.axiom is DEBUG so a workaround is to set log level > DEBUG.
The bug is also present with staged 1.5 version.