cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Clarke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7383) Supporting multiple end points with different bus
Date Thu, 25 May 2017 13:26:04 GMT
Tony Clarke created CXF-7383:
--------------------------------

             Summary: Supporting multiple end points with different bus
                 Key: CXF-7383
                 URL: https://issues.apache.org/jira/browse/CXF-7383
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 3.1.7
            Reporter: Tony Clarke


Hi,
If we define two buses in xml configuration

<cxf:bus name="cxf-abstract-bus" 
		abstract="true">
</cxf:bus>
<bean id="cxf-usernametoken" abstract="true" parent="cxf-abstract-bus">
		<property name="inInterceptors">
			<list>
				<ref bean="userNameTokenInterceptor" />
			</list>
		</property>
</bean>
<bean id="cxf-samltokensigned" abstract="true" parent="cxf-abstract-bus">
		<property name="inInterceptors">
			<list>
				<ref bean="samlTokenSignedInterceptor" />
			</list>
		</property>
</bean>
<bean id="cxf" parent="cxf-usernametoken"/>
	
<bean id="cxf-saml-bus" parent="cxf-samltokensignaturesigned" />

Now we have two endpoint definitions:
<jaxws:endpoint bus="cxf"
....
</jaxws:endpoint>

<jaxws:endpoint bus="cxf-saml-bus"
....
</jaxws:endpoint>

Is it expected to work? Currently we are experiencing a situation where we can only define
one bus and use it across all endpoints. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message