Ok, this is the point. The problem is that it seems they don't work.

Michele

Samisa Abeysinghe wrote:
> Michele Mazzucco wrote:
> 
>> Right, but how can I get the same result, say, in a message handler,
>> where you have only the message context?
>>  
>>
> If I understand your problem correct, you want to add a header from a
> handler.
> If that is the case, you can access the SOAP envelope and use its API to
> get the job done.
> 
> Samisa...
> 
>> Michele
>>
>> Samisa Abeysinghe wrote:
>>  
>>
>>> Michele Mazzucco wrote:
>>>
>>>   
>>>> Hi all,
>>>>
>>>> is it possible to get the same result with outgoing messages as well by
>>>> using the setOperationContext() (it seems to me that the
>>>>
>>>> outMsgCtx =
>>>> opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE);
>>>>
>>>> into the setOperationContext() doesn't work as espected
>>>> )?
>>>>
>>>> If no, is there any way to add some headers to outgoing messages?
>>>>
>>>>
>>>>     
>>> You can use:
>>> public void addHeader(OMElement header)
>>> of service client to add headers.
>>>
>>> HTH.
>>> Samisa...
>>>
>>>   
>>>> Thanks in advance,
>>>> Michele
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>     
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>   
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>  
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to