Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<!--

    Copyright 2010 The Kuali Foundation Licensed under the
    Educational Community License, Version 2.0 (the "License"); you may
    not use this file except in compliance with the License. You may
    obtain a copy of the License at

    http://www.osedu.org/licenses/ECL-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an "AS IS"
    BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
    or implied. See the License for the specific language governing
    permissions and limitations under the License.

-->

<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:jaxws="http://cxf.apache.org/jaxws"
	xmlns:cxf="http://cxf.apache.org/core"
	xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">

	<import resource="classpath:META-INF/cxf/cxf.xml" />
	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
	
	<!--  This import sets up a listener to inject WebServiceContext when using spring transactions -->
	<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml"/>	
	
	<import	resource="classpath:META-INF/default-service-context-test.xml" />

	<!-- Turn this on for global CXF logging -->
	<!-- 
	<cxf:bus>
		<cxf:features>
			<cxf:logging />
		</cxf:features>
	</cxf:bus>
	-->

	<jaxws:endpoint id="serviceWS" implementor="#service"
		implementorClass="${ks.test.serviceImplClass}" address="/Service" />
		

<!-- 

	<jaxws:endpoint id="serviceSecureWS" implementor="#service"
		implementorClass="${ks.test.serviceImplSecure}" address="/ServiceSecure">
		<jaxws:inInterceptors>
			<bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/>
			<ref bean="wss4jInConfiguration"/>
		</jaxws:inInterceptors>			
	</jaxws:endpoint>

	<bean id="passwordCallback" class="org.kuali.student.poc.common.cxf.security.SimpleServerPasswordCallback"/>

	<bean id="wss4jInConfiguration" class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor">
		<property name="properties">
			<map>
				<entry key="action" value="UsernameToken"/>
				<entry key="action" value="UsernameToken Signature"/> 
				<entry key="passwordType" value="PasswordDigest" />
				<entry>
					<key>
						<value>passwordCallbackRef</value>
					</key>
					<ref bean="passwordCallback"/>
				</entry>
			</map>
		</property>
	</bean>
-->

</beans>
New to GrepCode? Check out our FAQ X