Now, how are these classes configured within a JAX-RS runtime?
那么,该如何在JAX - RS运行时内配置这些类呢?
This means that a JAX-RPC compliant implementation must support this.
这意味着符合JAX - RPC的实现必须支持这种方法。
Create a JAX-WS service provider.
创建一个JAX - WS服务提供者。
To invoke a JAX-RPC operation, do the following
要调用一个JAX-RPC操作,执行以下操作
Hence, client architecture and framework become a crucial attribute when selecting a JAX-RS implementation.
因此,客户端架构和框架是选择JAX - RS实现的一个关键属性。
On the server side, you can also use a JAX-RPC handler to deal with implicit headers.
在服务器端,还可以使用JAX - RPC处理程序处理隐式消息头。
A JAX-RPC application itself normally should avoid throwing the SOAPFaultException.
通常,JAX - RPC应用程序本身应该避免抛出SOAPFaultException。
One way of adding the required custom logic to your runtime is to generate a JAX-RPC based SOAP proxy.
向运行时添加所需的自定义逻辑的方法之一是生成基于JAX - RPC的SOAP代理。
When you deploy a JAX-RPC SOAP handler into the message flow, you gain access to both messages involved in the remote procedure call.
当您将JAX-RPCSOAP处理程序部署到消息流中时,您就可以访问这两个涉及远程过程调用的消息。
From a JAX-RPC service, you can use a proxy to invoke the web service's operations.
您可以使用代理从JAX - RPCService中调用Web服务的操作。
When vraptor3 came out, we were not sure whether it should be a JAX-RS implementation or not.
当vraptor 3出来的时候,我们不能确定它是否应该是一个JAX - RS的实现。
This article discussed how to decouple the service provider from the service client consumer with late binding and location transparency using a JAX-RPC programming model.
本文讨论了如何使用JAX-RPC 编程模型通过后期绑定和位置透明性将服务提供者从服务客户机使用者分离开。
Running a JAX-RS service in an embedded mode is easy and simple and requires only a few lines of code.
以嵌入式模式运行JAX-RS服务比较简单,只需几行代码。
In this example, it is implemented as a JAX-RPC handler, but as stated earlier, it can be done in whatever way suits your enterprise installation.
在本例中,它被实现为一个JAX - RPC处理程序,但如前所述,这可以使用适合您企业的任何方式完成。
In this update, RAD added a JAX-RS facet that you can configure to support validators and annotation assistance.
在这个更新版本中,RAD添加了一个JAX - RSfacet,可供您进行配置以支持验证器和注释帮助。
Next, you need to annotate the class in order to denote it as a JAX-WS Web service implementation.
接下来,您需要注释该类,以便将其表示为一个JAX - WSWeb服务实现。
The Apache Wink project provides a JAX-RS compliant runtime with all of the features described above (see Resources).
ApacheWink项目就提供了一个能满足这种要求的运行时,具有上面所述的所有特性(参见参考资料)。
The annotated Web service implementation is all you need to write to deploy and publish a JAX-WS Web service.
要部署和发布一个JAX-WSWeb服务,您只需要编写经过注释的 Web 服务实现即可。
In this article, you learned how to create a JAX-RS web service and invoke the web service from an Android client.
在本文中,您了解了如何创建一个JAX - RSWeb服务并从Android客户端调用该Web服务。
Each webservice-description element must contain a name, a reference to a WSDL file, a reference to a JAX-RPC mapping file and one or more port components.
每一个webservice - description元素必须有一个名字、一个到WSDL文件的引用、一个到JAX - RPC映射文件的引用和一个或多个端口组件。
Test Case #2 is a synchronous thin client invocation of a JAX-WS web service hosted in a WebSphere Process Server V7 environment, as shown in Figure 29.
TestCase #2是一个WebSphereProcessServerV7环境中托管的一个JAX-WSweb服务的一个同步瘦客户机调用,如图 29 所示。
Such deployments require that a JAX-RPC handler be provided on the WebSphere Web Services Gateway service whose purpose is to determine the endpoint for each message received.
这样的部署需要在WebSphereWeb服务网关服务上提供一个JAX - RPC处理器,它的目的是用来为每一个接收到的消息确定其服务端点。
This class provides a set of classes, or a set of singleton object instances, that include all of the root-level resources and providers (classes annotated with @Provider) in a JAX-RS application.
此类提供了一组类或一组单例(singleton)对象实例,在一个 JAX-RS 应用程序内包括所有的根级别的资源和提供程序(由 @Provider注释的类)。
After you deploy your handler into the SIBus, you then need to add it to a JAX-RPC handler list — the order in which handlers appear in these lists determines the order in which they are executed.
您完成在SIBus中部署处理程序后,接下来需要将其添加到JAX - RPC处理程序清单——处理程序在清单中出现的顺序决定了它们执行的顺序。
Outputs a "Hello JAX-RS" message using MIME types text/plain.
使用MIME类型text/plain输出一条 "HelloJAX-RS"消息。
The simplest intermediation consists of a single JAX-RPC handler deployed on a single channel or Target service, performing a single SOAP role.
最简单的中介体由一个单一的JAX - RPC处理器组成,这个处理器部署在一个单一的渠道或目标服务上,履行一个单一的SOAP角色。
DebugHandler is a simple JAX-RPC handler, used to print a SOAP message by either the service consumer or provider.
DebugHandler是一个简单的JAX - RPC处理程序,用于打印服务使用者或提供者发出的SOAP消息。
A client-side JAX-RPC handler to embed the service token.
用来嵌入服务令牌符号的JAX - RPC处理器。
JAX-WS also adds a dynamic server model, which JAX-RPC does not have.
JAX - WS还添加了动态服务器模型,而JAX - RPC则没有此模型。
The handler model has changed quite a bit from JAX-RPC to JAX-WS.
从JAX-RPC 到 JAX-WS 的过程中,处理程序模型发生了很大的变化。
应用推荐