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