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

Ivan commented on AXIS2-5001:
-----------------------------

Hi, Andreas, thanks for following this issue. From my investigation, if I 
updated axiom codes a bit to force an empty header is added, the cases would 
pass. Also, I tried some of the cases (did not have time to try all the failed 
cases caused by NPE), if an exception is thrown, the cases would pass too. So I 
am thinking, is it possible to add a control flag (said saaj.strict) for this, 
the users could switch the behaviors between throwing an exception or returning 
null ? 

> SOAPMessage.getSOAPHeaders() return null while no headers in the soap envelope
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2-5001
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5001
>             Project: Axis2
>          Issue Type: Bug
>          Components: saaj
>    Affects Versions: 1.5.4
>            Reporter: Ivan
>
> Per Java doc, SOAPMessage.getSOAPHeaders() should throw SOAPException while 
> no header exists in the soap message, while it returns null in current 
> axis2-saaj implementation.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to