`
7wolfs
  • 浏览: 178545 次
  • 性别: Icon_minigender_1
  • 来自: 济南
社区版块
存档分类
最新评论

使用 Spring-WS 完成的 Web Service (SOAP)

阅读更多
1. 使用Maven管理. 完整例子参见附件:
1.1 WS.rar
1.2 WS-full.rar (包含数据库操作)
1.3 WS (DB, Interceptor).rar (包含Interceptor)
1.4 WS (DB,Interceptor,Read SOAPHeader).rar:完善了读取XML文件的逻辑。
1.5 WS (1.5).rar: 增加了对发出请求的客户端IP地址信息的读取.

2. 使用JMeter测试. 测试脚本参见附件: WebService(all) Request.rar

备注:
1. 参考文档
http://static.springsource.org/spring-ws/sites/1.5/reference/html/tutorial.html

http://fuxueliang.iteye.com/blog/175184

  • WS.rar (11.9 KB)
  • 下载次数: 39
分享到:
评论
2 楼 7wolfs 2012-08-22  
hisui 写道
请问WSDL中:cvc-complex-type.2.4.a: Invalid content was found starting with element 'schema'. One of '{"http://
schemas.xmlsoap.org/wsdl/":documentation, WC[##other:"http://schemas.xmlsoap.org/wsdl/"]}' is
expected.


这样的错误如何解决

你的WSDL文件内容是什么?
1 楼 hisui 2012-08-20  
请问WSDL中:cvc-complex-type.2.4.a: Invalid content was found starting with element 'schema'. One of '{"http://
schemas.xmlsoap.org/wsdl/":documentation, WC[##other:"http://schemas.xmlsoap.org/wsdl/"]}' is
expected.


这样的错误如何解决

相关推荐

    soap-spring-boot-cxf:用于使用Spring Boot,Apache CXF和JAX-WS生成和测试SOAP-WSDL驱动的服务的示例项目

    使用JAX-WS RI和JAXB的Apache CXF和SpringBoot的SOAP-Webservices-仅注释,绝对没有XML 作为Example SOAP-Service,我做了一些研究,但是毕竟(或因为?)几乎所有教程都使用了众所周知的 ,它是最好的用例。 在...

    cxf-spring-boot-starter:由Spring Boot和Apache CXF支持的企业和生产就绪的SOAP Web服务

    配置CXF以使用slf4j并提供Logging-Interceptors,以仅将SOAP-Messages登录到控制台 提取SoapMessages以在Elastic-Stack(ELK)中进行处理,例如 定制您自己的自定义SOAP错误,这些错误符合XML模式内部定义的异常 ...

    使用XFire+Spring构建Web+Service

    1 支持一系列Web Service的新标准--JSR181、WSDL2.0 、JAXB2、WS-Security等; 2 使用Stax解释XML,性能有了质的提高。XFire采用Woodstox 作Stax实现; 3 容易上手,可以方便快速地从pojo发布服务; 4 支持...

    ssh rest ws jax-rs jersey 做的小网站后台及web service接口

    ssh rest ws jax-rs jersey 做的小网站后台及web service接口用到了kindeditor编辑器 goouploader控件 代码完整,有sql代码。

    用cxf开发webservice

    在CXF中,Service使用WSDL标准定义并能够使用各种不同的消息格式(或binding)和网络协议(transports)包括SOAP、XML(通过HTTP或JMS)进行访问。CXF同样支持多种model 如:JAX-WS,JBI,SCA和CORBA service。CXF设计...

    apache-cxf-3.3.5

    Web Services Standards Support: CXF supports a variety of web service standards including SOAP, the Basic Profile, WSDL, WS-Addressing, WS-Policy, WS-ReliableMessaging, WS-Security, WS-SecurityPolicy,...

    Spring中文帮助文档

    6.8.1. 在Spring中使用AspectJ进行domain object的依赖注入 6.8.2. Spring中其他的AspectJ切面 6.8.3. 使用Spring IoC来配置AspectJ的切面 6.8.4. 在Spring应用中使用AspectJ加载时织入(LTW) 6.9. 更多资源 7...

    Spring API

    6.8.1. 在Spring中使用AspectJ进行domain object的依赖注入 6.8.2. Spring中其他的AspectJ切面 6.8.3. 使用Spring IoC来配置AspectJ的切面 6.8.4. 在Spring应用中使用AspectJ加载时织入(LTW) 6.9. 更多资源 7...

    Web Service 那点事儿(2)—— 使用 CXF 开发 SOAP 服务 - ImportNew1

    第二步:编写 WS 接口及其实现 第四步:部署应用并启动 Tomcat 第一步:配置 Maven 依赖 第二步:写一个 WS 接口及其实现

    apache-cxf-2.3.0-src

    Apache CXF 是一个开源的 Services 框架,CXF 帮助您利用 Frontend 编程 API 来构建和开发 Services ,像 JAX-WS 。这些 Services 可以支持多种协议,比如:SOAP、XML/HTTP、RESTful HTTP 或者 CORBA ,并且可以在...

Global site tag (gtag.js) - Google Analytics