forked from v5tech/maven-framework-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spring-jax-ws-servlet.xml
26 lines (22 loc) · 1.09 KB
/
spring-jax-ws-servlet.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ws="http://jax-ws.dev.java.net/spring/core"
xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://jax-ws.dev.java.net/spring/core
http://jax-ws.dev.java.net/spring/core.xsd
http://jax-ws.dev.java.net/spring/servlet
http://jax-ws.dev.java.net/spring/servlet.xsd">
<!-- http://jax-ws-commons.java.net/spring/ -->
<wss:binding url="/service/hello">
<wss:service>
<ws:service bean="#helloService"/>
</wss:service>
</wss:binding>
<!-- Web service methods -->
<bean id="helloService" class="com.fengjing.framework.webservice.jaxws.service.Hello">
<property name="hello" ref="helloImpl" />
</bean>
<bean id="helloImpl" class="com.fengjing.framework.webservice.jaxws.service.impl.HelloImpl" />
</beans>