It is a good practice to keep schema external to your wsdl.
In Spring WS documentation it is not clearly mentioned how to publish wsdl with external schema.
After some time searching google i managed to found the solution:
<!-- WSDL -->
<sws:static-wsdl id="BookingFacadeService" location="/WEB-INF/wsdl/BookingFacadeService.wsdl" />
<!-- Schema -->
<bean
id="BookingFacadeService_schema"
class="org.springframework.xml.xsd.SimpleXsdSchema">
<property
name="xsd"
value="/WEB-INF/wsdl/BookingFacadeService_schema.xsd">
</property>
</bean>
BookingFacadeService.wsdl is my wsdl which include the external schema BookingFacadeService_schema.xsd.
This blog is a collection of minds around linux, java, javascript, etc. Looking for great opportunities.
вторник, 9 апреля 2013 г.
Manipulate XML with Ant
Software in Government
Did you know that http://dorogi.mos.ru is made with:
1) Spring security
2) Apache Wicket
3) Oracle Application Server 11.
1) Spring security
2) Apache Wicket
3) Oracle Application Server 11.
Подписаться на:
Сообщения (Atom)