Any chance either of you could zip up a small project that shows the problem with a small readme or something that explains how to run it and send it to me to look at?

Dan


On Jun 17, 2008, at 7:29 AM, Bilel wrote:


Hey
I have the same issue, my code works fine in Eclipse, but I got this stack
when I run it anywhere else.
I do already check my classpath, and the cxf-rt-bindings-soap is here!

And this is the stack trace that I got:
org.apache.cxf.service.factory.ServiceConstructionException
  at
org .apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java: 58)
  at
org .apache .cxf .frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java: 92)
  at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:376)
  at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:281)
  at javax.xml.ws.Service.getPort(Service.java:94)
........................................................
caused by: org.apache.cxf.BusException: No binding factory for namespace
http://schemas.xmlsoap.org/wsdl/soap/ registered.
at org.apache.cxf.binding.BindingFactoryManagerImpl.getBindingFactory(
BindingFactoryManagerImpl.java:82)
  at
org .apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(
AbstractWSDLBasedEndpointFactory.java:87)
  at
org .apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java: 51)
  at
org .apache .cxf .frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java: 92)
  at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:376)
  at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:281)
  at javax.xml.ws.Service.getPort(Service.java:94)

Bilel


dkulp wrote:


It's usually either a missing jar (cxf-rt-bindings-soap) or an error
in the spring configuration (not importing the META-INF/cxf/cxf-
extensions-soap.xml).

I would start off with double checking the classpath to make sure the
soap jar is there.

Dan



On Jun 16, 2008, at 2:45 PM, Layne Shepherd wrote:

Has anyone seen this exception before?  Or have any ideas how to fix
it?  Strange thing is, the code works fine when run with our unit
tests in our maven build, but bombs when run anywhere else.

Jun 16, 2008 11:14:43 AM
org.apache.cxf.service.factory.ReflectionServiceFactoryBean
buildServiceFromWSDL
INFO: Creating Service {http://exacttarget.com/wsdl/
partnerAPI}PartnerAPI from WSDL:
https://webservice.exacttarget.com/etframework.wsdl
[2008-06-16 11:14:45,368] [INFO] [main]
(ExactTargetFeedGenerator.java:54) - End ExactTargetFeedGenerator
Exception in thread "main" javax.xml.ws.WebServiceException:
org.apache.cxf.service.factory.ServiceConstructionException
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:249)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:234)
        at javax.xml.ws.Service.getPort(Service.java:92)
        at
com.exacttarget.wsdl.partnerapi.PartnerAPI.getSoap(PartnerAPI.java: 55)
        at
com
.bbos
.exacttarget.ExactTargetClient.getSoapStub(ExactTargetClient.java: 59)
        at
com
.bbos
.exacttarget
.ExactTargetManagerImpl.getSystemStatus(ExactTargetManagerImpl.java:
176)
        at
com
.bbos
.exacttarget
.ExactTargetFeedGenerator.serviceIsUp(ExactTargetFeedGenerator.java:
153)
        at com.bbos.exacttarget.ExactTargetFeedGenerator$$FastClassByCGLIB$
$928f4ba0.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
        at org.springframework.aop.framework.Cglib2AopProxy
$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:693)
        at
org
.springframework
.aop
.framework
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
139)
        at
org
.springframework
.transaction
.interceptor
.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
        at
org
.springframework
.aop
.framework
.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:
161)
        at org.springframework.aop.framework.Cglib2AopProxy
$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:628)
        at com.bbos.exacttarget.ExactTargetFeedGenerator$$EnhancerByCGLIB$
$5b9f1d5b.serviceIsUp(<generated>)
        at
com
.bbos
.exacttarget
.ExactTargetFeedGenerator.main(ExactTargetFeedGenerator.java:45)
Caused by: org.apache.cxf.service.factory.ServiceConstructionException
        at
org
.apache .cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:
58)
        at
org
.apache
.cxf
.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:
97)
        at
org
.apache
.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java: 89) at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java: 369)
        at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:247)
        ... 15 more
Caused by: org.apache.cxf.BusException: No binding factory for
namespace http://schemas.xmlsoap.org/wsdl/soap/ registered.
        at
org
.apache
.cxf
.binding
.BindingFactoryManagerImpl
.getBindingFactory(BindingFactoryManagerImpl.java:91)
        at
org
.apache
.cxf
.frontend
.AbstractWSDLBasedEndpointFactory
.createEndpoint(AbstractWSDLBasedEndpointFactory.java:92)
        at
org
.apache .cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:
51)
        ... 19 more


---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog







--
View this message in context: 
http://www.nabble.com/Noob-exception%3A-Caused-by%3A-org.apache.cxf.BusException%3A-No-binding-factory-for-namespace-http%3A--schemas.xmlsoap.org-wsdl-soap--registered.-tp17870960p17886513.html
Sent from the cxf-user mailing list archive at Nabble.com.


---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to