日志中显示的一个错误表明问题出现在客户端策略集配置中。
An error was present that indicated the problem was in the client policy set configuration.
尽管如此,使用定制化错误消息体仍然要求服务消费者做额外的客户端处理程序来解析响应消息从而判断调用是否成功。
However use of custom error payloads require the service consumer do additional client side handling to parse response messages to determine if the invocation could be determined to be successful.
在这种情况下,客户端soap堆栈需要向发送应用程序通报失败但是这些是不能恢复的错误。
In those cases, the client SOAP stack needs to notify the sending application of the failure — but these are unrecoverable errors.
当异步调用服务组件时,客户端和服务提供程序是在不同的线程中执行的,并且错误条件可能在任一线程中发生。
When a service component is invoked asynchronously, the client and service provider are executed in different threads, and error conditions can occur in either thread.
服务能够抛出的每一个可能的错误都必须显式地用xml定义,否则,客户端将不认识它并且不能进行接收。
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.
远程执行还模拟客户端主机的标准输入、输出和错误。
Remote execution also emulates the standard input, output, and error of the client host.
如果目标服务由异步导入表示,则在异步跃点外发生的任何系统错误都不会报告给客户端。
If the target service is represented by an asynchronous import, any system errors occurring beyond the asynchronous hop will not be reported to the client.
如果没有,一个错误会传回客户端。
除声明的业务异常外,客户端还可以接收系统异常,如发送消息时发生的连接错误。
In addition to the business exception declared, the client can receive system exceptions such as connection error that happens while sending the message.
这就意味着如果一个问题发生在了一个客户端程序,那么你必须去确定谁的代码发生了错误。
This would mean that if a problem occurred in the course of a client's application calling yours, you should be able to ascertain in whose code the error occurred.
然后,当然,也有一些情况下,客户端注意到错误的相应代码;您不能简单的重试。
And then, of course, there are those cases where the client notices the error response code; you can't simply retry.
现在您了解了关于集成测试客户端及其各种功能的详细信息,这样可以对其有更深的认识,以避免最常见的错误。
Now you know more about the integration test client and its various features, so that you can get even more mileage out of it and avoid the most common mistakes.
每当对应的客户端套接字包含读、写或错误操作时,调用对应的回调函数。
Each time a corresponding client socket contains any read, write or error operations, the corresponding callback function is called.
其中一项挑战性的错误处理工作发生在以下的情况。当服务器发生故障以后,客户端需要了解请求的结果以进行继续的工作。
A challenging error-handling case occurs when a client needs to know the outcome of a request in order to take the next step, after failure of a server.
怎么处理SOAP错误(客户端或者服务器),以及他们将发生在什么场景下?
How will SOAP faults (client and server) be handled, and in what scenarios will they be generated?
方法声明的变化会导致客户端无法编译或是崩溃,方法行为的变化会导致无可预计的微妙错误。
Signature changes will cause the client code to either not compile or to crash and behavioral changes will create more subtle errors.
业务流程设计人员使用此功能可以模拟和捕获系统异常,并在BPEL客户端返回系统异常时执行错误逻辑。
This capability lets business process designers model and catch system exceptions, and execute error logic if a BPEL client returns a system exception.
默认生成的没有实现错误处理,而这对健壮的客户端代码来说是必须的。
The default generation does not implement error handling, which is essential for robust client code.
在第3部分中,我们将演示如何在中介模块中处理此类异常消息,以及如何将其转换为错误,以发送回原始客户端。
In Part 3, we will show you how such exception messages are handled in the mediation module and how they are converted into an error that is sent back to the original client.
除了学习处理客户端请求和返回符合SOAP响应之外,您还将了解处理异常和产生SOAP错误的过程。
In addition to learning to handle client requests and send back SOAP-compliant responses, you also explore the process of handling exceptions and generating SOAP faults.
像日志消息一样,确认消息由于某些原因也会丢失,同样,客户端无法确切知道哪里发生了错误。
Like logging messages, acknowledgement messages can also get lost for the same reasons. Here as well, the client can't tell where exactly the failure occurred.
您可以将这个特性与 Zend_Soap_Server的registerFaultException() 函数结合,用于测试客户端所提供的请求数据,然后为不同的错误情况返回一个SOAP错误信息。
You can couple this feature with the Zend_Soap_Server's registerFaultException() method to test the request data provided by the client, and send back a SOAP fault under various error scenarios.
在这种情况下,会有一条“storageareaFull”错误返回到客户端。
In this case, a "storage area Full" error is returned to the client.
清单11显示root用户跟踪一个Samba进程,该进程向客户端抛出一个错误。
Listing 11 shows the root user tracing a Samba process that is throwing an error to the client.
测试断言,网络客户端只被调用了一次,第一次使用之后网络stub就简单地抛出错误。
This test asserts that the network client is only used once by simply throwing an error from the network stub after the first use of it.
尝试登录到客户端计算机的LDAP用户遇到以下错误。
A LDAP user trying to log in to the client machine encounters the following error.
SOAPInput节点可以向客户端返回SOAP错误以指示发生了超时。
The SOAPInput node can return a SOAP fault to the client to indicate that a timeout has occurred.
降低客户端编码错误。
如果使用状态机服务的客户端为当前状态调用了错误的操作,则该客户端将接收一个错误,使其知道将发生什么情况。
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.
如果使用状态机服务的客户端为当前状态调用了错误的操作,则该客户端将接收一个错误,使其知道将发生什么情况。
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.
应用推荐