4 Star 4 Fork 0

yacht / maven-framework-project

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
spring-ws-servlet.xml 1.83 KB
一键复制 编辑 原始数据 按行查看 历史
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:sws="http://www.springframework.org/schema/web-services"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/web-services
http://www.springframework.org/schema/web-services/web-services-2.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<context:component-scan base-package="com.fengjing.framework.webservice.springws"/>
<sws:annotation-driven />
<sws:dynamic-wsdl id="echo" portTypeName="Echo" locationUri="http://localhost:8080/maven-framework/sws/services">
<sws:xsd location="classpath:META-INF/schemas/echo.xsd"/>
</sws:dynamic-wsdl>
<sws:dynamic-wsdl id="studentDetails" portTypeName="StudentDetails" locationUri="http://localhost:8080/maven-framework/sws/services"
requestSuffix="Request"
responseSuffix="Response"
targetNamespace="http://www.example.org/student">
<sws:xsd location="classpath:META-INF/schemas/student.xsd" />
</sws:dynamic-wsdl>
<bean class="org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter">
<constructor-arg ref="marshaller" />
</bean>
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping"></bean>
<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
<property name="contextPath" value="com.fengjing.framework.webservice.springws.domain" />
</bean>
</beans>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yacht/maven-framework-project.git
git@gitee.com:yacht/maven-framework-project.git
yacht
maven-framework-project
maven-framework-project
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891