Hi
On 10/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi,
is it possible to restrict Handlers to operations (java methods) inside a
service definition? For example, I have method m1() and method m2() inside
service x and just want to use a handler for method m1().
Do I have to parse the SOAP Body by myself (with DOMInHandler) or must I use
SOAPAction or WS-Adressing? Is there any easier solution?
You can add operation name checking inside your handler body:
if( !"m1".context.getExchange().getOperation().getName() ){
return ;
}
Another question: If I use DOMInHandler due to wss4j, how strong will be the
performance impact in theory? Will any message be double parsed?
Most of the XFire performace will be lost ( i'll be doing such
performence test this weekend, so you can ping me then ), you can
expect maybe 20 times worse performece ( i'm just guessing here :)
Thanks for answers!
Chris
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email