Re: SOAPMessage.getSOAPHeaders() return null while no headers in the soap envelope

2011-04-12 Thread Ivan
Open a JIRA https://issues.apache.org/jira/browse/AXIS2-5001 for this 2011/4/12 Andreas Veithen > Ivan, > > Based on your description of the problem it is not possible to > determine if that should be considered an issue in Axiom, axis2-saaj > or axis2-jaxws. Please open a JIRA report and submit

Re: SOAPMessage.getSOAPHeaders() return null while no headers in the soap envelope

2011-04-11 Thread Andreas Veithen
Ivan, Based on your description of the problem it is not possible to determine if that should be considered an issue in Axiom, axis2-saaj or axis2-jaxws. Please open a JIRA report and submit a test case that allows to reproduce the issue so that we can determine where this needs to be fixed. Andr

Re: SOAPMessage.getSOAPHeaders() return null while no headers in the soap envelope

2011-04-11 Thread Ivan
Seems that axiom optimize the serialization, if no sub header element exists, it will not output header element. ---> if ((header != null) && (header.getFirstOMChild() != null)) { serializeInternally((OMNodeImpl) header, writer); } <--- 2011/4/11 Ivan > Hi, I