Logging client and web service fault tolerant: The logging client and web service need to be able to detect or recover from failure.
日志客户端和Web服务容错性:日志客户端和Web服务需要能够发现错误并能够从错误中恢复。
When using arrays or array holders for complex types, a Web service fault is returned to the client containing the error message shown in listing 5.
当数组或数组holders用于复杂类型时,Web服务错误被返回到包含清单5所示错误消息的客户机。
The questionnaire content including the service fault situation investigation, the service recovery situation investigation and the customer expects the service recovery investigation.
问卷内容包括服务失误情况调查、服务补救情况调查和顾客期望中的服务补救调查。
Service operations can be designed to use single input, output, and fault messages, but this is not necessary, and can result in undesirable stamp data coupling.
服务操作能够被设计用作输入、输出、和错误消息,但是这并不是必须的,而且还将导致不合需要的邮戳数据耦合。
In such a case, the gateway Proxy service would assume the role of the ultimate receiver and return an empty result (not a fault) to the sender.
在这样的情况下,网关代理服务将假设为最终接收者角色,并且返回一个空结果(不是一个错误)给发送者。
If a client using your state machine service calls the wrong operation for the current state, the client will receive a fault to let it know what happened.
如果使用状态机服务的客户端为当前状态调用了错误的操作,则该客户端将接收一个错误,使其知道将发生什么情况。
Fault handling across all import bindings is able to determine if the invoked service returned a fault.
跨所有导入绑定的错误处理能够确定被调用的服务是否返回了错误。
Service operations can be designed to use single input, output, and fault messages, but this is not necessary, and can result in undesirable stamp data coupling.
服务操作可以设计成使用单个输入、输出以及出错信息,但是这并不是必要的,并且可能会导致意料之外的标志数据耦合。
Every possible fault that a service can throw must be explicitly defined in the XML, otherwise the client will not know about it and will not be able to receive it.
服务能够抛出的每一个可能的错误都必须显式地用xml定义,否则,客户端将不认识它并且不能进行接收。
Optionally, service messages can be designed to act as operation input, output, or fault parameters.
此外,还可以通过设计,让服务消息充当操作输入、输出或故障参数。
The service invocation is blocked until the operation completes and the response or fault is received.
在操作完成和接收到响应或错误之前,服务调用被阻塞。
You can use this to make sure that a particular service is running, and that you haven't exceeded capacity that might indicate a fault.
可以使用这个部分来确保某个特定的服务正在运行,并且没有超出可能指示错误的容量。
In a real life implementation, you use the activities in the palette to add logic in case a fault was returned, retries if the service is not available, or other processing logic you may need.
在现实生活中,您可以使用选项板中的活动来添加逻辑以防返回错误、服务不可用时重试、或其他您可能需要的处理逻辑。
The first two service invocations were successful, but when the third returned a fault, the transaction was rolled back.
前两个服务调用成功,但是当第三个服务返回故障时,这个事务就被回滚。
Fault handling should not be part of the model, but left to the workflow developer (for example, the handling of service timeouts).
故障处理不应是模型中的内容,而应留给流程开发人员处理(例如,对服务超时的处理)。
A fault handler is triggered when a fault is thrown by the runtime infrastructure, when a service is called, or when a throw activity runs.
当运行时基础结构抛出错误时、调用服务时或者在抛出活动运行时会引发错误处理程序。
However, in certain circumstances, for example, when either a back-end system or a database that a service requires is not available, the service might respond with a fault message.
但是,在某些情况下(例如,服务所请求的后端系统或数据库不可用),该服务可能会以错误消息作为响应。
The optional compensation service is executed to compensate the actions of the forward service when a fault happens in the process.
当流程中发生故障时,执行可选的补偿服务来补偿转发服务的行为。
The invocation of an external service returns an unexpected fault.
调用外部服务返回意外错误。
A Fault Contract can be associated with a service operation to denote errors that can be returned to the caller.
FaultContract可以与服务操作联系起来,以表示可以返回给访问者的错误。
Any other values generate either an error in the client code or a fault when the Web service is called.
其他任何值都会在客户机代码中生成一个错误,如果调用了Web服务,则生成一个故障。
In this case the service returns a Fault, rather than a normal SOAP response message.
在这种情况下,服务器将返回一个Fault,而不是通常的SOAP响应消息。
The source code for the PriceChecker web service, which implements the fault handling discussed in this article, can be downloaded here.
可以从这里下载PriceCheckerWeb服务的源代码,它们实现了本文中讨论的故障处理。
This article shows you how to facilitate fault handling within a BPEL process so you can make use of modeled faults, even though the Web service does not expose any.
本文将向您介绍如何促进BPEL流程中的错误处理,以便您能够使用建模的错误,即使Web服务未公开任何建模错误。
The interface element defines the Web service operations, including the specific input, output, and fault messages that are passed, and the order in which they are passed.
interface元素定义Web服务操作,包括特定的输入、输出和所传递的错误消息,以及传递那些错误消息的顺序。
And you have a sort of frustrating situation where iPhone users are annoyed that their service is shoddy, but it's kind of their own fault.
而且有时会出现令人尴尬的情况,iPhone用户会抱怨服务质量低劣,但这正是他们自己的过错造成的。
Since the fault is not handled inside the BPEL process, it will result in the global transaction rollback, consequently undoing what the EmployeeRegistry Web service has done.
由于未在BPEL流程内处理错误,该错误会导致全局事务回滚,因此会撤销EmployeeRegistryWeb服务已执行的操作。
Since web service clients rely on WSDL to understand the format of request and response messages, WSDL also describes the fault details returned by the web services.
由于Web服务客户机依靠WSDL理解请求和响应消息的格式,WSDL还描述Web服务返回的故障详细信息。
The service provider filter checks authentication of the service requestor using the supplied signature and a gives a SOAP Fault response in case of none authentication.
服务提供者过滤器使用提供的签名来检查服务请求者的认证,并在万一没有认证的情况下给出一个SOAP错误(SOAPFault)响应。
We did the same thing in the fault example earlier, but instead of setting fault properties in the individual Web service methods, we have each of the methods call this function instead.
我们完成的任务与上文中的故障示例相同,但没有像前面那样在单个Web服务方法中设置faul t属性,而是使每个方法调用此函数。
应用推荐