You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Suneet Shah <su...@gmail.com> on 2009/06/11 12:14:50 UTC
Could not find conduit initiator for transport
Hello
I am trying to call a web service from my application and am getting the
error below.
Any thoughts on what the problem may be? I am using CXF 2.2.1
ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
factory.setServiceClass(SpmlComplete.class);
factory.setAddress("http://localhost:8080/idm-connector-core/IAMConnectorService");
SpmlComplete client = (SpmlComplete) factory.create();
....
client.add(addReqType);
06:08:03,585 ERROR [STDERR] java.lang.RuntimeException: Could not find
conduit initiator for transport http://schemas.xmlsoap.org/soap/http
06:08:03,586 ERROR [STDERR] at
org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:148)
06:08:03,587 ERROR [STDERR] at
org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:79)
06:08:03,587 ERROR [STDERR] at
org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelector.java:61)
06:08:03,588 ERROR [STDERR] at
org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:684)
06:08:03,589 ERROR [STDERR] at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466)
06:08:03,589 ERROR [STDERR] at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
06:08:03,590 ERROR [STDERR] at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
06:08:03,590 ERROR [STDERR] at
org.apache.cxf.frontend.ClientProxy.invokeSyc(ClientProxy.java:73)
06:08:03,591 ERROR [STDERR] at
org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
Thanks
suneet
Re: Could not find conduit initiator for transport
Posted by Daniel Kulp <dk...@apache.org>.
On Thu June 11 2009 6:14:50 am Suneet Shah wrote:
> Hello
>
> I am trying to call a web service from my application and am getting the
> error below.
> Any thoughts on what the problem may be? I am using CXF 2.2.1
That usually means the cxf-transport-http module/jar isn't found.
Dan
>
> ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
>
> factory.setServiceClass(SpmlComplete.class);
>
> factory.setAddress("http://localhost:8080/idm-connector-core/IAMConnectorSe
>rvice"); SpmlComplete client = (SpmlComplete) factory.create(); ....
> client.add(addReqType);
>
>
> 06:08:03,585 ERROR [STDERR] java.lang.RuntimeException: Could not find
> conduit initiator for transport http://schemas.xmlsoap.org/soap/http
> 06:08:03,586 ERROR [STDERR] at
> org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFa
>ctory.java:148) 06:08:03,587 ERROR [STDERR] at
> org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(Abstract
>ConduitSelector.java:79) 06:08:03,587 ERROR [STDERR] at
> org.apache.cxf.endpoint.UpfrontConduitSelector.prepare(UpfrontConduitSelect
>or.java:61) 06:08:03,588 ERROR [STDERR] at
> org.apache.cxf.endpoint.ClientImpl.prepareConduitSelector(ClientImpl.java:6
>84) 06:08:03,589 ERROR [STDERR] at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:466)
> 06:08:03,589 ERROR [STDERR] at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
> 06:08:03,590 ERROR [STDERR] at
> org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
> 06:08:03,590 ERROR [STDERR] at
> org.apache.cxf.frontend.ClientProxy.invokeSyc(ClientProxy.java:73)
> 06:08:03,591 ERROR [STDERR] at
> org.apache.cxf.frontend.ClientProxy.invoke(ClientProxy.java:68)
>
>
> Thanks
> suneet
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog