[ https://issues.apache.org/jira/browse/AXIS2-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen updated AXIS2-4363: ----------------------------------- Fix Version/s: 1.5.7 > Classcast exception when enabling MTOM with ADB > ------------------------------------------------ > > Key: AXIS2-4363 > URL: https://issues.apache.org/jira/browse/AXIS2-4363 > Project: Axis2 > Issue Type: Bug > Affects Versions: 1.4.1 > Environment: ADB databinding > Reporter: Julien HENRY > Assignee: Andreas Veithen > Fix For: 1.6.0, 1.5.7 > > > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org