AxisMessage doesn't represent the current message. Instead it
represents a wsdl:message element, i.e. it is part of the service
description. To get the SOAP headers from the current message, get the
SOAPEnvelope from the MessageContext.
Andreas
On Mon, Mar 26, 2012 at 16:49,
Andreas, thank you much.
-Original Message-
From: Andreas Veithen [mailto:andreas.veit...@gmail.com]
Sent: Wednesday, March 28, 2012 2:55 PM
To: java-user@axis.apache.org
Subject: Re: Can't access SOAP header
AxisMessage doesn't represent the current message. Instead it represents
Hello all,
My web service client passes a custom SOAP header to the service. The
SOAPMonitor shows that it is included soapenv:Header element.
On the server side I'm attempting to get it using this bit of code:
MessageContext ctx = MessageContext.getCurrentMessageContext();
OperationContext
Have you engaged addressing.mar on client and service?
Josef
Von: aaron.stro...@rsa.com [mailto:aaron.stro...@rsa.com]
Gesendet: Montag, 26. März 2012 16:50
An: java-user@axis.apache.org
Betreff: Can't access SOAP header
Hello all,
My web service client passes a custom SOAP header
Yes, I did.
From: Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch]
Sent: Monday, March 26, 2012 12:11 PM
To: java-user@axis.apache.org
Subject: AW: Can't access SOAP header
Have you engaged addressing.mar on client and service?
Josef
Von: aaron.stro...@rsa.com [mailto:aaron.stro