I am trying to configure the with weblogic jndi . I am getting error 
 org.apache.cxf.BusException: No DestinationFactory was found for the
namespace http://www.w3.org/2010/soapjms/.

here is the config 

<jaxws:endpoint id="stockQuoteWebService"
                implementor="com.._2012._01.StockQuoteInterfaceImpl"
                address="jms://"   wsdlLocation="WEB-INF/wsdl/StockQuote.wsdl" >
                <jaxws:features>
                        <bean class="org.apache.cxf.feature.LoggingFeature" />
                        <bean 
class="org.apache.cxf.transport.jms.JMSConfigFeature">
                                <property name="jmsConfig" ref="jmsConfig" />
                        </bean>
                </jaxws:features>
        </jaxws:endpoint>

<jee:jndi-lookup id="jmsConnectionFactory" jndi-name="JMSConnectionFactory">
    <jee:environment>
      java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
      java.naming.provider.url=t3://localhost:7001
    </jee:environment>
 </jee:jndi-lookup>

<bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration">

                <property name="connectionFactory" ref="jmsConnectionFactory" />
                <property name="destinationResolver" 
ref="jndiDestinationResolver" />
                <property name="targetDestination" value="TestRequestQueue" />
                <property name="replyDestination" value="TestResponseQueue" />
                <property name="wrapInSingleConnectionFactory" value="false" />
                <property name="reconnectOnException" value="true"/>
                <property name="pubSubDomain" value="false"/> 
        </bean><!--


Let me know how to resolve this issue.
I am using cxf 2.2




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Configuring-CXF-with-JMS-using-a-JNDI-resource-tp2838432p5430946.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to