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 "Ivan (JIRA)" <ji...@apache.org> on 2011/05/11 07:21:47 UTC
[jira] [Updated] (AXIS2-5001) SOAPMessage.getSOAPHeaders() return
null while no headers in the soap envelope
[ https://issues.apache.org/jira/browse/AXIS2-5001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan updated AXIS2-5001:
------------------------
Attachment: AXIS2-5001.patch
The patch uses a system property to control the behavior. by default, it keeps on the current behavior, which returns null while no header exists in the soap message.
> 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
> Attachments: AXIS2-5001.patch
>
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org