Hi,
In a few messaging stacks (e.g. XFire, Apache CXF, Apache Camel) it is
possible to route invocations on a SOAP endpoint to a generic handler if the
implementation class behind the interface contains a method with a signature
such as this fictional example:
class MyCustomRouter {
public Document handler(ExchangeInfo ex, Document request) {
String operationName = ex.getOperation();
// do some custome dispatch and build a SOAP response
return doc;
}
}
Is such a implementation.java promotion possible for Tuscany SCA
composites?
As I wish to route all SOAP requests to a common Java component that does
some common setup and then dispatches to a Groovy class - in a way very
different to 'implementation.script language="groovy"' provides.
Regards
Wayne