Petals BC Filetransfer

Not any XML payload can be written into a file

Details

  • Type: Bug Bug
  • Status: New New
  • Priority: Blocker Blocker
  • Resolution: Unresolved
  • Affects Version/s: 3.0
  • Fix Version/s: None
  • Component/s: Operation 'put'
  • Security Level: Public
  • Description:
    Hide

    Make the following integration flow:

    • EIP (routing-slip)
      • SE Validation :: filter (returns the input message if the message is validated against a XML schema)
      • BC File Transfer :: put (writes the XML payload into a file).

    If the XML message has a "put" element for root, then it will succeed.
    Otherwise, it will fail. The file transfer will throw an exception that claims that the root element "put" was expected.

    This bug raises the question about the required strictness for SOA use cases and the required flexibility for integration use cases.
    To make the integration chain above, with the current version, we should have to put a XSLT configuration between the Validation and the File Transfer. In that last case, the chain is no more applicative, but also integrates technical services. To remain applicative, the XSLT transformation should be performed inside an interceptor.

    Show
    Make the following integration flow:
    • EIP (routing-slip)
      • SE Validation :: filter (returns the input message if the message is validated against a XML schema)
      • BC File Transfer :: put (writes the XML payload into a file).
    If the XML message has a "put" element for root, then it will succeed. Otherwise, it will fail. The file transfer will throw an exception that claims that the root element "put" was expected. This bug raises the question about the required strictness for SOA use cases and the required flexibility for integration use cases. To make the integration chain above, with the current version, we should have to put a XSLT configuration between the Validation and the File Transfer. In that last case, the chain is no more applicative, but also integrates technical services. To remain applicative, the XSLT transformation should be performed inside an interceptor.
  • Environment:
    Windows XP.

Activity

People

Dates

  • Created:
    Wed, 6 Oct 2010 - 11:50:37 +0200
    Updated:
    Thu, 2 Jun 2016 - 15:25:16 +0200