You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by smsarma <sm...@yahoo.com> on 2012/01/25 19:16:06 UTC
Re: Configuring CXF with JMS using a JNDI resource
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.
Re: Configuring CXF with JMS using a JNDI resource
Posted by Daniel Kulp <dk...@apache.org>.
> 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/.
.....
> Let me know how to resolve this issue.
> I am using cxf 2.2
Likely upgrade to a newer version of CXF. The SOAP/JMS specification support
wasn't added until CXF 2.3.
Dan
On Wednesday, January 25, 2012 10:16:06 AM smsarma wrote:
> 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-resou
> rce-tp2838432p5430946.html Sent from the cxf-user mailing list archive at
> Nabble.com.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com