You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Oleg Tikhonov <ol...@gmail.com> on 2013/12/02 08:57:42 UTC

No connection could be made

Hi guys,

Is anybody met this error:
"No connection could be made because the target machine actively refused it
127.0.0.1:8002"

Pay attention the service is RM.

My service looks like that:
[code]

 JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
            factory.setBindingId(Constants.WSDL_SOAP12);
            factory.setAddress(Constants.HTTP +
settingsProvider.getIpAddress() + ":" +
 settingsProvider.getDaAsmAcceptorPort() + "/" +
JAVA_WS_CLIENT_HANDLER.toStr());
            factory.setServiceClass(INotifyDuplex.class);
            factory.setServiceBean(myWsEventCatcher);

            factory.getFeatures().add(new WSAddressingFeature());
            factory.getFeatures().add(new RMFeature());

            factory.getInInterceptors().add(new LoggingInInterceptor());
            factory.getOutInterceptors().add(new LoggingOutInterceptor());
            return factory.create();

[/code]


MS suggests:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/65cd9ca0-974f-4527-8b6d-e32613aea8db/wcf-nettcp-binding-not-working

Any thoughts what can be done to nail that?

Thanks,
Oleg