Subversion Repositories XServices

Rev

Rev 101 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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