简体   繁体   English

SOAP Web 服务与 Java - 框架?

[英]SOAP Webservice with Java - Framework?

which is the best framework for implementing and defining a SOAP web service with Java?哪个是使用 Java 实现和定义 SOAP web 服务的最佳框架? Is it JAX WS ?JAX WS吗?

Basically, I want to send a business report (based on XML) from the client to the server.基本上,我想将业务报告(基于 XML)从客户端发送到服务器。 The server validates this report and sends back a status report that the client can evaluate.服务器验证此报告并发送回客户端可以评估的状态报告。

I think that SOAP is the way to go since it's an established standard in computer to computer communication.我认为 SOAP 是通往 go 的方式,因为它是计算机到计算机通信的既定标准。

Thanks for suggestions!感谢您的建议!

Marco马可

If you want to start from Java Code, JAX-WS is the established standard (possible enhanced through Apache CXF or Axis 2 )如果您想从 Java 代码开始,JAX-WS 是既定标准(可能通过Apache CXFAxis 2增强)

If you want to start with XML, use Spring Web Services如果要从 XML 开始,请使用Spring Web 服务

(see why contract first for the discussion of the difference) (看为什么要先契约来讨论差异)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM