Using Claim Check with a logical attachment.
对逻辑附件使用Claim check。
Using Claim Check with a physical attachment.
对物理附件使用Claim check。
The purpose of claim check is to improve efficiency.
凭证索取的目的是要提高效率。
Figure 1 explains conceptually how Claim Check works.
图1从概念上解释了Claim Check的运作方式。
Response flow for Claim check service checkin operation.
Claim check服务checkin操作的响应流。
Response flow for Claim Check service checkout operation
Claim Check服务checkout操作的响应流
Note that Figure 1 explains the Claim Check conceptually.
注意,图1从概念上解释了Claim Check。
In this section, we describe the Claim Check service implementation.
在本节中。我们描述Claim Check服务实现。
It locates the Claim Check service using the reference partner name.
它使用引用伙伴名定位Claim Check服务。
First, we use the term "attachment" to refer to the data that you want to claim check.
首先,我们使用术语“附件”表示希望凭证索取的数据。
Recall that our sample application USES the file system as the Claim Check data store.
前面讲过,我们的样例应用程序将文件系统作为Claim Check数据存储使用。
The checkIn method allows clients to check the attachment by invoking the Claim check service.
checkIn方法通过调用Claim check服务允许客户端检查附件。
Data: This element contains the actual attachment object passed to the Claim Check service.
data:该元素包含传递给Claim Check服务的真正附件对象。
This second difference is important to the design of the solution for the Claim Check pattern.
这第二个区别对于Claim Check模式解决方案的设计很重要。
Checking in a SOAP attachment into the Claim Check data store before performing business logic.
在执行业务逻辑之前将一个SOAP附件签入Claim Check数据存储中。
Many times, customers will ask why they need to use the Claim Check pattern and when to use it.
客户很多时候会问,他们为何需要使用Claim Check模式且何时使用它。
This article described the Claim Check pattern, including logical and physical SOAP attachments.
本文描述了Claim Check模式,包括逻辑和物理soap附件。
The claim check service USES a Flat file adapter to write and read attachments from the file system.
凭证索取服务使用一个平面文件适配器来从文件系统中读写附件。
Therefore, we have chosen to invoke the Claim Check service directly from the mediations in Figure 3.
因此,我们选择直接从图3中的中介调用Claim Check服务。
Storetype: This element identifies the type of storage that should be used by the Claim Check service.
storetype:该元素确定Claim Check服务应使用的存储类型。
The Claim Check pattern basically applies this real-life common sense and efficient practice to the IT world.
Claim Check模式基本上适用于这个生活常识和IT有效实践。
When you apply the Claim Check pattern, irrespective of the underlying platform, there are three aspects to consider.
在应用Claim Check模式时,不管底层平台是什么,都需要考虑以下三方面?
Therefore, invoking the Claim Check service in the export and import through the custom data handler is a good design.
因此,通过自定义数据处理程序在输出和输入中调用Claim Check服务是一个很好的设计。
The caller needs to store the token so that it can be used later to retrieve the attachment from the Claim Check service.
调用方需要存储令牌,这样一来,稍后就可以使用它从Claim Check服务中检索附件。
In this section, we use the sample application to illustrate how to apply the Claim Check pattern to handle a SOAP attachment.
在本节中,我们使用样例应用程序来展示如何应用Claim Check模式来处理SOAP附件。
In this article, we use a sample scenario to illustrate how to claim check both a logical attachment and a physical attachment.
本文使用了一个样例场景来展示凭证如何索取逻辑附件和物理附件。
So, while you are applying the claim check pattern, why not also consider minimizing the navigation required by your application?
因此,在应用凭证索取模式时,为何不一并考虑最大限度地降低应用程序所需的导航?
For more information about the Claim Check pattern, see the Enterprise Integration Patterns book listed in the Resources section.
欲了解关于Claim Check模式的更多信息,请参阅参考资料部分中列出的集成模式图书。
The approach of detaching data from a process has been discussed several times (for example, in the Claim Check pattern article).
有一些文章讨论了分隔流程与数据的方法(例如Claim Checkpattern)。
When a caller needs to check in an attachment, it invokes the Claim check service, passing in a data object of type ClaimCheckObject.
当一个调用方需要签入一个附件时,它调用Claim Check服务,传入一个ClaimCheckObject类型的数据对象。
应用推荐