Hi Andy, The problem is actually in Axiom: if the SOAP envelope in the object model has an empty SOAP header, Axiom will skip the serialization of the SOAP header element. This causes a consistency problem, as described in AXIOM-430.
I'm happy that you bring this issue up because it gives me an excuse to get rid of that aberration in Axiom. Can you please create a JIRA issue with the problem description from your previous mail? Andreas On Mon, Jan 27, 2014 at 2:23 PM, Andy Schmidt <andy.schm...@kisters.de> wrote: > 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: > andy.schm...@kisters.de | 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. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org