Changed use of DynamicWsdl11Defintion to DefaultWsdl11Definition
This commit is contained in:
@@ -11,6 +11,14 @@
|
||||
|
||||
<bean id="messageReceiver" class="org.springframework.ws.soap.server.SoapMessageDispatcher"/>
|
||||
|
||||
<bean id="schemaCollection" class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection">
|
||||
<description>
|
||||
This bean wrap the messages.xsd (which imports types.xsd), and inlines them as a one.
|
||||
</description>
|
||||
<property name="xsds" value="/messages.xsd"/>
|
||||
<property name="inline" value="true"/>
|
||||
</bean>
|
||||
|
||||
<!-- ===================== ENDPOINTS ===================================== -->
|
||||
|
||||
<!--
|
||||
|
||||
@@ -6,23 +6,16 @@
|
||||
|
||||
<!-- ===================== WSDL DEFINITION ============================== -->
|
||||
|
||||
<bean id="airline" class="org.springframework.ws.wsdl.wsdl11.DynamicWsdl11Definition">
|
||||
<bean id="airline" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
|
||||
<description>
|
||||
Dynamically builds a WSDL from the airline.xsd.This bean definition represents the airline.wsdl file found
|
||||
in the root of the web application. It is used
|
||||
by the WsdlDefinitionHandlerAdapter in airline-servlet.xml.
|
||||
Builds a WSDL from the airline.xsd.This bean definition represents the airline.wsdl file found
|
||||
in the root of the web application.
|
||||
</description>
|
||||
<property name="builder">
|
||||
<bean class="org.springframework.ws.wsdl.wsdl11.builder.XsdBasedSoap11Wsdl4jDefinitionBuilder">
|
||||
<property name="schema" value="/messages.xsd"/>
|
||||
<property name="schemaLocation" value="messages.xsd"/>
|
||||
<property name="portTypeName" value="Airline"/>
|
||||
<property name="locationUri" value="http://localhost:8080/airline/services"/>
|
||||
<property name="targetNamespace"
|
||||
value="http://www.springframework.org/spring-ws/samples/airline/definitions"/>
|
||||
</bean>
|
||||
</property>
|
||||
<property name="schemaCollection" ref="schemaCollection"/>
|
||||
<property name="portTypeName" value="Airline"/>
|
||||
<property name="locationUri" value="http://localhost:8080/airline/services"/>
|
||||
<property name="targetNamespace"
|
||||
value="http://www.springframework.org/spring-ws/samples/airline/definitions"/>
|
||||
</bean>
|
||||
|
||||
|
||||
|
||||
</beans>
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<schema xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
targetNamespace="http://www.springframework.org/spring-ws/samples/airline/schemas/messages"
|
||||
xmlns:tns="http://www.springframework.org/spring-ws/samples/airline/schemas/messages"
|
||||
xmlns:types="http://www.springframework.org/spring-ws/samples/airline/schemas/types"
|
||||
elementFormDefault="qualified">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user