更重要的一点是,如果您选择全面使用文档样式的消息,不管您选取了哪一种使用情景,它们将都是有效的。
The more important point is that if you choose to use document-style messages across the board, they will work regardless of the usage scenario you choose.
调用样式是同步请求响应还是基于异步消息。
Whether the invocation style is synchronous request response or asynchronous message based.
这种机制被证明是很灵活的,因为您可以通过使用不同的样式表来创建任意多的消息主体版本。
This mechanism proves very flexible because you can create as many versions of the body as you want by using different style sheets.
文档绑定样式中的消息必须仅仅由形式良好、名称空间限定的XML组成。
A message in the document binding style must simply be made up of well-formed, namespace-qualified XML.
与各种应用程序进行集成时,有些可能需要采用事件处理模式工作,而此模式要求必须支持发布-订阅样式的消息交换方式。
When integrating various applications, some may need to work in the event-processing mode, which might mandate support for a publish-subscribe style of message exchange.
如果在样式表中包含该消息,要保证任何依赖于输出的处理能够发现输出提前停止了。
If you include this message in your stylesheet, make sure any process that depends on the output recognizes when the result was stopped prematurely.
这样,就可以避免rpc样式的互操作性问题,因为SOAP消息中并不会出现任何特定的操作名称。
By doing so, the interoperability issue with the RPC style can be avoided since there is no particular operation name presented in the SOAP message.
不过,ESB 推荐使用异步消息总线样式的交互模式(如前面的 图4 所示)。
The ESB, however, encorages the use of the asynchronous message bus style interaction pattern illustrated in Figure 4 earlier.
加载了样式表并执行转换之后,节点要将结果重新解析为消息树。
After the style sheet is loaded and transformation is performed, the node re-parses the result into a message tree.
为提高性能,从磁盘读取的样式表缓存在内存中——节点不能缓存输入消息提供的样式表。
To improve performance, stylesheets read from disk are cached in memory - the node does not cache stylesheets that are supplied in the input message.
在WSDL定义中,存在两种消息绑定样式:Document和远程过程调用(Remote Procedure Call,RPC)。
In WSDL definition, there are two message binding styles: document and Remote Procedure Call (RPC).
现在清楚了在页面上为什么文本字段不允许使用值 !Cline,以及为什么用红色(红色用于CSSerror样式)报告错误消息了吧!
Now it's clear why the value !Cline for the text field was not allowed and why the error message was reported in red, the color for the CSS error style, on the page.
另一方面,document样式的消息将xml有效负载直接放置在SOAP主体中。
A document style message, on the other hand, has the XML payload directly placed in a SOAP body.
WS-Basic 概要文件 1.0允许Web服务使用两种样式的SOAP消息:RPC/literal和Doc/literal。
The WS-Basic Profile 1.0 allows two styles of SOAP messages for Web services: RPC/literal and Doc/literal.
在WS - iBasicProfile (BP)中,对消息绑定样式进行了进一步限制。
In the WS-I Basic Profile (BP), the message binding styles are further restricted.
css文件(参见清单10)定义了用于错误消息的ValidationError样式类
The valid.css file (see Listing 10) defines the ValidationError style class that is used for the error messages
对于Document消息,还有两种其他样式:wrapped和Unwrapped。
As for a document message, there are two additional styles: wrapped and unwrapped.
在Document -literal样式的SOAP消息中,SOAP主体仅包含xml有效负载,而不会包装操作名称。
In a document-literal style SOAP message, only an XML payload is placed in SOAP body without the operation name wrapped.
——从Registry andRepository检索xsl样式表,并将其用于转换入站消息。
An XSL stylesheet is retrieved from Registry and Repository and used to transform the inbound message.
如果将soap域树发送到非SOAP输出节点,当前会写出该树的xml序列化,而不是soa样式的Web服务消息。
If a SOAP domain tree is sent to a non-SOAP output node, an XML serialization of the tree is currently written, rather than a SOAP-style Web service message.
根据wsdl:operation的定义,接收方web服务接口将预期接收通过receive操作包装的rpc样式的SOAP消息,如下所示。
According to the WSDL: operation definition, the receiver Web service interface expects a RPC-style SOAP message wrapped with a receive operation listed as below.
他们声明面向文档的Web服务仅适用于异步消息处理而rpc样式的Web服务应用于同步服务。
They state that document oriented web services applying only to asynchronous messaging processing while RPC style web services apply to synchronous services.
如果schematron样式表动作产生一条错误消息,则需要将该错误消息发送回最初发送请求XML文档的客户机。
If the Schematron stylesheet action produced an error message, the error message needs to be sent back to the client that initially sent the request XML document.
简而言之,document样式的消息基于XML模式元素定义,而RPC消息则使用XML模式类型定义。
In short, a document-style message is defined based on an XML schema element, and an RPC message is defined using an XML schema type.
这是个好消息,因为它意味着样式表作者们将很快就能利用象序列、量化和更强有力的类型控制这样的特性。
This is good news, as it means that style sheet authors will soon be able to take advantage of features like sequences, quantification, and stronger type control.
例如,一种中介基元支持通过xslt样式表进行消息转换,另一种中介基元支持通过流的消息的自动记录。
For example, there is a mediation primitive that supports message conversion with XSLT stylesheets, and another that supports automatic logging of messages that go through the flow.
可能是一种消息传递样式或消息传递样式的组合。
SCA还支持各种编程样式,除了同步调用-返回样式外,还包括异步样式和面向消息的样式。
SCA also supports a range of programming styles, including asynchronous and message-oriented styles, in addition to the synchronous call-and-return style.
清单8中显示的xsl样式表包含具体的错误消息,可以解释验证动作为何失败,并将它返回给发出请求的客户机。
The XSL stylesheet shown in Listing 8 obtains the specific error message that explains why the validation action failed and returns it to the client that issued the request.
操作信息可与rpc样式的消息一起使用。
The operation information is available with RPC style of messaging.
应用推荐