Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.2.7
-
None
Description
When using JaxWsProxyFactoryBean and JaxWsServerFactoryBean with AegisDataBinding some interfaces is broken and all methods call result in NULL.
When contract interface contains method with parameters of type List<Integer> AND NOT CONTAIN method with return type "List<Integer>" then all methods call return NULL.
Server code:
JaxWsServerFactoryBean serverFactoryBean = new JaxWsServerFactoryBean(); serverFactoryBean.setServiceClass(AopUtils.getTargetClass(implementor)); //WSImpl.class serverFactoryBean.setServiceBean(implementor); //WSImpl.class serverFactoryBean.setDataBinding(new AegisDatabinding()); serverFactoryBean.setAddress(url); serverFactoryBean.setBus(cxfServlet.getBus()); serverFactoryBean.create();
Client code:
JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); factory.setServiceClass(resultInterfaceClass); //WS.class factory.setAddress(asURL); factory.setDataBinding(new AegisDatabinding()); Object remoteInterfaceImpl = factory.create();
Interface:
@WebService(name="cesnek", targetNamespace="http://ns1") public interface WS { Integer zalozNovyDokument(@WebParam(name = "idTypDokument") Integer idTypDokument); void vratDmsDokumenty(@WebParam(name = "idDmsDokumentList") List<Integer> idDmsDokumentList); //When next line is un-commented - bug disappears and all working fine! //List<Integer> vratDmsDokumenty(); }
Attachments
Attachments
Issue Links
- is a clone of
-
CXF-2668 JaxWsProxyFactoryBean and JaxWsServerFactoryBean communication broken
- Closed