axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Matthias.Gai...@t-systems.com>
Subject Custom module in serviceGroup
Date Thu, 09 Jul 2009 09:33:41 GMT
Hi group,

 

I have had the same problem like Florian described here
(http://markmail.org/message/apoieprt4bz7teyd) that my custom module was
activated for every service although I configured it only for a single
operation. I've found the same solution like he did:

 

public InvocationResponse invoke(MessageContext ctx) throws AxisFault {

   if(ctx.isEngaged("mymodulename"))

  {

      return this.processMessage(ctx);

   }

   return InvocationResponse.CONTINUE;

} 

 

I wonder now why I have to check if the module is engaged in my handler.
Is not Axis supposed to do this? It has got all the informations in my
services.xml.

 

Matthias.

 


Mime
View raw message