Subversion Repositories XServices

Rev

Rev 175 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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