Subversion Repositories XServices

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
47 brianR 1
<beans xmlns="http://www.springframework.org/schema/beans"
55 brianR 2
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
75 brianR 3
	xmlns:jaxrs="http://cxf.apache.org/jaxrs" xmlns:simple="http://cxf.apache.org/simple"
55 brianR 4
	xsi:schemaLocation="
47 brianR 5
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
6
       http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
7
       http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd">
8
 
55 brianR 9
	<import resource="classpath:META-INF/cxf/cxf.xml" />
61 brianR 10
	<!-- deprecated since CXF 2.4.0 -->
75 brianR 11
	<!-- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
12
		<import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml"
13
		/> -->
55 brianR 14
	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
47 brianR 15
 
55 brianR 16
	<jaxws:endpoint id="archiveservice"
75 brianR 17
		implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService">
18
	</jaxws:endpoint>
47 brianR 19
 
67 brianR 20
	<jaxws:endpoint id="dateservice"
75 brianR 21
		implementor="net.brutex.xservices.ws.impl.DateServiceImpl" address="/DateService">
22
	</jaxws:endpoint>
23
 
55 brianR 24
	<jaxws:endpoint id="fileservice"
25
		implementor="net.brutex.xservices.ws.impl.FileServiceImpl" address="/FileService">
26
		<jaxws:properties>
27
			<entry key="mtom-enabled" value="false" />
28
		</jaxws:properties>
29
	</jaxws:endpoint>
75 brianR 30
 
55 brianR 31
	<!-- This is the MTOM enabled FileServices endpoint -->
32
	<jaxws:endpoint id="fileservice2"
33
		implementor="net.brutex.xservices.ws.impl.FileServiceImpl" address="/FileServiceMTOM">
34
		<jaxws:properties>
35
			<entry key="mtom-enabled" value="true" />
75 brianR 36
			<entry key="attachment-directory" value="c:\temp" />
37
			<entry key="attachment-memory-threshold" value="2000" />
55 brianR 38
		</jaxws:properties>
39
	</jaxws:endpoint>
75 brianR 40
 
41
 
55 brianR 42
	<jaxws:endpoint id="executeservice"
75 brianR 43
		implementor="net.brutex.xservices.ws.impl.ExecuteServiceImpl" address="/ExecuteService">
44
	</jaxws:endpoint>
45
 
70 brianR 46
	<jaxws:endpoint id="jobservice"
75 brianR 47
		implementor="net.brutex.xservices.ws.impl.JobServiceImpl" address="/JobService">
48
	</jaxws:endpoint>
49
 
85 brianR 50
	<jaxws:endpoint id="mailservice"
51
		implementor="net.brutex.xservices.ws.impl.MailServiceImpl" address="/MailService">
52
	</jaxws:endpoint>
94 brianR 53
 
55 brianR 54
	<jaxws:endpoint id="miscservice"
75 brianR 55
		implementor="net.brutex.xservices.ws.impl.MiscServiceImpl" address="/MiscService">
56
	</jaxws:endpoint>
57
 
86 brianR 58
	<jaxws:endpoint id="stringservice"
59
		implementor="net.brutex.xservices.ws.impl.StringServiceImpl" address="/StringService">
60
	</jaxws:endpoint>
94 brianR 61
 
75 brianR 62
	<jaxws:endpoint id="storageservice"
63
		implementor="net.brutex.xservices.ws.impl.StorageServiceImpl" address="/StorageService">
64
	</jaxws:endpoint>
65
 
66
	<jaxws:endpoint id="storageservice2"
67
		implementor="net.brutex.xservices.ws.impl.StorageServiceImpl" address="/StorageServiceMTOM">
68
		<jaxws:properties>
69
			<entry key="mtom-enabled" value="true" />
70
			<entry key="attachment-directory" value="c:\temp" />
71
			<entry key="attachment-memory-threshold" value="2000" />
72
		</jaxws:properties>
73
	</jaxws:endpoint>
92 brianR 74
 
101 brianR 75
	<jaxws:endpoint id="xmlservice"
76
		implementor="net.brutex.xservices.ws.impl.XmlServiceImpl" address="/XmlService">
77
	</jaxws:endpoint>
78
 
79
 
94 brianR 80
	<jaxrs:server id="FileInfo" address="/fileinfo">
81
		<jaxrs:serviceBeans>
82
			<ref bean="FileInfoBean" />
83
		</jaxrs:serviceBeans>
84
	</jaxrs:server>
85
	<bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" />
146 brianR 86
 
87
 
88
<jaxrs:server address="/app1">
89
       <jaxrs:serviceBeans>
90
          <ref bean="FileInfoBean"/>
91
       </jaxrs:serviceBeans>
92
       <jaxrs:providers>
93
          <ref bean="redirectGetFilter"/>
94
       </jaxrs:providers>
95
</jaxrs:server>
96
 
97
<bean id="redirectGetFilter" class="org.apache.cxf.rs.security.saml.sso.SamlRedirectBindingFilter">
98
      <property name="idpServiceAddress" value="https://localhost:9443/idp"/>
99
      <!-- both relative and absolute URIs are supported -->
100
      <property name="assertionConsumerServiceAddress" value="/racs/sso"/>
101
      <property name="stateProvider" ref="stateManager"/>
102
</bean>
103
 
104
 
105
<bean id="stateManager" class="org.apache.cxf.rs.security.saml.sso.state.EHCacheSPStateManager">
106
    <constructor-arg ref="cxf"/>
107
</bean>
108
 
109
 
110
 
94 brianR 111
 
112
 
113
	<jaxrs:server id="CVSInfo" address="/cvsinfo">
114
		<jaxrs:serviceBeans>
115
			<ref bean="CVSInfoBean" />
116
		</jaxrs:serviceBeans>
117
	</jaxrs:server>
118
	<bean id="CVSInfoBean" class="net.brutex.xservices.ws.rs.CVSInfoImpl" />
119
 
47 brianR 120
</beans>