|
46 | 46 | <property name="echoService" ref="echoService"/> |
47 | 47 | </bean> |
48 | 48 |
|
49 | | - <bean id="echo" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition"> |
| 49 | + <bean id="echo" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition"> |
50 | 50 | <description> |
51 | | - This bean definition represents a WSDL definition that is generated at runtime, based on the builder defined |
52 | | - below. It can be retrieved by going to /echo/echo.wsdl (i.e. the bean name corresponds to the filename). |
| 51 | + This bean definition represents a WSDL definition that is generated at runtime. It can be retrieved by |
| 52 | + going to /echo/echo.wsdl (i.e. the bean name corresponds to the filename). |
53 | 53 | </description> |
54 | | - <property name="builder"> |
55 | | - <description> |
56 | | - The builder creates a WSDL from the 'echo.xsd' schema. It detects all elements that ends with 'Request', |
57 | | - finds corresponding 'Response' messages, and creates an operation based on that. All operations are put |
58 | | - in a portType with name 'Echo', and binding and service are created. |
59 | | - </description> |
60 | | - <bean class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder"> |
61 | | - <property name="schema" value="/WEB-INF/echo.xsd"/> |
62 | | - <property name="portTypeName" value="Echo"/> |
63 | | - <property name="locationUri" value="http://localhost:8080/echo/services"/> |
64 | | - </bean> |
65 | | - </property> |
| 54 | + <property name="schema" ref="schema"/> |
| 55 | + <property name="portTypeName" value="Echo"/> |
| 56 | + <property name="locationUri" value="http://localhost:8080/echo/services"/> |
| 57 | + </bean> |
| 58 | + |
| 59 | + <bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema"> |
| 60 | + <description> |
| 61 | + This bean definition contains the XSD schema. |
| 62 | + </description> |
| 63 | + <property name="xsd" value="/WEB-INF/echo.xsd"/> |
66 | 64 | </bean> |
67 | 65 |
|
68 | 66 | <bean id="echoService" class="org.springframework.ws.samples.echo.service.impl.EchoServiceImpl"> |
|
0 commit comments