Apache CXF 2.0.12 to 2.2.7 upgrade issue

Posted by FkYkko on Stack Overflow See other posts from Stack Overflow or by FkYkko
Published on 2010-03-29T09:20:27Z Indexed on 2010/03/29 9:23 UTC
Read the original article Hit count: 503

Filed under:
|
|

I have upgraded a CXF web service implementation from Apache CXF 2.0.12 to 2.2.7 and now I can't connect from a remote computer.

http://localhost:9000/Data?wsdl

works on the installed computer.

http://computername:9000/Data?wsdl

from a remote computer does not work anymore (worked before upgrade).

The service is configured in code (no configuration files) with the following code:

DataServiceImpl dataImplementor = new DataServiceImpl();
JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
svrFactory.setServiceClass(DataServiceImpl.class);
svrFactory.setAddress("http://localhost:9000/Data");
svrFactory.setServiceBean(dataImplementor);
if(intercept) {
  svrFactory.getInInterceptors().add(new LoggingInInterceptor());
  svrFactory.getOutInterceptors().add(new LoggingOutInterceptor());
}
svrFactory.create();

Is there anything in the configuration which defines "Allowed clients" or something like that?

© Stack Overflow or respective owner

Related posts about cxf

Related posts about apache-cxf