[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Updated] (AXIOM-362) SOAPHeader examineAllHeaderBlocks
From:       "Andreas Veithen (Updated) (JIRA)" <jira () apache ! org>
Date:       2011-10-27 22:06:32
Message-ID: 1311067727.27369.1319753192676.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/AXIOM-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Andreas Veithen updated AXIOM-362:
----------------------------------

    Fix Version/s:     (was: 1.2.13)
                   1.2.14
    
> SOAPHeader examineAllHeaderBlocks throws ClassCastException
> -----------------------------------------------------------
> 
> Key: AXIOM-362
> URL: https://issues.apache.org/jira/browse/AXIOM-362
> Project: Axiom
> Issue Type: Bug
> Components: LLOM
> Affects Versions: 1.2.11
> Reporter: Auke Schrijnen
> Priority: Minor
> Fix For: 1.2.14
> 
> Attachments: axiom-soapheader.patch
> 
> 
> The llom SOAPHeaderImpl class throws a ClassCastException:
> java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be \
> cast to org.apache.axiom.soap.SOAPHeaderBlock  at \
> org.apache.axiom.soap.impl.llom.SOAPHeaderImpl$HeaderIterator.<init>(SOAPHeaderImpl.java:181)
>   at org.apache.axiom.soap.impl.llom.SOAPHeaderImpl.examineAllHeaderBlocks(SOAPHeaderImpl.java:358)
>   at org.apache.synapse.core.axis2.Axis2MessageContext.toString(Axis2MessageContext.java:485)
>   at java.lang.String.valueOf(String.java:2826)
> 	at java.lang.StringBuilder.append(StringBuilder.java:115)
> 	at org.apache.synapse.mediators.eip.aggregator.AggregateMediator.mediate(AggregateMediator.java:249)
>   at ...
> The HeaderIterator does check for nodes other than a SOAPHeaderBlock node, except \
> for the first element. The method 'hasNext' does check if nodes are SOAPHeaderBlock \
> nodes.

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic