1.以一个wsdl文件的形式发布wsdl
<bean id="orders" class="org.springframework.ws.wsdl.wsdl11.SimpleWsdl11Definition">
<constructor-arg value="/WEB-INF/wsdl/Orders.wsdl"/>
</bean>
http://localhost:8080/spring-ws/orders.wsdl
-------------------------------------------------------------
2.将xsd文件分成多个部分写成多个xsd文件发布
If you want to use multiple schemas, either by includes or imports, you might want to use the CommonsXsdSchemaCollection, and refer to that from the DefaultWsdl11Definition, like so:
<bean id="schemaCollection" class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection">
<description>
This bean wrap the messages.xsd (which imports types.xsd), and inlines them as a one.
</description>
<property name="xsds">
<list>
<value>/WEB-INF/xsds/Orders.xsd</value>
<value>/WEB-INF/xsds/Customers.xsd</value>
</list>
</property>
<property name="inline" value="true"/>
</bean>
When the inline property is enabled, it follows all XSD imports and includes, and inlines them in the WSDL. This greatly simplifies the deloyment of the schemas, which still making it possible to edit them separately.
意思应该系orders.xsd里import左customers.xsd,customers内容可在xsd看到
-------------------------------------------------------------------
3.
soap协议除可建在http协议基础上还可以建在jms组件的邮件协议???
==不清楚
------------------------------------------------------------
4.
有默认的Validate和Fault生成 endpoint
------------------------------------------------------------
分享到:
相关推荐
spring ws1.5.8所有最新开发包及文档及实例 spring ws1.5.8所有最新开发包及文档及实例
SpringIntegration整合SpringWS,其实Spring Integration用的WebService服务就是Spring WS的。这是两个组件的小demo,对新手入门比较有用。
spring- ws Demo.这个spring源码里提供的demo,最简单的一个,可以看看。
原来的jax-ws不知道为什么总是不成功,最后放弃,换成这个。具体过程可以参考官网:http://docs.spring.io/spring-ws/site/reference/html/tutorial.html
这是spring-ws官方参考文档,我用谷歌翻译成中文,最后关于https和spring-security等相关内容没有翻译,适合没什么webservice基础Java开发人员参考使用
spring-ws-reference.pdf from office website.
spring-ws-1.5.6-sources.jar,spring-ws-1.5.6-all-sources.jar
1.包含spring-ws源码 2.包含spring-ws例子 3.包含spring-ws reference 4.其它...
spring-ws 最新版本Demo 是一个maven项目,导入时以maven导入就可以运行 已通过测试
spring-ws开发/调用webservice示例代码,包括xsd/wsdl,
Spring+Spring-ws+maven搭建WebService服务端demo用例
NULL 博文链接:https://fengyilin.iteye.com/blog/2344153
基于spring.ws的webservice实例
Spring Web Services (Spring-WS) is a product of the Spring community focused on creating document-driven Web services.
Spring WS教程 该存储库包含发布在上的spring-ws示例的源代码 如有疑问或评论,请在各自的博客文章中发表评论或打开GitHub问题。 谢谢!
Spring应用开发实战,光盘中附录B,包含Web Service WS的详细讲解。
完整的webservice用户同步代码spring ws 2.0,下载后简单配置一下就可以使用。
具体功能 It is the source code for spring. it include spring xml config, spring secutity, spring core, spring oxm tiger.
Struts+spring集成cxf的ws与rs 实现多样化能力,基于HTTP、SOAP、Action
java开发中的jax-ws和spring的整合的开发的比较全面的整合的步骤.