首先声明服务的接口,如清单4所示。
Start off by declaring an interface for the service, as shown in Listing 4.
首先要声明服务接口,如清单2 所示。
So you'll declare your service interface, as shown in Listing 2.
这些公司从命令式(手工的)操作转换为声明服务器所需要的最终状态,从而达到可扩展的运维。
These companies achieve scalable operations by shifting from imperative (manual) actions to declarations about the desired end state of a server.
组件供应商必须在部署描述符中声明所有的服务引用。
The component provider must declare all the service references in the deployment descriptor.
您可以在WSDL服务声明中找到几种不同种类的数组声明。
You can find several different kinds of array declarations in the WSDL service declaration.
因此,您需要声明您的服务组件将支持什么接口。
So, you've declared what interface your service component will support.
而且它还提供注册中心功能,通过用户定义的属性、关系和分类器来扩展已注册的服务声明和派生内容模型元素。
And it provides registry functions for decorating registered service declarations and elements of the derived content models with user-defined properties, relationships, and classifiers.
内省这个目标应用程序上下文定义文件以决定所声明的SCA服务、引用和属性。
Introspect the target application context definition file to determine the declared SCA service, reference, and properties.
在清单6中查看图书列表服务的接口声明。
Check out the book list service's interface declaration in Listing 6.
入口点用于声明可外部访问的子系统服务。
Entry points are used to declare the externally accessible services of a subsystem.
清单5显示了图书列表服务的HTTP绑定声明。
The book list service's HTTP binding declaration can be seen in Listing 5.
服务提供者可以使用各种技术来将自已声明或注册给服务代理。
The service providers can use various technologies to declare or register themselves to the service broker.
这包括指定访问该服务所需的传输协议的规定,声明同步和异步服务的更明确的方法。
These include a provision to specify the transport protocol, which is needed to access the service, and a clearer method of declaring both synchronous and asynchronous services.
为了处理这些关系,还增加了两种新的UDDI构件:发布者声明和服务投影。
Two new UDDI constructs have been added to handle these relationships: publisher assertions and service projections.
如果SOA要具有描述性,是否应声明所有服务都应设计为允许远程、异步调用?
If an SOA is to be prescriptive should it state that all services should be designed to permit remote, asynchronous invocation?
业务流程由一组任务组成,然后您可以声明那些任务是服务。
The business process is composed of a set of tasks, then you can claim that the tasks are services.
在calculator -context . xml(在清单3)中使用自定义名称空间元素声明sca服务、引用和属性,如下所示。
Declare the SCA service, reference, and properties within your calculator-context.xml (in Listing 3) using the custom SCA namespace elements, as shown below.
WSDL规范定义了如何将SOAP消息头数据声明为Web服务定义的一部分。
The WSDL specification defines how to declare SOAP header data as part of a Web services definition.
您需要为Web服务声明和初始化一个变量,如清单12。
You need to declare and initialize a variable for the web service, as shown in Listing 12.
在添加新的服务声明时,关闭WS- PolicyReferences;否则,将在创建代理时收到一条警告消息。
When adding a service declaration, turn off the usage of WS-Policy References; otherwise, you might get a warning message when the proxy is created.
同样地,ApacheTuscanysca运行时允许您使用sca注释在Springbean类内显式地声明sca服务、引用和属性。
Similarly, the Apache Tuscany sca runtime allows you to explicitly declare the sca services, references, and properties within your Spring bean class using sca annotations.
修改web. xml文件,以将web服务端点声明为Servlet,如下所示。
Modify the web.xml file to declare our web service endpoint as a servlet, as shown below.
SCA注释可用来在Springbean类内显式声明sca服务、引用和属性。
SCA annotations can be used to explicitly declare the SCA services, references, and properties within your Spring bean classes.
我们首先描述WSDL定义和MXMLWeb服务声明(该声明对任何WSDL文件都是通用的)之间的映射。
We begin by describing the mappings between the WSDL definition and the MXML web services declaration that are common to any WSDL file.
虽然使用WSDL时有多种方法来声明Web服务,但是下面的实例重点放在WebSphere工具生产的WSDL定义集上。
Although there are multiple ways of declaring Web Services using WSDL, the following examples emphasize the set of WSDL definitions that are generated by this tool.
下面介绍了用于在Springbean类内显式地声明SCA服务、引用和属性的 SCA注释。
The SCA annotations for explicitly declaring the SCA services, references, and properties within your Spring bean class are described below.
声明隐式的SCA服务、引用和属性。
Declaring implicit SCA services, references, and properties.
最后,WS - Policy定义WSDL的扩展,以便服务声明其对使用所有这些技术的要求。
Finally, WS-Policy defines extensions to WSDL to let services state their requirements for using all of these technologies.
注意getServiceReference()只返回一个引用声明的服务接口的服务。
Note that getServiceReference() only returns one service reference to the declared service interface.
AssertURI:包含指向一个XML文件的统一资源标识符(uri)的元素。其中,XML文件包括服务声明(规范)。
AssertURI: an element containing the URI that points to an XML document that includes service assertions (specifications).
应用推荐