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
[email protected]
http://www.dankulp.com/blog