On Thursday 03 April 2008, Arul Dhesiaseelan wrote: > Hello! > > I am developing a Java first spring based CXF services. Is there a way > to dynamically create services and clients at runtime rather using > service-beans.xml and client-beans.xml? > I am embedding Jetty as my server which will host my CXF services. > > Can someone on this group suggest me the approach? > > Thanks! > Arul
Basically, the spring things are just configuring instances of various factory beans. Thus, you can easily just configure the same factory beans via API's calls. For example, jaxws:server is just configuring a JaxWsServerFactoryBean. jaxws:client is configuring a JaxWsProxyFactoryBean instance. -- J. Daniel Kulp Principal Engineer, IONA [EMAIL PROTECTED] http://www.dankulp.com/blog
