You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/15 23:42:11 UTC

[jira] [Commented] (AXIS2-4363) Classcast exception when enabling MTOM with ADB

    [ https://issues.apache.org/jira/browse/AXIS2-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128284#comment-13128284 ] 

Hudson commented on AXIS2-4363:
-------------------------------

Integrated in axis2-1.5 #206 (See [https://builds.apache.org/job/axis2-1.5/206/])
    Backported r795789 and part of r1042244 to the 1.5 branch to reduce the coupling to Axiom internals. This should solve AXIS2-4363 and AXIS2-4387.

veithen : 
Files : 
* /axis/axis2/java/core/branches/1_5
* /axis/axis2/java/core/branches/1_5/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl
* /axis/axis2/java/core/branches/1_5/modules/adb/src/org/apache/axis2/databinding/types/soapencoding/Base64Binary.java
* /axis/axis2/java/core/branches/1_5/modules/adb/src/org/apache/axis2/databinding/types/xsd/Base64Binary.java
* /axis/axis2/java/core/branches/1_5/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
* /axis/axis2/java/core/branches/1_5/modules/distribution
* /axis/axis2/java/core/branches/1_5/modules/kernel/src/org/apache/axis2/transport/http/util/QueryStringParser.java
* /axis/axis2/java/core/branches/1_5/modules/kernel/test/org/apache/axis2/transport/http/util/QueryStringParserTest.java
* /axis/axis2/java/core/branches/1_5/modules/parent
* /axis/axis2/java/core/branches/1_5/modules/saaj/test/org/apache/axis2/saaj/TestUtils.java
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/pom.xml
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/java/org/apache/axis2/handlers
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/resources/META-INF/module.xml
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/applet
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/servlet
* /axis/axis2/java/core/branches/1_5/modules/tool/axis2-repo-maven-plugin
* /axis/axis2/java/core/branches/1_5/modules/transport/http/pom.xml
* /axis/axis2/java/core/branches/1_5/modules/transport/http/src
* /axis/axis2/java/core/branches/1_5/modules/transport/local
* /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminAgent.java
* /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AxisAdminServlet.java

                
> 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
>
>
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org