Using DefaultWsdl11Definition

This commit is contained in:
Arjen Poutsma
2008-03-08 11:40:58 +00:00
parent 4b6a0f5b2c
commit 33b5daefcd

View File

@@ -46,23 +46,21 @@
<property name="echoService" ref="echoService"/>
</bean>
<bean id="echo" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition">
<bean id="echo" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
<description>
This bean definition represents a WSDL definition that is generated at runtime, based on the builder defined
below. It can be retrieved by going to /echo/echo.wsdl (i.e. the bean name corresponds to the filename).
This bean definition represents a WSDL definition that is generated at runtime. It can be retrieved by
going to /echo/echo.wsdl (i.e. the bean name corresponds to the filename).
</description>
<property name="builder">
<description>
The builder creates a WSDL from the 'echo.xsd' schema. It detects all elements that ends with 'Request',
finds corresponding 'Response' messages, and creates an operation based on that. All operations are put
in a portType with name 'Echo', and binding and service are created.
</description>
<bean class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder">
<property name="schema" value="/WEB-INF/echo.xsd"/>
<property name="portTypeName" value="Echo"/>
<property name="locationUri" value="http://localhost:8080/echo/services"/>
</bean>
</property>
<property name="schema" ref="schema"/>
<property name="portTypeName" value="Echo"/>
<property name="locationUri" value="http://localhost:8080/echo/services"/>
</bean>
<bean id="schema" class="org.springframework.xml.xsd.SimpleXsdSchema">
<description>
This bean definition contains the XSD schema.
</description>
<property name="xsd" value="/WEB-INF/echo.xsd"/>
</bean>
<bean id="echoService" class="org.springframework.ws.samples.echo.service.impl.EchoServiceImpl">