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