Hi, The service address should be http://hbs-01.qa2.mainco.cb:8443/bsg/myws/OrganizationService but not http://hbs-01.qa2.mainco.cb:8443/bsg/myws/OrganizationService?wsdl ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-11-14, at 上午2:30, laredotornado wrote: > Hi, > > I'm using Spring 3.1.1.RELEASE and these CXF and Jax Maven dependencies ... > > <dependency> > <groupId>javax.xml</groupId> > <artifactId>jaxrpc-api</artifactId> > <version>1.1</version> > </dependency> > <dependency> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-rt-frontend-jaxws</artifactId> > <scope>compile</scope> > <version>2.6.2</version> > </dependency> > > In my Spring config, I have > > <jaxws:client id="orgWebServiceClient" > serviceClass="org.mainco.myws.OrganizationWebService" > address="${wsdl.url}" > /> > > However, when I try and contact my service, I get the exception below. I'm > able to reach the WSDL mentioned in a browser, so what other steps should I > take to troubleshoot this error? > > 12:57:00,277 ERROR [org.quartz.core.ErrorLogger] > (org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-1) Job > (DEFAULT.updateOrgsJob threw an exception.: org.quartz.SchedulerException: > Job threw an unhandled exception. [See nested exception: > javax.xml.ws.soap.SOAPFaultException: Could not find conduit initiator for > address: http://hbs-01.qa2.mainco.cb:8443/bsg/myws/OrganizationService?WSDL > and transport: http://schemas.xmlsoap.org/soap/http] > at org.quartz.core.JobRunShell.run(JobRunShell.java:227) > [quartz-1.8.5.jar:] > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) > [quartz-1.8.5.jar:] > Caused by: javax.xml.ws.soap.SOAPFaultException: Could not find conduit > initiator for address: > http://hbs-01.qa2.mainco.cb:8443/bsg/myws/OrganizationService?WSDL and > transport: http://schemas.xmlsoap.org/soap/http > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156) > [cxf-rt-frontend-jaxws-2.6.2.jar:2.6.2] > at $Proxy91.searchOrganizations(Unknown Source) at > org.mainco.subco.orgsclient.service.OrgWsdlServiceImpl.updateAllOrganizations(OrgWsdlServiceImpl.java:115) > [classes:] > at > org.mainco.subco.orgsclient.quartz.UpdateOrgsJob.execute(UpdateOrgsJob.java:20) > [classes:] > at org.quartz.core.JobRunShell.run(JobRunShell.java:216) > [quartz-1.8.5.jar:] > ... 1 more > Caused by: java.lang.RuntimeException: Could not find conduit initiator for > address: http://hbs-01.qa2.mainco.cb:8443/bsg/myws/OrganizationService?WSDL > and transport: http://schemas.xmlsoap.org/soap/http > at > org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:230) > [cxf-rt-bindings-soap-2.6.2.jar:2.6.2] > at > org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:235) > [cxf-rt-bindings-soap-2.6.2.jar:2.6.2] > at > org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:103) > [cxf-api-2.6.2.jar:2.6.2] > at > org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:63) > [cxf-api-2.6.2.jar:2.6.2] > at > org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:851) > [cxf-api-2.6.2.jar:2.6.2] > at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:526) > [cxf-api-2.6.2.jar:2.6.2] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464) > [cxf-api-2.6.2.jar:2.6.2] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367) > [cxf-api-2.6.2.jar:2.6.2] > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320) > [cxf-api-2.6.2.jar:2.6.2] > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:89) > [cxf-rt-frontend-simple-2.6.2.jar:2.6.2] > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) > [cxf-rt-frontend-jaxws-2.6.2.jar:2.6.2] > ... 5 more > > Thanks, - Dave > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Getting-error-Could-not-find-conduit-initiator-for-address-tp5718391.html > Sent from the cxf-user mailing list archive at Nabble.com.
