|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (4)
View Page HistoryThe version 2.4 of the Petals XSLT component exposes two operations.
* *transform*: the received message is transformed with the XSL style sheet. The transformation result is returned as the response payload.
* *transform*: the received message is transformed with the XSL style sheet. The transformation result is returned as the response payload.
* *transformToAttachment*: the received message is transformed with the XSL style sheet. The transformation result is attached to the response.
* *transformToMtomAttachment*: the received message is transformed with the XSL style sheet. The transformation result is attached to the response in MTOM mode.
h2. The "transformToAttachment" operation
The fully qualified name of this operation is:
* Name space URI: any URI, provided it is not null (e.g. *{html}http://petals.ow2.org/components/xslt/version-2{html}*)
* Local part: *transformToAttachment*
\\
This operation only supports the *InOut* message exchange pattern (MEP).
When invoking this operation, you must call it using its fully qualified name.
This operation cannot be described in a WSDL, because of the result it returns.
\\
Here is the execution flow for this operation:
# The received message is transformed with the XSL style sheet.
# The transformation result is attached to the response.
\\
The attachment is not sent in MTOM mode.
The result of the transformation has always the same shape.
{code:lang=xml}
<attached-files>
<file-name>myOutputAttachmentName</file-name>
<attached-files>
{code}
... where _myOutputAttachmentName_ is the name of the attachment (as specified in the service-unit, or a default value otherwise).
This operation is depreciated. Its usage is not recommmended.
The fully qualified name of this operation is:
* Name space URI: any URI, provided it is not null (e.g. *{html}http://petals.ow2.org/components/xslt/version-2{html}*)
* Local part: *transformToAttachment*
\\
This operation only supports the *InOut* message exchange pattern (MEP).
When invoking this operation, you must call it using its fully qualified name.
This operation cannot be described in a WSDL, because of the result it returns.
\\
Here is the execution flow for this operation:
# The received message is transformed with the XSL style sheet.
# The transformation result is attached to the response.
\\
The attachment is not sent in MTOM mode.
The result of the transformation has always the same shape.
{code:lang=xml}
<attached-files>
<file-name>myOutputAttachmentName</file-name>
<attached-files>
{code}
... where _myOutputAttachmentName_ is the name of the attachment (as specified in the service-unit, or a default value otherwise).
This operation is depreciated. Its usage is not recommmended.
h2. The "transformToMtomAttachment" operation
Configurations (service-units) for the XSLT component do not have, in general, a WSDL definition.
However, it is possible to define one. This WSDL can only describe one which describes the *transform* and "transformToMtomAttachment" operations.
The *transformToAttachment* operation cannot be described in a WSDL. This last operation is rather intended for integration use cases.
\\