This discussion is archived
1 Reply Latest reply: Feb 13, 2013 10:20 AM by Anuj Dwivedi RSS

B2B - Directory Format/XPath for outbound files to identify Receiver etc.

775845 Newbie
Currently Being Moderated
Hi

We work in regulatory domain where Outbound file names are not configurable to indicate sender, receiver etc.
However folder are completely configurable to indicate attributes like sender, receiver, doc version, doc type etc. We have zip files and xml files for transmission.

Query 1 : I want to know can I configure an outbound File channel in B2B which can determine these attributes from directory structure?


Query 2 : Xml files contain sender and receiver identifiers as valid Xpath. Can these XPaths be configurable somewhere to indicate sender and receiver?

Thanks

Edited by: user12394694 on Feb 11, 2013 2:01 PM

Edited by: user12394694 on Feb 11, 2013 2:01 PM
  • 1. Re: B2B - Directory Format/XPath for outbound files to identify Receiver etc.
    Anuj Dwivedi Guru
    Currently Being Moderated
    Query 1 : I want to know can I configure an outbound File channel in B2B which can determine these attributes from directory structure?
    Yes. "Directory name format" in listening channel can be used for this case. For example, if file is being sent from tp OracleServices to tp MarketInc and Doc Type is "CustomXMLDocType" with version "1.0" then name of the directory should be - Oracle_Services_MarketInc_CustomXMLDocType_1.0 and "Directory name format" should be set to %FROM_PARTY%_%TO_PARTY%_%DOCTYPE_NAME%_%DOCTYPE_REVISION%.xml

    Make sure that "Filename format" field is blank.
    Query 2 : Xml files contain sender and receiver identifiers as valid Xpath. Can these XPaths be configurable somewhere to indicate sender and receiver?
    Not supported as of now.

    Regards,
    Anuj

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points