[ https://issues.apache.org/jira/browse/AXIS2-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen reassigned AXIS2-4363: -------------------------------------- Assignee: Andreas Veithen > Classcast exception when enabling MTOM with ADB > ------------------------------------------------ > > Key: AXIS2-4363 > URL: https://issues.apache.org/jira/browse/AXIS2-4363 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.4.1 > Environment: ADB databinding > Reporter: Julien Henry > Assignee: Andreas Veithen > > When enabling MTOM and generating client stub with ADB, I get the following > error when using my WS to download attachments: > {code} > 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) > {code} > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.