Using Logical Directory property in Assign File Adapter BPEL

Hi,
I wanted to use The Logical Directory which I created while making File Adapter in a BPEL process in 11g, in an assign activity.
How it can be done?
Thanks in advance
Sharat

I have already created a binding property for Logical Directory in Composite.xml. The thing is I want to set it through em, and check inside BPEL whether it is null or not. Only after that the File Adapter should be invoked.
I wanted to avoid exception if the binding property is not set by the user.
The solution lies in the word "exception" itself, just put the "invoke" activity inside a scope and on that scope attach a catch activity with "Binding Exception". If the file adapter is not able to find the file path, it will raise the excetption and "catch" will catch and inside catch I am able to put any activity which can end the process gracefully.
Sharat

Similar Messages

  • Using Request Response Bean Module in FILE Adapter

    Hi Experts,
    Can we use Request Response Bean Module in FILE Adapter in reverse way. That is can we configure thses adapter modules in Reciever file channel and call a sender file channel in it?
    My case is RFC to File synchronous case? How do we do this?
    Thanks & Regards,
    priyanka

    Can we use Request Response Bean Module in FILE Adapter in reverse way. That is can we configure thses adapter
    modules in Reciever file channel and call a sender file channel in it?
    My case is RFC to File synchronous case? How do we do this?
    The above is not possible....Bean works only for Sender channel and not for Receiver.....requirement not possible using even a BPM as FILE does not support SYNC communication in receiver end......max you can do is split the scenario into SYNC-ASYNC bridge.
    Regards,
    Abhishek.

  • File Adapter BPEL Process getting switched off

    The file adapter BPEL process reads a csv file which has a series of records in itfrom /xfer/chroot/data/aramex/accountUpdate/files. In between reading the files, the BPEL process gets switched off. The below snippet is the error we found in the domain.log. Anybody can you please suggest what to do?
    <2010-11-25 16:22:28,025> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
    java.io.FileNotFoundException: /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.tip.adapter.file.FileUtil.copyFile(FileUtil.java:947)
    at oracle.tip.adapter.file.inbound.ProcessWork.defaultArchive(ProcessWork.java:2341)
    at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:614)
    at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:619)
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Processer thread calling onFatalError with exception /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv (No such file or directory)
    <2010-11-25 16:22:28,025> <FATAL> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> [Read_ptt::Read(root)]Resource Adapter requested Process shutdown!
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.activation> <AdapterFramework::Inbound> Adapter Framework instance: OraBPEL - performing endpointDeactivation for portType=Read_ptt, operation=Read
    <2010-11-25 16:22:28,025> <INFO> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> Endpoint De-activation called in adapter for endpoint : /xfer/chroot/data/aramex/accountUpdate/files/
    <2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound> ProcessWork::Delete failed, the operation will be retried for max of [2] times
    <2010-11-25 16:22:28,095> <WARN> <PreActivation.collaxa.cube.ws> <File Adapter::Outbound>
    ORABPEL-11042
    File deletion failed.
    File : /xfer/chroot/data/aramex/accountUpdate/files/VFQ-251120101_1000.csv as it does not exist. could not be deleted.
    Delete the file and restart server. Contact oracle support if error is not fixable.
    at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:279)
    at oracle.tip.adapter.file.FileUtil.deleteFile(FileUtil.java:177)
    at oracle.tip.adapter.file.FileAgent.deleteFile(FileAgent.java:223)
    at oracle.tip.adapter.file.inbound.FileSource.deleteFile(FileSource.java:245)
    at oracle.tip.adapter.file.inbound.ProcessWork.doneProcessing(ProcessWork.java:655)
    at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:445)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:227)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:619)
    <2010-11-25 16:22:28,315> <ERROR> <PreActivation.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Process state off.
    The process class "BulkAccountUpdateFileConsumer" (revision "1.0" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off.
    Please consult your administrator if this process has been turned off inadvertently.

    This patch is not for 10.1.3.1.
    I have provided a response to on the following post
    BPEL Process Going into Dead State Automatically.
    cheers
    James

  • Multiple directory locations in Sender File adapter

    Hi All,
              I have a scenario where my single adapter needs to poll from 7 different directory locations. Is it posible to configure all seven sorce directory location in single sender file adapter.
    Regards,
    Xier

    Hi,
    I apologize for wrong information, actually I never tried but it's possible after seeing this.
    Note:821267
    11. File Sender: Processing Multiple Source Directories
    Q: Can the File Sender Adapter be configured to poll multiple source directories from a single channel?
    A: This functionality is available starting with XI 3.0 Support Package 14 as well as PI 7.0.
    raj.

  • Which user is used to execute command defined in File Adapter?

    Hello,
    in my receiver file adapter I specified a OS command to be executed after message processing. However this command doesn't get executed. After investigation I figure out that it's because the user that is used to executed the command does not have enough authorization to run the program (It's a unix system).
    So anyone knows which user is used to execute the command? Or anyone know how to go around this security issue with OS command in Unix system?
    Thanks
    Eric

    Hi,
    As Bhavesh replied you earlier the OS command is executed by the user <sid>adm in Unix or SAPService<SID> in windows.
    Do check the note 841704 - XI File & JDBC Adapter: Operating system command.
    From Note 841704
    Also note that the command is run as user "<sid>adm" (Unix) / "SAPService<SID>" (Windows).
    Thanks
    SaNv...

  • File Adapter BPEL Trigger

    Hi,
    This should be a really easy thing to do but I'm obviously missing something simple and fundamental.
    I want to set up a BPEL process that is initiated by the receipt of a file. All I initially want to get from that trigger is the name of the file and pass that value on to the next step in the chain.
    So, I created a new BPEL Process project and added a File Adapter service, filling in all the details for picking up the file from the place that it'll arrive. Reading the "Adapter" manual, I should be able to get the file details (name, directory) by adding UseHeaders="true" into the JCA definition in the File Adapter's WSDL file. I have done this. Doing this creates another WSDL file called fileAdapterInboundHeader.wsdl Now, this is where I get lost. How do I use this?
    By default, a new BPEL Process diagram shows a "Client" Partner Link, a receiveInput activity and a replyOutput activity. The receiveInput activity links from the Client Partner Link and the replyOutput activity links back to the Client.
    So I'm guessing that I need to replace the Client partner link with my new File Adapter service so that the detection of the file starts my BPEL process, rather than some triggered activity from a client.
    This is basically what I've done but it's really not working. How do I get at the filename that's gathered by the File Adapter service? Do I need an XML schema definition to work from?
    Perhaps there's a nice simple example of this somewhere that somebody could point me at? I've been searching but not found anything yet.
    Thanks,
    Andy

    I've written up this procedure in a bit more detail than RedRocker originally provided so that people like me who are complete noobs to BPEL and JDeveloper can do this more easily. The example I give here takes the filename and writes it to a database table. The table just has a FILE_ID column (automatically populated from a sequence by an ON-INSERT trigger) and a CONTENTS column (where the file name goes):
    How-To Get the name of an Input File and store it in a database table column.
    1) Assuming that you're using JDeveloper and you have an Application Workspace, right-click on the Application and choose New Project from the context menu.
    2) In the New Gallery, select Projects and then choose BPEL Process Project from the Items list:
    3) Create an Empty BPEL Process by choosing Empty BPEL Process from the Template dropdown of the BPEL Project Creation Wizard.
    4) This will bring up a completely empty BPEL Process in JDeveloer:
    5) From the Component Palette (top-right), choose Services and then locate the File Adapter Service in the list.
    6) Drag the File Adapter service from the Component panel to one of the Services columns in the main BPEL process designer (centre window). A Wizard will appear.
    7) Enter a name for the Service (eg. GetFileName). Fill in the description if you wish.
    8) Choose Read from the Operation Type list (adjust the Operation Name if you like):
    9) Enter the physical directory (or logical name for one) where the file is to be read from. Decide on whether you want the file to be deleted after it's been read (it won't be re-processed if it's left there since each poll cycle only looks for files that arrived more recently than its previous cycle), and whether to archive the file.
    10) Enter appropriate file selection filter criteria (note that for this BPEL example we're not interested in the file's content at all so the "Files contain Multiple Messages" tickbox and "Publish Messages in Batches of" selector are unimportant):
    11) Select an appropriate Polling Frequency:
    12) Select an Opaque schema (we're not interested in the file's content in this example)
    13) Click Finish
    14) Click OK to close the Partner Link creation wizard
    15) Click Save All.
    16) From the Application Navigator, drill down through the newly created BPEL Project, through the Integration Content folder to find your GetFileName Partner link. Expand this and double-click the GetFileName.wsdl file. In the centre panel, click the Source tab (at the bottom):
    17) Scroll down to the <jca:operation> tag and add the attribute UseHeaders="true" at the end
    18) Click Save All.
    19) Return to the main GetFileName BPEL Process designer by clicking the tab name at the top of the centre window. In the Structure panel (bottom-left), expand the Variables folder, followed by the Process folder and click the exposed Variables folder
    20) Create a variable by clicking the "Wand +" icon.
    21) Give the variable a meaningful name (FileName) and choose Message Type. Click the Browse flashlight:
    22) Choose InboundHeader_msg by drilling down as shown:
    23) Click OK and OK.
    24) In the Component palette (top-right), choose Process Activities from the dropdown list. Locate the Receive activity and drag it to the centre of the middle panel (ie. the BPEL Designer window) into the area marked "Drop Activity Here":
    25) Double-click the new Receive activity to bring up the properties dialogue box. On the General tab, give the activity a meaningful name (eg. ReceiveFilename).
    Click the Browse flashlight next to the Partner Link field and choose GetFileName from the list. The Operation dropdown will automatically show "Read" which is correct.
    26) Click the Auto-Create Variable ("Wand +") icon next to the Variable field. This variable is merely a placeholder for the content of the file being read. Because we've said that the incoming file's schema is Opaque, this variable will not get populated. However, we still need to have a variable. Give the variable a meaningful name (eg. FileContent) and allow the type to be selected automatically and then click OK on the Create Variable dialogue.
    27) Given that we'd want the receipt of a file to be individually traceable, ensure that the Create Instance checkbox is ticked on the General tab:
    28) Click the Adapters tab. Click the Browse flashlight next to the Header Variable field and select the FileName variable from the list presented and click OK:
    29) Click OK on the Receive activity property page to return to the main BPEL Designer screen.
    30) At this point, the data is available within the BPEL process but needs to be assigned to something. In this example, the value is going to be written to the FILE_NAME column in a table called ACH_INUPT_FILE. This will be done through an Insert performed by a Database Adapter. The ACH_INUPT_FILE table is configured to have an ON-INTERT trigger which automatically selects a value from a Sequence for its Primary Key value. Therefore simply inserting a row will provide a Unique value in the FILE_ID column.
    The next thing we need to do is create the Partner Link that performs the Insert operation. This will create a variable which we can assign the File Name to when this new Service is linked into the process flow.
    From the Component panel, choose Services from the dropdown. Locate the Database Adapter service and drag one onto the BPEL Designer page in the Services column.
    The Adapter Configuration wizard appears. Enter a meaningful name from the adapter (eg. WriteFileName). Enter a description if you like and click Next.
    31) Choose the appropriate Connection from the dropdown list. Click Next.
    32) Choose "Perform an Operation on a Table" for the Operation Type and deselect all operations except Insert Only. Click Next.
    33) Click the Import Tables button. From the presented table, ensure that the table that's going to hold the data is selected by shuttling the table from the Available panel to the Selected panel. In this case I've selected the ACH_INPUT_FILE table. Click OK.
    34) The Select Table panel shows the ACH_INPUT_FILE table. Click Next.
    35) In this example there are no further relationships to make, so click Next on the Relationships page:
    36) Click Finish. The Database Adapter's Partner Link properties page is displayed. Note that the Partner Link Type and Partner Role are automatically populated from the information gathered in the previous set of dialogue pages. Note that to change any of those values previously entered, click the Define Adapter Service icon. Click OK.
    37) In the Components Palette, select Process Activities from the dropdown. Locate the Invoke activity and drag one to the main BPEL process flow and drop it immediately below the ReceiveFilename activity.
    38) Double-click the new Invoke activity and the Invoke property panel is shown. On the General tab, give the Invoke activity a meaningful name (eg. InvokeWriteFileName).
    Click the Browse flashlight next to the Partner Link field and select WriteFileName from the list of presented services. Click OK.
    39) Note that the operation "insert" is automatically populated into the Operation dropdown.
    40) Click the Automatically Create Input Variable icon (Wand +) next to the Input Variable field. Accept the default "InvokeWriteFileName_insert_InputVariable". This creates the variable of the right type that's needed by the WriteFileName service.
    41) Click OK to close the WriteFileName Invoke activity property sheet. Note that there is a warning flag next to the new Invoke activity. We need to assign the file name to the Invoke activity's Input Variable.
    42) From the Component Palette, drag an Assign activity so that it sits between the Receive and the Invoke activities in the BPEL flow.
    43) Double-click the new Assign activity and click the General tab. Enter a meaningful name for the activity (eg. AssignFileNameToDBWriteInput).
    44) Click the Copy Operation tab. Click the Create button and select Copy Operation from the list of types.
    45) In the From panel, choose Expression from the Dropdown list. From the panel, click the XPath Expression Builder icon (highlighted).
    46) From the Function list dropdown under the Functions heading, select Conversion Functions. Double-click the "string()" function. This moves the string() function into the Expression panel at the top as shown.
    47) In the Expression panel, click inside the ( and ) brackets. Expand the variable FileName in the BPEL Variables panel below and select the fileName element from the InboundFileHeaderType element. Double-click the fileName to move the XPath expression into the Expression panel:
    48) Click OK. In the To panel, ensure that the Type dropdown shows Variable. Drill into the InvokeWriteFileName_insert_InputVariable and select the element that the file name is to be assigned to. In the example illustrated, the variable is called "contents" but that's just because the table has that as the field name rather than "filename".
    49) Click OK. The Assign property sheet shows the Copy Operation as below:
    50) Click OK. The Invoke operation may still show a warning flag. Click the flag to see the errors/warnings. If there are now errors/warnings shown, click OK to dismiss the panel and the flag will disappear. The BPEL Process is complete and can be deployed.
    It is long-winded, but it might just help somebody else.
    Andy

  • Dinamic Directory Path in Receiver File Adapter

    Hi everyone,
    I have a question for you.
    How can I give a dinamic path to the target directory in a file to file scenario?
    The scenario is like this:
    I have to take only certain files from a source directory. The names of the files are like 'S10048796050.txt', when the four chars in the beginning (1004) are the company code.
    With this code, I have to put the file in a different target folder.
    Examples:
    file with code 1004 --> p/xrt/universe/LOGISTICA/Conciliacion
    file with code 1005 --> p/xrt/universe/SEVISUR/Conciliacion
    etc...
    The easiest solution is to create an interface for every company, but I'm trying to do it dinamically.
    I only have SP14.
    Any ideas?
    Thank you very much.
    I'll give points who can help me.

    Hi,
    Please try the follwing code in Java UDF. This will work.
    Map map= container.getTransformationParameters();
    String strFilePath ="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(keyFileName );
    if(sourceFileName.indexOf("1004") !=-1)
    strFilePath = "p/xrt/universe/LOGISTICA/Conciliacion";
    }else if(sourceFileName.indexOf("1005") !=-1)
    strFilePath = "p/xrt/universe/SEVISUR/Conciliacion";
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileDirectory");
    conf.put(keyFileName, strFilePath );
    return strFilePath ;
    PS: Check the property Adapter-Specific Message Attributes -> Use Adapter-Specific Message Attributes , File Name in Source and File Path in Target Channels respectively.
    Thanks
    Amit
    Reward points if solution helps

  • Dynamic directory name in Receiving File adapter

    Hi,
    In File to File senario, In receiving system i want to create directory name dynamically. In my mapping there is a field called name, the directory name in the receiving system will be value in the name field. Any one can help me how to do this one...
    Thanks
    Rao

    Hello,
    Please follow the below to achieve the same.
    input - Store number,
    UDF
    String dynaname = input;
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION );
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
    "http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,dynaname);
    return "";
    UDF mapping
    Source[input]   -
    > UDF -->    Rootnode of target structure.           
    Hope it helps.
    best regards,
    raj.

  • Getting error in File adapter while using ChunkSize

    Hi,
    I am trying to move a large file using the ChunkSize property of the file adapter as shown below. However I am getting the error during the run time in the SOA server.
    Code used:
    <adapter-config name="SyncReadFile" adapter="File Adapter" wsdlLocation="SyncReadFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/FileAdapter"/>
      <endpoint-interaction portType="SynchRead_ptt" operation="SynchRead">
        <interaction-spec className="oracle.tip.adapter.file.outbound.FileIoInteractionSpec">
          <property name="DeleteFile" value="true"/>
          <property name="PhysicalDirectory" value="C:\JDeveloper\mywork\JCAPs\ChunkFileRead\Input"/>
          <property name="FileName" value="overwriteme.txt"/>
          <property name="ChunkSize" value="55"/>
        </interaction-spec>
      </endpoint-interaction>
    </adapter-config>
    Error:
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.file.outbound.FileIoInteractionSpec due to: Cannot set JCA WSDL Property. Error while setting JCA WSDL Property. Property setChunkSize is not defined for oracle.tip.adapter.file.outbound.FileIoInteractionSpec Please verify the spelling of the property. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Please suggest a resolution to this. I am using Jdeveloper 11.1.1.7.0

    Thank Daniel for the reply.
    But what is the impact user messaging service has here.  Can it happen that my oracle.tip.adapter.file.outbound.FileIoInteractionSpec is corrupted?
    Thanks
    Santanu

  • Target directory in file adapter

    Hi,
    Please let me know how can we set the target directory in the receiver file adapter by reading the database (maybe from a table in the database).
    regards,
    Raghu

    try to avoid variable substitution. You can make use of adapter specific attributes in this case. For example for the same file name you can ref:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Similar logic can be used for directory also.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

  • File Adapter Directory Path

    Hi,
    I have hot coded the directory path.
    I want to read the input directory path for fileadapter from a file(i will have a configuration file where i will set values for parameters).
    Regards
    Vishnu

    Thanks Ashish, it is helpful.
    Just one more question, I am not sure what value do I add from making physical to logical. Let's say if I have file polling read operation (not sync read), then if I configure physical path it will be hardcoded in jca wsdl file, if I configure logical it is hard coded in bpel.xml file.
    Unlike other preferences I am not able to update my logical directory in bpel.xml at run time in descripter tab. So if my input directory changes for some reason, I have to replace it (via ANT) and redeploy the process no matter what.
    Let me know if I understand it correctly.
    Vishnu,
    Please clarify which operation you are using, if you are using sync read or write, you can read your directory and file name from parameter file and pass it to adapter for reading that file. Adapter will give you content and also the name file/directory as header variable.
    If you are using polling operation, "after reading" the file adapter will provide file name and directory in header. But if you want pass the name of directory to adapter for reading the file, then I have asked similar question to Ashish.
    Regards,
    Chintan

  • Date and Time in Sender File Adapter Target Directory

    Hi there,
    is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
    For filename you can use "add time stamp" option, but and for target directory?
    Thanks and regards,
    Henrique.

    > <i>Do you have further information on how to perform
    > this with shell commands?</i>
    > >> You need to write a shell script. This script will
    > add the date/time stamp into the folder in the target
    > system. This shell script is executed from the File
    > adapter. So once the file is written into the target
    > directory, then it will rename the directory.
    Hi there, Moorthy
    We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
    In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
    Is there a way of passing %var1% and %var2% as parameters for the shell script?
    Thanks a lot,
    Henrique.

  • Dynamic FTP Directory Address in File Adapter - is this possible?

    We have a customer who would like us to pick up a file via an FTP file adapter once per day. The problem is, they have a different directory each day containing the file. The directory name is of the form YYYY-MM-DD. The name of the file in the directory is always the same.
    Is it possible to dynamically calculate the Source Directory name in the FTP file adapter? If so, how?
    Kind Regards,
    Tony.

    >
    Dharamveer Gaur wrote:
    > Hi
    > Look this same thread:
    > Re: Dynamic folder name (when reading file in file adapter)
    Hi,
    All the examples I have seen are to configure the Receiver File Adapter, not the Sender File Adapter. I don't thinl I have seen one blog yet whereby the source directory of a Sender File Adapter has been dynamically configured. I wonder if it can be done because the sender file adapter does not have Variable Substitution possibilities for filenames and directories.
    So has anybody a link to a blog where this dynamic choice of a source directory has been done for a SENDER file adapter?
    BR,
    Tony.

  • Dynamically construct Target/Source Directory in File Adapter

    Hi All,
    Is it possible to Dynamically construct target/Source Directory in File Adapter? If yes can anyone plz provide details about the same.
    regards
    Vinay

    Hi vinay,
    have a look @ these threads..u may get some help!!
    Re: Dynamic directory name in Receiving File adapter
    Dynamic FileName and Directory - UDF
    Re: Dynamic Directory and File Naming in Receiver Adapter
    Re: target directory in file adapter
    Regards
    BILL

  • How to zip all the files generated using file adapter

    Hello Everyone,
    I have a scenario in place where i split a message into multiple messages. I used to generate multiple file using the file name present in the payload of the splitted message using variable substitution.
    This is working fine.
    Now the requirement has changed and i want to zip all these file and create a single zip file.
    I think it could be done using run OS command option in file adapter, but have no clue how to do it.
    Please help me.
    Regards
    Rahul Nawale

    Hi,
    you can use on of the command line ZIP utilities:
    http://www.winzip.com/prodpagecl.htm
    http://www.7-zip.org/
    then when your file adapter puts the file
    you can use commnad line to zip the files
    Regards,
    michal

Maybe you are looking for

  • Backing up iPad apps purchased with two accounts?

    For a recent sync, I "transferred purchases" from my iPad to iTunes and subsequently synced it to my iMac with my personal AppleID. Before syncing, my iPad had apps purchased with two separate AppleIDs on it. Upon doing a restore for the iOS5 upgrade

  • Design Premium cs 6 upgrade

    Hello, My family recently purchased the education version for me of cs5.5 design premium.  While asking a question in the forums here someone advised that cs6 is coming out soon and to hold off on purchasing.  Unfortunately I did not know they were b

  • Wrt54g and tivo and passwords

    I have a few issues and need to figure these out. I have been trying to work them out and just can't seem to make it all coordinate. I have my linksys set up but it is unsecure - no password. I need to fix that. A few months ago I tried. I followed a

  • TOC not displaying

    I am having problems with my TOC displaying after it is deployed to our test environment server.  When I view the help file on my own computer, the TOC displays on the left.  But after the output files are deployed to our servers, the TOC no longer d

  • MacBook and Adobe CS3

    I'm considering buying a new MacBook and was curious if anyone has used any of the Adobe CS3 apps on one? If so, how does the MacBook handle them? I'd really appreciate any responses. Thanks! Bill