http://ws.apache.org/axis2/1_1_1/modules.html
You can use the message context for that. The service saves information into the message context (as properties). The out-handler adds those information to the SOAP header. Michele On Mon, 2007-04-16 at 13:54 +0200, José Antonio Sánchez wrote: > The problem is that only the service, reading the request message and > invoking its business logic knows what it must be put in the header, > so if I override the InOutMessageReceiver class I will not know what > to put in the headers. Only the service implementation knows that but > it can't put anything on the header. > Anyway, does anybody know where can I find information about how to > start a module/handler or something like that? > > On 4/14/07, Thilina Gunarathne <[EMAIL PROTECTED]> wrote: > > AFAIK currently it's not possible to do that from your service > > implementation class... > > > > You may need to write a handler to add those elements to the header of > > the outgoing message and engage that handler in the outflow.. > > > > On 4/13/07, José Antonio Sánchez <[EMAIL PROTECTED]> wrote: > > > Hello, I'm developing a service and I have to return some elements in > > > the header when some operations of my service are invoked but I don't > > > know how to do this. For the incoming message I can use > > > MessageContext.getCurrentMessageContext().getEnvelope() but, how do I > > > add a header to a response? > > > > > > -- > > > Saludos. > > > José Antonio Sánchez > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Thilina Gunarathne - http://www.wso2.com - http://thilinag.blogspot.com > > > > --------------------------------------------------------------------- > > 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]
