axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keith chapman" <>
Subject Re: [AXIS2] Echo ws with headers
Date Wed, 28 Feb 2007 04:48:42 GMT
R you trying to add cusom SOAP headers to the response message? If so you
can try the following in the message Receiver.

// Create a SOAPHeader block
SOAPHeaderBlock soapHeader = soapFactory.createSOAPHeaderBlock();

// Add the SOAP header to the envelop

Hope this might help.


On 2/28/07, Cencio1980 <> wrote:
> Hi,
> i'm trying to make a simple echo ws in axis2, but i loose soap headers in
> the response message.
> Now i'm trying to copy headers from request message to response message
> with an handler in the out pipe, but i have to iterate on each header and
> add it one by one and i'd like to avoid this method.
> I do this in the out pipe because response message context is null in
> service and avaiable only in the out pipe.. why?
> Some1 can help me?
> thx!

Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.

View raw message