[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Visionaries] Vision of debugging webservices : Interceptors

From: James Michael DuPont
Subject: [Visionaries] Vision of debugging webservices : Interceptors
Date: Tue, 29 Apr 2003 11:55:48 -0700 (PDT)

I would like to see the possibility of being able to debug 
web services using xmlrpc, by intercepting method calls.

Here are the methods :

1. Intercept 

Intercept allows you to register a method that is called when the
original method is called. 

The method called may be a mini server running on your computer that
displays the results.

It can be called before a function is called, when it returns or when
an exception is thrown.

Filters can be set to reduce the amount of data sent over the wire
or filter when the interception occurs.

Here are the parameters of the intercept function :
            @methodname     = the name of the method to intercept
            @mode           = Calls|Returns|Exception|
            @hookfunction   = the name of the web service to send the
debug information to.
            @callfilterexp      = an xpath expression that filters the
calls of the functions to listen to.
            @datafilterexp      = an xpath expression that filters the
data sent over the wire.

Security Aspects : 
This method can only be invoked when the proper permissions are

This interceptor can also be created as a intermediate broker service
that stores and forwards webservice requests,and uses XPATH/XSLT to
transform them on the way.


James Michael DuPont

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]