This commit is contained in:
Arjen Poutsma
2008-06-30 11:55:43 +00:00
parent c39df00abd
commit d5c097314a
4 changed files with 12 additions and 8 deletions

View File

@@ -38,7 +38,8 @@
<bean id="holiday" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
<property name="schema" ref="schema"/>
<property name="portTypeName" value="HumanResource"/>
<property name="locationUri" value="http://localhost:8080/holidayService/"/>
<!-- we use a relative uri that will be transformed by spring-ws dep-->
<property name="locationUri" value="/holidayService/"/>
<property name="targetNamespace" value="http://mycompany.com/hr/definitions"/>
</bean>
@@ -46,4 +47,4 @@
<property name="xsd" value="/WEB-INF/hr.xsd"/>
</bean>
</beans>
</beans>

View File

@@ -24,6 +24,10 @@
<servlet>
<servlet-name>spring-ws</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
<init-param>
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</init-param>
</servlet>
<servlet-mapping>