Hi,

It depends on the endpoint functionality.
- If you would like to have multiple endpoints exposing the same service 
contract (or specified list of service contract), you can use 
JaxWsServerFactoryBean: 
https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/java_first_jaxws_factory_bean/src/main/java/demo/hw/server/Server.java
 

- if you need to publish generic endpoint, processing requests for different 
service contracts, the Provider interface will be the right choice: 
https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/server
 

Regards,
Andrei.


> -----Original Message-----
> From: Maduranga Siriwardena [mailto:[email protected]]
> Sent: Montag, 20. April 2015 13:56
> To: [email protected]
> Subject: Dynamic end point generation
> 
> Hi all,
> 
> I'm new to cxf. I'm trying to create endpoints dynamically using cxf without
> using a static code. Let's say a user gives the necessary details needed to 
> create
> the end point. Then the required endpoint should be created without a static
> code for that particular endpoint.
> 
> Can someone point me to the right direction to get the things started. I need 
> to
> know the suitable APIs that can be used for this purpose.
> 
> Thank you.
> Maduranga Siriwardena

Reply via email to