11ebb0156054023e805a0269f05ff3d986801dc3.svn-base
2.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:jaxrs="http://cxf.apache.org/jaxrs"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/jaxrs
http://cxf.apache.org/schemas/jaxrs.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"/>
<!-- webservice Wsdl配置模块
<bean id="sendWebServiceWsdl" class="com.espeed.webservice.interfaces.impl.WebServiceWsdlInterfaceImpl">
<property name="yxyuserinfoservice" ref="yxyuserinfoservice"></property>
<property name="yxysysparamaterservice" ref="yxysysparamaterservice"></property>
<property name="yxysendmailservice" ref="yxysendmailservice"></property>
</bean>-->
<!-- webservice Wadl配置模块
<bean id="sendWebServiceWadl" class="com.espeed.webservice.interfaces.impl.WebServiceWadlInterfaceImpl">
<property name="yxyuserinfoservice" ref="yxyuserinfoservice"></property>
<property name="yxysysparamaterservice" ref="yxysysparamaterservice"></property>
<property name="yxysendmailservice" ref="yxysendmailservice"></property>
</bean>-->
<!--wadl
<jaxrs:server id="send-WebServiceWadl" address="/send-WebServiceWadl">
<jaxrs:serviceBeans>
<ref bean="sendWebServiceWadl" />
</jaxrs:serviceBeans>
<jaxrs:extensionMappings>
<entry key="json" value="application/json" />
<entry key="xml" value="application/xml" />
</jaxrs:extensionMappings>
<jaxrs:languageMappings>
<entry key="en" value="en-gb"/>
</jaxrs:languageMappings>
</jaxrs:server>
-->
<!--
<bean id="wsdlwebserviceBean" class="com.espeed.webservice.interfaces.impl.WebServiceWsdlInterfaceImpl">
<ref bean="sendWebServiceWsdl" />
</bean>
<jaxws:endpoint id="send-WebService" implementor="wsdlwebserviceBean" address="/send-WebService">
</jaxws:endpoint>-->
<!-- wsdl访问方式
<jaxws:server id="send-WebService" serviceClass="com.espeed.webservice.interfaces.impl.WebServiceWsdlInterfaceImpl" address="/send-WebService">
<jaxws:serviceBean>
<ref bean="sendWebServiceWsdl" />
</jaxws:serviceBean>
</jaxws:server>-->
</beans>