Hi all,
I had an application developed using the Eclipse Ganymede. This application
has a web service implemented using Apache CXF and run without problems.
Recently, we migrated it to Eclipse Galileo and the web service stoped
working. It doesn't raise any error or exception and apparently runs without
problem. However, the services are not created. Is there someone with the
same problem?
The code used to create de web service is:
JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
svrFactory.setServiceClass(Position.class);
svrFactory.setAddress(address);
svrFactory.setServiceBean(implementor);
svrFactory.getInInterceptors().add(new PremfireInterceptor());
svrFactory.create();
The log is:
C:\Program
Files\Java\eclipse-rcp-galileo\plugins\org.eclipse.equinox.launcher_1.0.200.
v20090520.jar
org.apache.cxf.service.factory.ReflectionServiceFactoryBeanbuildServiceFromC
lass
INFO: Creating Service { <http://server.position/> http://server.position
/}PositionService from class position.server.Position
org.apache.cxf.endpoint.ServerImpl initDestination
INFO: Setting the server's publish address to be
<http://localhost:9000/position> http://localhost:9000/position
org.mortbay.log.Slf4jLog info
INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
org.mortbay.log.Slf4jLog info
INFO: jetty-6.1.16
org.mortbay.log.Slf4jLog info
INFO: Started [email protected]:9000
The server is available and the WSDL is returned (
<http://localhost:9000/position?wsdl> http://localhost:9000/position?wsdl)
but the services are not present in the wsdl.
Any help is very welcomed!
Much Thanks!!
Pedro Oliveira