EnvelopeBuilderDOM: buildSOAPHeader, reduce log level to debug for text node types.
-----------------------------------------------------------------------------------
Key: JBWS-2830
URL:
https://jira.jboss.org/jira/browse/JBWS-2830
Project: JBoss Web Services
Issue Type: Task
Security Level: Public (Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.2.1
Reporter: Daniel Bevenius
Priority: Minor
buildSOAPHeader currently logs with a WARN level if a header element contains a text
element, for example a new line character.
The following header:
<soap:Header>
<wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">
</wsse:Security>
</soap:Header>
will generate the following in the warnings:
10:37:03,426 WARN [main][EnvelopeBuilderDOM] Ignore child type: 3
10:37:03,435 WARN [main][EnvelopeBuilderDOM] Ignore child type: 3
Changing the header to:
<soap:Header><wsse:Security
xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">&l...
will not generate any warnings at all.
I think it might be nice to not have such a warning, at least not for the above situation
as it might confuse users.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira