File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF
samples/tutorial/src/main/webapp/WEB-INF Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <beans xmlns =" http://www.springframework.org/schema/beans" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
- xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" >
2
+ <beans xmlns =" http://www.springframework.org/schema/beans"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xmlns : sws =" http://www.springframework.org/schema/web-services"
5
+ xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
6
+ http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd" >
7
+
8
+ <sws : annotation-driven />
4
9
5
10
6
11
</beans >
Original file line number Diff line number Diff line change 17
17
18
18
<beans xmlns =" http://www.springframework.org/schema/beans" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
19
19
xmlns : context =" http://www.springframework.org/schema/context"
20
+ xmlns : sws =" http://www.springframework.org/schema/web-services"
20
21
xsi : schemaLocation =" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
22
+ http://www.springframework.org/schema/web-services http://www.springframework.org/schema/web-services/web-services-2.0.xsd
21
23
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd" >
22
24
23
25
<context : component-scan base-package =" com.mycompany.hr" />
24
26
25
- <bean id =" holiday" class =" org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition" >
26
- <property name =" schema" ref =" schema" />
27
- <property name =" portTypeName" value =" HumanResource" />
28
- <!-- we use a relative uri that will be transformed by spring-ws dep-->
29
- <property name =" locationUri" value =" /holidayService/" />
30
- <property name =" targetNamespace" value =" http://mycompany.com/hr/definitions" />
31
- </bean >
27
+ <sws : annotation-driven />
32
28
33
- <bean id =" schema" class =" org.springframework.xml.xsd.SimpleXsdSchema" >
34
- <property name =" xsd" value =" /WEB-INF/hr.xsd" />
35
- </bean >
29
+ <sws : dynamic-wsdl id =" holiday" portTypeName =" HumanResource" locationUri =" /holidayService/"
30
+ targetNamespace =" http://mycompany.com/hr/definitions" >
31
+ <sws : xsd location =" /WEB-INF/hr.xsd" />
32
+ </sws : dynamic-wsdl >
36
33
37
34
</beans >
You can’t perform that action at this time.
0 commit comments