Re: How to publish simple Service programatically (CXFNonSpringServlet , Tomcat, ReflectionServiceFactoryBean) ?

2011-06-27 Thread Daniel Kulp
On Monday, June 27, 2011 10:21:13 AM sudhakar wrote: > The above example, when i am trying to code same way i am getting type cast > exception for ServerFactoryBean factory = new ServiceFactoryBean(); > > Any help? It should be: ServerFactoryBean factory = new ServerFactoryBean(); Dan > >

Re: How to publish simple Service programatically (CXFNonSpringServlet , Tomcat, ReflectionServiceFactoryBean) ?

2011-06-27 Thread sudhakar
The above example, when i am trying to code same way i am getting type cast exception for ServerFactoryBean factory = new ServiceFactoryBean(); Any help? -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-publish-simple-Service-programatically-CXFNonSpringServlet-Tomcat-Ref

Re: How to publish simple Service programatically (CXFNonSpringServlet , Tomcat, ReflectionServiceFactoryBean) ?

2009-03-22 Thread Sebastian Himberger
Hi Willem, thanks very much for this answer. This is exactly what I needed. Thanks thanks thanks! I thought the ServerFactoryBean could only be used as a standalone server. I've thrown your code in and it seems to work. I will play around further and hopefully get everything to work. All the be

Re: How to publish simple Service programatically (CXFNonSpringServlet , Tomcat, ReflectionServiceFactoryBean) ?

2009-03-21 Thread Willem Jiang
Hi , If you are using the simple front end API to publish the endpoint, you need to use ServerFactoryBean instead of ReflectionServiceFactory and set the address your self. Here is the simple front end API to publish the service ServerFactoryBean factory = new ServiceFactoryBean(); factory.setBus

How to publish simple Service programatically (CXFNonSpringServlet , Tomcat, ReflectionServiceFactoryBean) ?

2009-03-21 Thread Sebastian Himberger
Hi, I'm new to CXF and want to create some webservices programatically using the simple front (because I want to discover the webservice classes programatically) and using the CXFNonSpringServlet (deployed in Tomcat). I've looked at the examples in the documentation but unfortunately the CXFNonSp