The service class is shown in Listing 1.
这个服务类显示在清单1中。
Create a service class for each API class.
创建所有api类的服务类。
This descriptor is included as a member of the service class.
这个描述符被包括在服务类成员之中。
Write the service class, CreateEmployeeService (see Listing 16).
编写服务类CreateEmployeeService(参见清单16)。
The service class implements the methods defined in the API class.
该服务类将实现api类中定义的方法。
The service class is an abstraction that represents a WSDL service.
service类是一个表示WSDL服务的抽象。
Listing 4 sets up a standalone service class containing two methods.
清单4创建了一个单独的服务类,它包含两个函数。
Also, notice that the service class does not implement any interfaces.
另外,请注意,这个服务类并没有实现任何接口。
Implement the API methods in the service class as public instance methods.
在服务类中实现作为公共实例方法的API方法。
Attach the API class to the service class with the web_service_api option.
用web_service_api选项将api类与服务类绑定在一起。
This helps the service class instance relinquish the resources it is using.
这有助于服务类实例放弃它正在使用的资源。
The API class is attached with the service class using the web_service_api option.
该API类是使用 web_service_api选项与服务类绑定在一起的。
This can be verified by the service class name printed with the invocation message.
这一点可以通过随调用消息输出的服务类名称得到验证。
That way, we can change the backing store without rewriting the service class.
这样,我们可以修改后台存储而不必重写服务类。
Instantiate a service class, which is the client-side representation of a Web service.
实例化一个service类,这个类在客户端代表了一个Web服务。
Typically, the number of active service class periods in a system should not exceed 30.
通常,系统中的活动服务分类周期的数量不应该超过30。
Attach the API web service class to a controller class using the web_service_api option.
使用web_service_api选项将apiweb服务类与控制器类绑定在一起。
Create beans.xml and define the service class as a Spring bean using a JAX-WS front end.
创建beans . xml,并使用JAX - WS前端将该服务类定义为Springbean。
The service class simply writes out the values as a small XML file in a temporary location.
这个服务类只是在一个临时位置中以一个XML小文件的形式写出一些值。
Below in Figure 17 is the class that does all the work and is the actual Web service class.
下图17中显示了一个做了所有工作的类并且是真正的Web服务类。
Multiple endpoints that implement different bindings can be defined by service class (Figure 12).
实施不同绑定的多个末端点可以由服务类来定义(图12)。
In this article, you have learned the requirements for the service class in JAX-RPC Web services.
在本文中,您已经了解了JAX - RPCWeb服务中对于服务类的要求。
If you're an application designer, be aware that session affinity overrides service class mapping.
如果您是应用程序设计人员,要注意会话关联将覆盖服务分类映射。
Conversely, you can use the following as parameters or return values in a Web service class method.
相反,可以在Web服务类方法中使用以下内容作为参数或返回值。
This step requires a default service class, for which messages of unknown priority type can be assigned.
此步骤需要一个缺省服务分类,用于分配未知优先级类型的消息。
The simple frontend allows the developer to code the Web service class without any annotations as a pure POJO.
该简易前端允许开发人员在不使用注释的情况下以纯POJO 形式对Web服务类进行编码。
First, the Web service class that receives all the inbound requests is the PresenceMonitor, as described above.
首先,如上所述,接收所有入站请求的Web服务类是PresenceMonitor。
When you select a service class, Performance Expert automatically highlights the correlating sub-service class.
在选择一个服务类时,PerformanceExpert会自动地突出显示相关联的子服务类。
Listing 3 first loads the Zend class libraries and then initializes an instance of the Zend_Gdata service class.
清单3首先加载Zend类库,然后初始化zend_gdata服务类的一个实例。
In the panel shown in Figure 11, there are two servant regions bound to the same service class work queue, CBDEF.
在如图11所示的面板中,有两个服务区域与同一个服务分类工作队列CBDEF绑定。
应用推荐