axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinthaka THilakarathna <>
Subject [Axis2]Problem with msgContext
Date Mon, 20 Jun 2005 05:07:46 GMT
Hi All,

i got a problem with msgContext, when i working with a module. pls can
somebody help me to find out whats wrong with that.

ok, this is what I'm going to do.

i used a inflow handler to exact the header blocks from the inflow
soap message and add them to the msgContext as a propety of operation
context.then at the out flow handler i  exact that operationContext
propety and then add it to the soap header again with some

ah.. but i got some errors.
i try used the following way.

i got the soap header from the msgContext as follows.

SOAPHeader header = msgContext.getEnvelope().getHeader();

it gives null pointer exception when i try to add a header block to the header.
pls can someone explain this.

then i just print the out flow soap message at the OutFlowHandler.
its like follows


u can see the empty header, but after the body.

Chinthaka Thilakarathna

View raw message