Hi! I have a problem when I try to use log4j to make a log (axis2.log). I'm trying to add some headers to a message using an "OutHandler" to insert an "unknown header" to provoke an invalid behaviour in a client of the web service.
The matter is that when I use TCPMonitor I can see that "unknown header" as shown below: <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To soapenv:mustUnderstand="true">http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id=urn:uuid:5FB62855DB385DC0B11304671760205</wsa:To> <wsa:MessageID soapenv:mustUnderstand="true">urn:uuid:3333BF5B595B1ECD531303124943513</wsa:MessageID> <wsa:Action soapenv:mustUnderstand="true">urn:...</wsa:Action> <wsa:RelatesTo soapenv:mustUnderstand="true">urn:uuid:5FB62855DB385DC0B11304671760187</wsa:RelatesTo> <wsrm:Sequence xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702" soapenv:mustUnderstand="true"> <wsrm:Identifier>urn:uuid:5FB62855DB385DC0B11304671760223</wsrm:Identifier> <wsrm:MessageNumber>1</wsrm:MessageNumber> </wsrm:Sequence> <wsrm:SequenceAcknowledgement xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702" soapenv:mustUnderstand="true"> <wsrm:Identifier>urn:uuid:7D26AA25DDA26D84E31289820000678</wsrm:Identifier> <wsrm:Nack>1</wsrm:Nack> </wsrm:SequenceAcknowledgement> <unk:UnknownHeader xmlns:unk="http://unknown" soapenv:mustUnderstand="true" /> </soapenv:Header> but when I go into the axis2.log, I just see this soap header: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing" soapenv:mustUnderstand="true"> http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id=urn:uuid:5FB62855DB385DC0B11304671760205</wsa:To> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing" soapenv:mustUnderstand="true"> urn:uuid:3333BF5B595B1ECD531303124943513</wsa:MessageID> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing" soapenv:mustUnderstand="true"> urn:...</wsa:Action> <wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing" soapenv:mustUnderstand="true"> urn:uuid:5FB62855DB385DC0B11304671760187</wsa:RelatesTo> <wsrm:Sequence xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702" soapenv:mustUnderstand="true"> <wsrm:Identifier>urn:uuid:5FB62855DB385DC0B11304671760223</wsrm:Identifier> <wsrm:MessageNumber>1</wsrm:MessageNumber> </wsrm:Sequence> </soapenv:Header> Anybody know why?? Thanks. Fran. -- View this message in context: http://old.nabble.com/TCPMonitor-vs.-axis2.log-tp31557235p31557235.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
