cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale-2011 <>
Subject Soap over Jms - Error: Insufficient configuration for Conduit
Date Mon, 09 Jan 2012 01:39:53 GMT
I'm following this documentation to create Soap over JMS service:

I got the server to work, but every time that I run the client codes, I got
the following error:

WARNING: Interceptor for
has thrown exception, unwinding now
org.apache.cxf.configuration.ConfigurationException: Insufficient
configuration for Conduit. Did you configure a <jms:conduit
and set the jndiConnectionFactoryName ?

I tried to put a cxf.xml file, which contains jms:conduit configuration, in
my WAR file and re-deploy it. But it still gives me that error. Any helps
would be appreciate.

Here's my main class (client):
package gov.faa.swim.nsrr.rd.soapjms;
import javax.xml.namespace.QName;
import org.apache.cxf.Bus;
import org.apache.cxf.BusFactory;
import org.apache.cxf.interceptor.LoggingInInterceptor;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
public final class Main {
     private static final QName SERVICE_NAME = new
QName("", "SoapJmsWeatherImpl");
     private Main() {    }
     public static void main(String args[]) throws Exception {
        URL wsdlURL = SoapJmsWeatherImpl.WSDL_LOCATION;
        Bus bus = BusFactory.newInstance().createBus();
        try       {
                  SoapJmsWeatherImpl service = new
SoapJmsWeatherImpl(wsdlURL, SERVICE_NAME);
                  System.out.println("===== Interacting with JMS endpoint
                  SoapJmsWeatherImplPortType proxy =
(SoapJmsWeatherImplPortType) service.getSoapJmsWeatherImplPort();
                System.out.println("\nInvoking getForecast...");
        finally      {

View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message