The present invention provides a mechanism that allows an administrative
event to trigger or cause the generation of a dynamic web service during
initialization of legacy application components. Similar to other types
of static tooling approaches, the dynamic approach--as supported
herein--uses available metadata describing an interface for communicating
with legacy components. Rather than generating and manifesting the web
service via tooling on a one time or occasional bases, however, example
embodiments provide for the generation of the web service by the
supporting infrastructure as a standard part of application
initialization. Upon stopping the application, a termination sequence is
provided that stops the corresponding dynamic web service and deletes the
web service description used to generate the dynamic web service.
Accordingly, every time the application is started the available metadata
will need to be consulted and a consistent service will be built
on-the-fly.