Hi Deepal, thanks for the answer. I know that there is no change in the envelope. But is there any possibility to change the envelope? Would it be possible to work directly within the envelope? When I get the envelope object, and maybe a specific part of the header as OMElement, would I be able to change the envelope in that way. For example:
OMElement element = msgContext.getEnvelope().getHeader().getFirstChild();
element.setText("hallo");
Would this affect the envelope itself?
Thanks for the help.
Regards,
Sebastian
Deepal Jayasinghe wrote:
> hi Sebastian ,
>
>> Hi,
>>
>> I've got a problem concerning the MessageContext used in Axis2
>> MessageReceivers and Handlers. Is it possible to change members of the
>> message context; e.g. WSAAction? How this changes can be applied to
>> envelope within this message context? I tried
>> msgContext.getEnvelope().buildWithAttachements() but it ignores the
>> changes of the WSAAction member completely.
>>
>>
> Envelope is built using input stream , so if you change the wsa action
> there will wont be any change in the envelope.
>
> Thanks
> Deepal
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
signature.asc
Description: OpenPGP digital signature
