Created
December 7, 2012 14:47
-
-
Save asilchev/4233702 to your computer and use it in GitHub Desktop.
Настройка маршаллинга и публикация wsdl на основе xsd-схемы
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<context:component-scan base-package="ru.cti.scp.ws"/> | |
<sws:annotation-driven/> | |
<bean id="messageFactory" class="org.springframework.ws.soap.saaj.SaajSoapMessageFactory"> | |
<description>A message factory to support SOAP 1.1</description> | |
<property name="soapVersion"> | |
<util:constant static-field="org.springframework.ws.soap.SoapVersion.SOAP_11"/> | |
</property> | |
</bean> | |
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping"> | |
<description>An endpoint mapping strategy that looks for @Endpoint and @PayloadRoot annotations.</description> | |
</bean> | |
<oxm:jaxb2-marshaller id="marshaller" contextPath="com.mycompany.hr.schemas"/> | |
<sws:dynamic-wsdl id="holiday" | |
portTypeName="HumanResource" | |
locationUri="/holidayService/" | |
targetNamespace="http://mycompany.com/hr/schemas"> | |
<sws:xsd location="/WEB-INF/classes/xsd/hr.xsd"/> | |
</sws:dynamic-wsdl> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment