Create a JAX-WS service provider.
创建一个JAX - WS服务提供者。
JAX-WS 2.0 dynamic proxy clients.
JAX - WS 2.0动态代理客户端。
Reasons to step up to JAX-WS 2.0.
升级到JAX - WS 2.0的原因。
JAX-WS 2.0 USES different package names.
JAX - WS 2.0使用了不同的包名称。
JAX-WS 2.0 supports these newer profiles.
JAX - WS 2.0支持这些较新的概要。
Step 1: Generate JAX-WS artifacts using tools.
步骤1:使用工具生成JAX - WS工件。
Generate JAX-WS artifacts using available tools.
使用可用工具生成JAX - WS工件。
JAX-WS handlers rely on the new SAAJ 1.3 specification.
JAX - WS处理程序依赖于新的SAAJ 1.3规范。
To access the JAX-WS service samples, do the following.
要访问JAX - WS服务样例,请执行以下操作。
The mediation module in turn calls the JAX-WS web service.
这个中介模块反过来调用JAX - WSweb服务。
JAX-WS is built around its tight integration with JAXB 2.0.
JAX - WS构建在它与JAXB 2.0的紧密集成之上。
A new TAB shown in Figure 14 has been added for JAX-WS Handlers.
为JAX - WS处理程序添加了如图14所示的新选项卡。
So JAX-WS also provides a mapping for the more natural exception.
因此,JAX - WS还提供了更为自然的异常映射。
JAX-WS also works with EJB 3.0 to simplify the programming model.
JAX - WS还可以与EJB 3.0一起使用来简化编程模型。
The handler model has changed quite a bit from JAX-RPC to JAX-WS.
从JAX-RPC 到 JAX-WS 的过程中,处理程序模型发生了很大的变化。
JAX-WS also adds a dynamic server model, which JAX-RPC does not have.
JAX - WS还添加了动态服务器模型,而JAX - RPC则没有此模型。
A JAX-WS client USES a generated proxy interface to access a service.
JAX - WS客户机使用生成的代理接口访问服务。
Figure 1 shows the class relationships between various JAX-WS client APIs.
图1显示了各种JAX - WS客户端api之间的类关系。
JAX-WS, via JAXB, adds support for MTOM, the new attachment specification.
JAX - WS通过jaxb添加了对新附件规范MTOM的支持。
With JAX-WS, there are two different parameter modes: PAYLOAD and MESSAGE mode.
而对于 JAX-WS,有两种不同的参数模式:有效负载 (PAYLOAD)和消息 (MESSAGE) 模式。
Using JAX-WS, you can deploy a Web service without using deployment descriptors!
使用JAX-WS 时,无需使用部署描述符就能部署Web服务!
Why does a JAX-WS mapping of faults create a fault class and a fault info class?
为什么错误的JAX - WS映射会创建错误类和错误信息类?
Comparing the JAX-RPC and JAX-WS fault mappings is beyond the scope of this article.
JAX - RPC和JAX - WS错误映射的比较不在本文讨论范围内。
The new Dispatch API introduced in JAX-WS supports a fully dynamic service invocation.
在JAX-WS 中引入的新DispatchAPI支持完全动态的服务调用。
The WSDL metadata is retrieved via the JAX-WS created runtime artifacts and reflection.
通过JAX - WS创建的运行时工件和反射获取wsdl元数据。
JAX-WS still supports SOAP 1.1 over HTTP 1.1, so interoperability will not be affected.
JAX - WS仍然支持SOAP 1.1over HTTP 1.1,因此互操作性将不会受到影响。
The JAX-WS mapping of exceptions to faults is essentially identical to the JAX-RPC mapping.
异常到错误的JAX - WS映射实际上与JAX - RPC映射完全相同。
Use of third-party JAX-WS runtimes has limitations and requires certain configuration changes.
第三方JAX-WS运行时的使用有一些限制,需要进行一些配置更改。
Next, you need to annotate the class in order to denote it as a JAX-WS Web service implementation.
接下来,您需要注释该类,以便将其表示为一个JAX - WSWeb服务实现。
The WSDL for this JAX-WS version is essentially the same as that used for JAXB, shown in Listing 1.
这个JAX-WS版本的WSDL基本上与用于JAXB 的 WSDL相同,如 清单1 所示。
应用推荐