Hi Erwin,

Something like the following should work,

MessageContext inContext = MessageContext.getCurrentMessageContext();
OperationContext operationContext = 
inMessageContext.getOperationContext();
MessageContext outMessageContext = 
operationContext.getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
outMessageContext.setMessageID(...);

Cheers

Brian DePradine
Web Services Development
IBM Hursley
External  +44 (0) 1962 816319         Internal 246319

If you can't find the time to do it right the first time, where will you 
find the time to do it again?


"Erwin Reinhoud" <[EMAIL PROTECTED]> wrote on 17/09/2008 14:21:25:

> 
> Hello All,
> 
> Wondering if anyone could tell me how to set the wsa:MessageID for a
> reply message from a service with a custom format.
> 
> Thanks in advance.
> 
> Kind regards,
> erwin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 






Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU





Reply via email to