Is the cxf-rt-bindings-soap jar available? It looks like you are creating an uber jar or similar sinco the .ServiceImpl class seems to not be coming from cxf-rt-frontend-jaxws. If so, are you making sure the META-INF/cxf/bus-extensions.txt files are properly concatted together?
Dan > On Mar 20, 2016, at 9:09 AM, mostafa <[email protected]> wrote: > > Hello, > > i tried to create webservice client "from wsdl" ,when i run the client from > test class every thing is running well, but when i tried to call the client > from another module under jboss , i got the following error > > Caused by: javax.xml.ws.WebServiceException: > org.apache.cxf.service.factory.ServiceConstructionException > at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:317) > [matrix12EJBSystem.jar:] > at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:302) > [matrix12EJBSystem.jar:] > at javax.xml.ws.Service.getPort(Service.java:99) > [jboss-jaxws-api_2.2_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1] > at > com.thegroup.ocean.client.generated.Service.getServiceSoap(Service.java:76) > [matrix12EJBSystem.jar:] > at > com.thegroup.visamanagement.ocean.client.OceanProxyFactory.selectSoap(OceanProxyFactory.java:85) > [matrix12EJBSystem.jar:] > at > com.thegroup.visamanagement.ocean.client.OceanProxyFactory.init(OceanProxyFactory.java:64) > [matrix12EJBSystem.jar:] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [rt.jar:1.7.0_55] > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > [rt.jar:1.7.0_55] > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > [rt.jar:1.7.0_55] > at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.7.0_55] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702) > [matrix12EJBSystem.jar:] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641) > [matrix12EJBSystem.jar:] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570) > [matrix12EJBSystem.jar:] > ... 151 more > Caused by: org.apache.cxf.service.factory.ServiceConstructionException > at > org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:59) > [matrix12EJBSystem.jar:] > at > org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:102) > [matrix12EJBSystem.jar:] > at > org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:115) > [matrix12EJBSystem.jar:] > at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:437) > [matrix12EJBSystem.jar:] > at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:315) > [matrix12EJBSystem.jar:] > ... 163 more > Caused by: org.apache.cxf.BusException: No binding factory for namespace > http://schemas.xmlsoap.org/wsdl/soap/ registered. > > so did any one face the above issue before? > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/CXF-Webservice-client-exception-tp5767076.html > Sent from the cxf-dev mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
