Hi Michele,
You could use the default endpoint to enable addressing when you are using
the To address of the message to send the message as follows;
<send>
<endpoint>
<default>
<enableAddressing/>
</default>
</endpoint>
</send>
Thanks,
Ruwan
On Thu, Oct 23, 2008 at 5:09 PM, Dinuka <[EMAIL PROTECTED]> wrote:
> Hi Michele,
> AFAIK you have to direct you call to an endpoint and enable addressing from
> within the endpoint.
>
> Regards,
> Dinuka
>
>
>
> Michele Mazzucco wrote:
>
>> Ruwan,
>>
>> thanks for your answer. How do I enable the addressing module if the
>> configuration looks like sample 0 (i.e. there's no target address)?
>>
>> Michele
>>
>> On 23 Oct 2008, at 11:38, Ruwan Linton wrote:
>>
>> Hi Michele,
>>>
>>> AFAIK, SOAP header is not compulsory, if you do not specify synapse to
>>> turn
>>> on addressing it will not propagate the addressing header to the web
>>> service, in which case web service also responds without addressing,
>>> resulted in a null header. This is acceptable..
>>>
>>> Thanks,
>>> Ruwan
>>>
>>> On Thu, Oct 23, 2008 at 3:36 PM, Michele Mazzucco <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>> Hi all,
>>>>
>>>> I have written a simple mediator which is called by both incoming and
>>>> outgoing messages. I was getting a NPE while trying to manipulate the
>>>> message, and I have found out that the SOAP header for outgoing messages
>>>> is
>>>> null, i.e.
>>>> synCtx.getEnvelope.getHeader == null returns true, but only for outgoing
>>>> msgs.
>>>> The target service is SimpleStockQuoteService and the client is
>>>> stockquote.
>>>>
>>>> Isn't the SOAP header compulsory? Furthermore, what about all the
>>>> addressing information, etc.?
>>>>
>>>>
>>>> Thanks,
>>>> Michele
>>>>
>>>>
>>>
>>>
>>> --
>>> Ruwan Linton
>>> http://wso2.org - "Oxygenating the Web Services Platform"
>>> http://ruwansblog.blogspot.com/
>>>
>>
>>
>>
>
--
Ruwan Linton
http://wso2.org - "Oxygenating the Web Services Platform"
http://ruwansblog.blogspot.com/