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>
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>
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
 
75
	 <jaxrs:server id="FileInfo" address="/fileinfo">
76
    <jaxrs:serviceBeans>
77
      <ref bean="FileInfoBean" />
78
    </jaxrs:serviceBeans>
79
  </jaxrs:server>
80
 
81
  <bean id="FileInfoBean" class="net.brutex.xservices.ws.rs.FileInfoImpl" />
47 brianR 82
</beans>