ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIOM-362) SOAPHeader examineAllHeaderBlocks throws ClassCastException
Date Fri, 25 Mar 2016 19:28:25 GMT

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

Hudson commented on AXIOM-362:
------------------------------

SUCCESS: Integrated in axiom-trunk #2624 (See [https://builds.apache.org/job/axiom-trunk/2624/])
AXIOM-362: Support on the fly conversion to SOAPHeaderBlock in remaining SOAPHeader methods.
(veithen: rev 1736631)
* axiom/aspects/om-aspects/src/main/java/org/apache/axiom/soap/impl/mixin/AxiomSOAPHeaderSupport.aj
* axiom/axiom-api/src/main/java/org/apache/axiom/soap/SOAPHeader.java
* axiom/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPHeaderImpl.java
* axiom/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap11/SOAP11HeaderImpl.java
* axiom/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12HeaderImpl.java
* axiom/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/SOAPHeaderImpl.java
* axiom/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap11/SOAP11HeaderImpl.java
* axiom/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12HeaderImpl.java


> 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
>         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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message