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/
