axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <atma...@gmail.com>
Subject Re: SOAPHeaderElement element = envelope.getHeaderByName
Date Fri, 06 May 2005 11:55:18 GMT
The first parameter is the namespace URI of the header's QName; the
second parameter is the local name. So, for example, if you wanted to
retrieve the WS-Security header:

<wsse:Security xmlns:wsse="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
.../>

The first parameter would be
"http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"

And the second parameter would be 
"Security"

Anne

On 5/6/05, Plorks mail <plork123@hotmail.com> wrote:
> 
> 
> Please can someone help me
> 
> I'm trying to implement the above line of code but stuck as to what to put
> in the first parameter
> 
> SOAPHeaderElement element =
> envelope.getHeaderByName("http://localhost:8080....what goes in here",
> "headername");
> 
> Can some please help me
> 
> Many thanks
> 
> _________________________________________________________________
> It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
> http://messenger.msn.co.uk
> 
>

Mime
View raw message