I'm sorry, I hit the wrong key combination (Ctrl+Enter) an my message was
sent before I was done writing it.

I'm currently testing JMS transport for my webservice communication in a
WSDL first approache.

<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<soapjms:jndiConnectionFactoryName>ConnectionFactory</soapjms:jndiConnection
FactoryName>
<soapjms:jndiInitialContextFactory>org.apache.activemq.jndi.ActiveMQInitialC
ontextFactory</soapjms:jndiInitialContextFactory>
<soapjms:jndiURL>tcp://0.0.0.0:61616</soapjms:jndiURL>

It is working fine without any additional configuration within my
jaxws:endpoint.

<!-- JMS Queue Endpoint -->
<jaxws:endpoint id="CRMServiceJMSQueue"
        xmlns:serviceNamespace="http://services.talend.org/CRMService";
        serviceName="serviceNamespace:CRMServiceProvider"
endpointName="serviceNamespace:CRMServiceJMSQueuePort"
        implementor="#CRMServiceBean"
wsdlLocation="WEB-INF/wsdl/CRMService.wsdl">
</jaxws:endpoint>

But now, I would like to enable authentication at my ActiveMQ JMS broker,
but I do not now, who to configure the the jaxws:endpoint to provide
unsername and password for this.
Are there any jaxws:properties to be set to accomplish this?

I'm running my demo in a karaf OSGi Container and I do not complete
understand the magic of where the JMS Conenction Factory comes from, because
I do not provide any settings for it at any place. I guess the connection
factory would be the right place to set username and password, but I do not
know how to configure the connection factory within my OSGi environment. 

Can someone help me here?

Best regards.
Jan

> -----Original Message-----
> From: Jan Bernhardt
> Sent: Mittwoch, 28. August 2013 09:28
> To: '[email protected]'
> Subject: Authentication with JMS Transport
> 
> Hi CXF users,
> 
> I'm currently testing JMS transport for my webservice communication in a
> WSDL first approache.
> 
> 
> Viele Grüße
> Jan

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to