Axis2 Print empty/black soap header

Andy Schmidt <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <OF6D1BFA4F.3BE95504-ONC1257C6A.00537566-C1257C6D.00498B06@kisters.de>
Hi,

is it possible that the Axis2 1.6.2 framework prints a empty default soap 
header into the soap response envelope? Like:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
">
   <soapenv:Header/>
   <soapenv:Body>
      <ns1:Response xmlns:ns1="example">
         <ns1:value>true</ns1:value>
      </ns1:Response>
   </soapenv:Body>
</soapenv:Envelope>

I am implementing a soap web service which must be return a soap envelope 
which contains a empty soap header, because the requesting client does 
expact a empty soap header. Normally the client should ignore black soap 
headers, but its not possible to change the client system at the moment.

Is there a way to print empty soap header? Maybe set a property?

I have been taking a look into the SOAP-Standard documents, but I didn't 
found a description of how to manage empty/black soap headers.

Regards,

Andy Schmidt
--------------------------------------------------------------------------------------------------------------------------------------------
 Andy Schmidt - KISTERS AG - Charlottenburger Allee 5 - 52068 Aachen - Germany
Handelsregister Aachen, HRB-Nr. 7838 | Vorstand: Klaus Kisters, Hanns Kisters | Aufsichtsratsvorsitzender: Dr. Thomas Klevers
Tel.: +49 241 9671 -449 | Fax: +49 241 9671 -555 | E-Mail: [email protected] | WWW: http://www.kisters.de
--------------------------------------------------------------------------------------------------------------------------------------------
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. 
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.