-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
tht tht wrote:
> Hello Nate,
>
> thanks for your prompt reply, in the
> invoke(msgContext) method of server-handler I have
> tried this:
>
> ----------------------------------------------
> Message msg = msgContext.getRequestMessage();
> SOAPEnvelope env = msg.getSOAPEnvelope();
>
> SOAPHeaderElement header =
> env.getHeaderByName("www.axisaccount.net/tbsg","client-adress");
>
> String s = header.getValue();
> ----------------------------------------------
>
> But, I get a java.lang.NullPointerException.
well, i don't do much with soap, so i don't really have any advice... i
guess i'd try something like this:
MessageContext msgContext = MessageContext.getCurrentContext();
SOAPHeader header = msgContext.getMessage().getSOAPHeader();
and go from there... i usually just debug into the code and browse
around with eclipse.... either that or just map everything i want to
used to java objects and let the tools do the serialization for me.
sorry i couldnt help much,
nate
>
> Thanks again
> Ivana
>
>
>
> __________________________________
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing and more. Check it out!
> http://discover.yahoo.com/stayintouch.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFCo15vgj8ksIjnb2wRAm8kAKCBoqm6qWzb5teQrs8OVut77BV9vwCeJwCb
Sf29iuDeuYuLFDJ/PGaOSYk=
=AhqF
-----END PGP SIGNATURE-----