Can't you just setup up multiple jaxws:endpoint entries in your CXF
config and have them all point to the same implementor?

Or does the config information absolutely *have* to come from a
different config file of your own design?

Andrew.

2009/1/27 Dave Burford <[email protected]>:
> Hello,
>
> I would like to be able to expose Services that are based on (my)
> configuration data, and not WSDL or Java classes.
>
> For example, on start up of my server, I may read the configuration and add
> a service called 'Customer' and one called 'Account'. Each will have a
> couple of operations, which are also defined in the configuration data.
>
> When the services are invoked, they will all delegate to the same
> implementation class.
> This will get the name of the service and operation along with any
> arguments, which are then used to 'do the right thing'.
>
> I have written an Invoker to act as the generic service implementation, This
> is working OK.
>
> Now, I need to figure out how to expose the services.
>
> I think I need to create a custom ServiceFactoryBean, which interprets my
> configuration data and exposes the service.
>
> Will this work? Is there a better way?
>
> Thanks in advance!
>
> Dave
>



-- 
New site launched: http://biotext.org.uk/

I am retiring my old email addresses.
Please use [email protected] where firstname = andrew.

Reply via email to