File Reading. Help required

Hi All,
My scenario:
There is a txt file. Inside that txt file  value comes (like A or B)
Based on that value I need to send it to different receivers.
eg. If value is A then send to Receiver A or If value is B then send to Receiver B.
Since it is very big txt file  and value position can also change, so I do not want to use File Content Conversion.At target side again I want to send same txt file. So double conversion will be done.
So I do not want to use File Content Conversion.
Any suggestions please.
Regards

Hi,
My source txt file is:
I want to send the same source txt file to destination in txt format..
At destination file needs to be again txt file.
Condition:
If :59:/1000001642  comes at that file position then send to Receiver A
If :58:/9000001642  comes at that file position then send to Receiver B
Can you please tell me how to apply FCC at sender and receiver .
Regards

Similar Messages

  • File to File interface - Help Required

    Hello All,
    We have the below business requirement:
    In the source directory, we would receive multiple .dat and one .txt files. Before picking up any of the file, we need to check whether the .txt file exists in the folder or not.
    If the .txt file exists, only then pick the .dat files and move them to target directory, else dont do any action until the .txt files comes into the folder.
    Also, the dat and txt files have to be moved to the target directory in a sequence(i.e. first the dat files have to be moved and then finally txt file has to be moved).
    Please help in providing an approach preferably with the standard sender file channel options.
    Thanks in advance.
    Regards,
    Subbu

    Try this option
    Source Directory: /yourSourceDir
    FileName : File1.xml
    In Additional Files:
    File List: File2.xml
    File2.xml.namePart - "File1.xml" = "File2.xml"
    File2.xml.optional - NO
    File2.xml.type - xml
    by having this settings, File1 will be picked only when File2 is placed in the folder.
    Regards

  • Xml file read help

    hello,
    when i get ResultSet i can say
    rs.getString ("Col name or Number here");
    if i read XML File can i say
    semething.getString("element Name? or another idea?");
    thx

    http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXPSAX.html
    Run through the tutorial quickly, all of your questions will be answered. Its fairly easy.

  • File operation help required

    hello gurus,
    I want to check whether a perticular file present on the application server or not
    if yes
    I want to delete it.
    if no
    i want to create the file in append mode.
    I know its a simple issue but still i havnt done file IO in sap yet so please help me in this issue.
    Thanks in advence!!!

    Hi Nikhil,
    It is very simple.
    1. open dataset <dset> for input.
        If the file is existing, you will get sy-subrc = 0, else sy-subrc = 8.
    2. if sy-subrc = 0   DELETE DATASET <dset>
    3. else.
        OPEN DATASET <dset> for APPENDING.
    Ravi

  • Adobe Reader Help required

    Hi
    I'm running windows 7 home edition and have both Adobe Professional 7.1.0 and adobe reader 9.1 on my machine.
    My problem is when I try download some PDF files from the internet and once completed nothing is displayed. As if downloaded PDF file is blank. This does not always happen.
    PLEASE can someone advise urgently before I throw my laptop in the pool.
    Thanks

    Acrobat 7 Professional (or even 8 for that matter) is not supported on Win7 at all and having both Acrobat and Reader on the same Windows machine isn't supported for ANY OS.
    My suggestion would be to upgrade to Acrobat 9 and don't install Reader. That would be the only supported setup.

  • File Adapter help required.

    Hi All,
    My scenario:
    I have source txt file that is seperated by semicolon.
    I need to do Receiver determination that for some value it shoud go to Receiver A and for other value it
    should go to Receiver B.
    File that is reaching Receiver A and Receiver B should be again txt in nature.
    What can be solution for this?
    Regards

    Hi Anand
    So the approach will be:
    1. Sender File Adapter (File content coversion) -- from txt file to xml file
    2. Rec Determination --- for different Receivers
    3. Receiver File Adapter (File content coversion) -- from xml file to txt file
    Am I correct?
    Do you have blogs for this
    Regards

  • File Content Conversion. Help required

    Hi All,
    My scenario
    I have source text file. I need to do Receiver Determination based on some value.
    I need to send again text file at target side.
    My source txt file is:
    Condition:
    If :59:/1000001642 comes then send to Receiver A
    If :58:/9000001642 comes at that position then send to Receiver B
    Can you please tell me how to apply FCC at sender and receiver side as I am not able to
    do it.
    Regards

    Hi Rick,
    Can there be any way I can avoid FCC and do Rec Determination because I am required to
    do complex FCC at both source and target side.
    If you want XI to route a flat file (without FCC in file adapter), then I think you will need to do enhanced
    receiver determination.   It will have to be a java map since the input is still a flat file.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/content.htm
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3343
    There are many ways to handle this in java, but hereu2019s a simple example that should get you started.
    import java.io.BufferedReader;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Map;
    import com.sap.aii.mapping.api.MappingTrace;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    public final class AdvancedReceiverJava implements StreamTransformation {
         private Map _param;  
         public void setParameter(Map param) {
              _param = param;
         public void execute(InputStream in, OutputStream out) throws StreamTransformationException {
              //MappingTrace trace =  (MappingTrace)_param.get(StreamTransformationConstants.MAPPING_TRACE);
              BufferedReader reader = null;
              try {
                   reader = new BufferedReader(new InputStreamReader(in));
                   StringBuffer sb = new StringBuffer();
                   String line = null;
                   while ((line = reader.readLine()) != null) {
                        sb.append(line).append("\n");
                   String fileString = sb.toString();
                   //replace this with a call to value mapping for more configurable solution
                   String receiver = null;
                   if (fileString.indexOf("59:/100000164") > -1)
                        receiver = "receiverService1";
                   else if (fileString.indexOf("58:/9000001642") > -1)
                        receiver = "receiverService2";
                   else
                        throw new Exception("No receiver found in source file.");
                   StringBuffer xml = new StringBuffer();
                   xml.append("<?xml version='1.0' encoding='UTF-8'?>");
                   xml.append("<ns0:Receivers xmlns:ns0='http://sap.com/xi/XI/System'>");
                   xml.append("<Receiver><Service>").append(receiver).append("</Service></Receiver>");
                   xml.append("</ns0:Receivers>");
                   out.write(xml.toString().getBytes());
                   out.flush();
              } catch (Exception e) {             
                   StringWriter sw = new StringWriter();
                   PrintWriter pw = new PrintWriter(sw);
                   e.printStackTrace(pw);
                   throw new StreamTransformationException(sw.toString()); 
              } finally {
                   if (reader!= null) try { reader.close(); } catch (Exception e) {}
    -Russ

  • Download file from URL using ADF (urgent help required)

    We have the following requirement:
    On clicking a button we need to download the file present at a particular location(we have the URL).
    I have written the following in .jspx file :
    <af:commandButton  id="btn1" >
                        <af:fileDownloadActionListener contentType="text/plain; charset=utf-8" method="#{bean.getFile}"/>
    </af:commandButton>
    The corresponding method in bean is :
    public void getFile(FacesContext facesContext, OutputStream outputStream) {
    HttpServletResponse response = null;
    ServletOutputStream ouputStream = null;
    currUrl = getFileURL("ID", 281);
    response =
    (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
    try {
    ouputStream = response.getOutputStream();
    ouputStream.write(this.getFileBytes(), 0,this.getFileBytes().length);
    ouputStream.flush();
    ouputStream.close();
    } catch (IOException ioe) {
    System.out.println("IO Exception");
    public byte[] getFileBytes() {
    URLConnection urlConn = null;
    InputStream iStream = null;
    URL url;
    byte[] buf;
    int byteRead;
    try {
    url= new URL("http://hjhj:34104/test.pdf");
    urlConn = url.openConnection();
    iStream = urlConn.getInputStream();
    buf = new byte[5000000];
    byteRead = iStream.read(buf);
    if (byteRead > 0) {
    System.out.println("Downloaded Successfully.");
    return buf;
    } catch (FileNotFoundException fnfe) {
    System.out.println("File not found Exception");
    fnfe.printStackTrace();
    } catch (Exception e) {
    System.out.println("Exception:" + e.getMessage());
    e.printStackTrace();
    } finally {
    try {
    iStream.close();
    } catch (IOException e) {
    System.out.println("IO Exception");
    e.printStackTrace();
    System.out.println("File");
    return null;
    The file is opening in same window but in some encrypted format. My requirement is to :
    1. Have a pop (as in Mozilla or IE) which asks if I want to save the file or open.
    2. Depending on that the file should be opened in pdf format and not in browser same window neither in browser tab.

    Jdev version : 11.1.2.1.0
    in .jspx file : we have a button. On clicking the button file from URL should be downloaded. I have used fileDownloadActionListener in commandButton. Corresponding code :
    <af:commandButton  id="btn1" >
                        <af:fileDownloadActionListener contentType="text/plain; charset=utf-8" method="#{bean.getFile}"/>
    </af:commandButton>
    in bean class : the method corresponding to fileDownloadActionListener is :
    public void getFile(FacesContext facesContext, OutputStream outputStream) {
         HttpServletResponse response = null;
         ServletOutputStream ouputStream = null;
         response =(HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
         try {
              ouputStream = response.getOutputStream();
              ouputStream.write(this.getFileBytes(), 0,this.getFileBytes().length);
              ouputStream.flush();
              ouputStream.close();
              } catch (IOException ioe) {
                   System.out.println("IO Exception");
    public byte[] getFileBytes() {
         URLConnection urlConn = null;
         InputStream iStream = null;
         URL url;
         byte[] buf;
         int byteRead;
         try {
              url= new URL("http://hjhj:34104/test");
              urlConn = url.openConnection();
              iStream = urlConn.getInputStream();
              buf = new byte[5000000];
              byteRead = iStream.read(buf);
              if (byteRead > 0) {
                   System.out.println("Downloaded Successfully.");
              return buf;   
        } catch (FileNotFoundException fnfe) {
              System.out.println("File not found Exception");
         } catch (Exception e) {
              System.out.println("IO Exception");
    The URL given in the code is for a file which can be a PDF file or an EXCEL file.
    My requirement is when i click the button:
    1. A pop should come (as in Mozilla or IE) which asks if I want to save the file or open.
    2. if i click on save file should save in a particular location.
    3. if i click on open it should open as PDF/EXCEL format and NOT in browser.
    Message was edited by: 1001638

  • I downloaded Adobe Reader 9.3 and now I can't read or print out any of my Pdf files.  Help!

    I downloaded Adobe 9.3 and now I can't read or print
    any of my Pdf files.  Help!

    Windows 7.  I get an error Message - Runtime Error - A network error occurred while attempting to read from the file.  Routine Error - This application has requested the runtime to terminate in an unusual way.

  • File reader follow-up help

    basically lol, in a nutshell ...im useless at java....sorry.
    Anyway basically im stuck at adpating my file reader so that it checks each line of the file for a particualar symbol (<html>).
    Wen it finds this symbol, i would like it to then copy that symbol and all the data after it until it reaches a </html> n the text file. Then i would like this to print to a file. I have had previous help but as im useless i couldnt impliment it. If anyone could give me simple steps or tips to do this it wud be much appreciated. Thanks to anyone who has tried to help me before but i cnt seem to find any good tutorial websites for what i would like to do
    my cod eso far:
    import java.io.*;
    public class fileviewer
         public static void main (String args[])
              try
                   boolean IsFound = false;
                   FileReader file = new FileReader ("C:\\Documents and Settings\\Graeme\\Desktop\\fileviewer\\data.txt.txt");
                   BufferedReader buffer = new BufferedReader (file);
                   String textline = null;
                   while ((textline = buffer.readLine()) !=null)
                   System.out.println(textline);
                   buffer.close();
              catch (IOException e)
              System.out.println(e);
    }

    You want regular expressions. There is a tutorial here:
    http://www.regular-expressions.info/
    The relevant Java class API docs are here:
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Matcher.html
    - Saish

  • Please help with file reading component

    i am currently writing a program in which i need to have a JTable
    which displays data from a text file which can be selected from an
    option via a JList. I can get the info from the file into the JTable
    but for some reason which i can't figure out! the file reading method
    which i have written to read the data in the text file keeps reading the text file twice so i am getting duplicate data in the JTable. it may
    be easier to understand with the code i have supplied for the ListListener and the file reading method. the text file which is to be read contains data in the form - aName%anAddress%aBirthdate%aGender
    here is the code:-
    //class listening for JList selection
    class ListListener implements ListSelectionListener{
              public void valueChanged(ListSelectionEvent e){
    try{
    //send the selected index to file reading method
                   readFile(fileList.getSelectedIndex());
                   catch(IOException exception){
                   JOptionPane.showMessageDialog(
                                  PeopleJTable3.this,
                                  "File not found", "Error",
                                  JOptionPane.ERROR_MESSAGE);
              }//end of valueChanged
    //method to read a file given a specific index
    public void readFile(int fileNumber)throws IOException{
              BufferedReader keyboard = new
                   BufferedReader(new InputStreamReader(System.in));
    PrintWriter screen = new PrintWriter(System.out, true);
    //declare variables to enable separating the data in the file
    String fileName, name, address, birthdate, gender, line;
    int i=0;
    int lineLength,firstPercent,secondPercent, thirdPercent;
    PersonRecord[] group = new PersonRecord[20];
    final char PERCENT = '%';
    if(fileNumber == 0){
    fileName = new String("datafile.txt");
    //create filereader to read a byte stream from a file
    //oparameter has name of file;
    FileReader fr = new FileReader("datafile.txt");
    //create buffered reader object takes stream of characters
    //from filereader
    BufferedReader in = new BufferedReader(fr);
    line = in.readLine();
    // while (line != null){
    while( !line.equals("0")){
              //find second percentage
              firstPercent = line.indexOf(PERCENT);
              int a = firstPercent + 1;
              while(line.charAt(a) != '%'){
                   a++;
    //find third percentage
              secondPercent = a;
              int b = secondPercent + 1;
              while(line.charAt(b) != '%'){
                   b++;
              thirdPercent = b;
              //extract the name
              name = line.substring(0,firstPercent);
              //extract the address
              address = line.substring(firstPercent + 1, secondPercent);
              //extract the D.O.B.
              birthdate = line.substring(secondPercent + 1, thirdPercent);
    //extract overdraft amount;
    gender = line.substring(thirdPercent + 1, line.length());
    String[] tabEntry = {name,address,birthdate,gender};
    //add this row to JTable
    people.addRow(tabEntry);
    line = in.readLine();
    screen.println(i);//this was used to check that the
    //file was actually being read twice
    //from this method
    i++;
         }//end while loop
    in.close();
    }//end readFile
    if you can tell me why this read the file twice that would be fantastic!
    Cheers
    iain

    oh, that is right... the valueChanged() method will get called twice when you use a mouseclick, but if selecting from the keyboard it will only be called once. I'm not sure why it does that either, but what camickr suggested will fix it.
    Here is my substitution using the StringTokenizer..
    // you will need to import the class
    import java.util.StringTokenizer;
    // this will actually read the entire file until EOF
    while( (line = in.readLine()) != null )
         StringTokenizer st = new StringTokenizer( line, "%", false );
         // make sure there are at least 4 tokens in this line to read
         while( st.countTokens() == 4 )
              name = st.nextToken();
              address = st.nextToken();
              birthdate = st.nextToken();
              gender = st.nextToken();
         String[] tabEntry = {name,address,birthdate,gender};
         //add this row to JTable
         people.addRow(tabEntry);
    } //end while loopHere's the link to the StringTokenizer's API http://java.sun.com/j2se/1.3/docs/api/java/util/StringTokenizer.html
    good luck,
    .kim

  • ERROR: The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used

    As the title indicates, I'm having this error during installation. It occurs when I try to install
    the "Management Studio" part of the program. I've tried a bunch of things like
    copying to hard drive and installing, but to no avail. To isolate the problem, i've even tried removing Reporting services, since at the time of failure it seems to be trying to install/configure the Microsoft.Reporting Services dll.
    Additionally, I have SQL Express installed (installed it separately, not as part of the SQL 2005 DVD), VS 2005, .NET Framework 2.0, SQL Management Studio Express CTP. Could the Management Studio Express be causing a problem?
    Please note:
    Although the error is about missing / corrupt Sql.cab, I have searched the entire dvd for the said file, but there is no file called Sql.cab on the dvd. Am I missing something?
    Any solution would be greatly appreciated.
    TIA

    I was installing SQLServer2014_Developer which I had just purchased as a 64bit iso download to VirtualBox Windows_10_64bit Instance that i had just created.
    I got the following error about 90% through the SQLServer2014_Developer install:
    >>> ===================================================================
    >>> SQL Server 2014
    >>> ===================================================================
    >>> TITLE: Microsoft SQL Server 2014 Setup
    >>> ------------------------------
    >>> The following error has occurred:
    >>> The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used.
    >>> This could indicate a network error, an error reading from the CD-ROM, or a problem with this package.
    >>> For help, click:
    >>> h t t p ://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xDF039760%25401201%25401
    >>> ------------------------------
    A quick rerun of failed SQLServer2014_Developer install just for the Management_Tools and review of the SQLServer2014_Developer install logs
      confirmed error still prelevant:
    C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\...
    >>> ...
    >>> Detailed results:
    >>>   Feature:                       Management Tools - Complete
    >>>   Status:                        Failed: see logs for details
    >>>   Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
    >>>   Next Step:                     Use the following information to resolve the error, and then try the setup process again.
    >>>   Component name:                SQL Server Management Services
    >>>   Component error code:          1335
    >>>   Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150206_223659\sql_ssms_Cpu64_1.log
    >>>   Error description:             The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading
    from the CD-ROM, or a problem with this package.
    >>>   Error help link:               h t t p ://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40InstallFiles%401335
    >>>
    >>>   Feature:                       Management Tools - Basic
    >>>   Status:                        Failed: see logs for details
    >>>   Reason for failure:            An error occurred during the setup process of the feature.
    >>>   Next Step:                     Use the following information to resolve the error, and then try the setup process again.
    >>>   Component name:                SQL Server Management Services
    >>>   Component error code:          1335
    >>>   Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150206_223659\sql_ssms_Cpu64_1.log
    >>>   Error description:             The cabinet file 'Sql.cab' required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading
    from the CD-ROM, or a problem with this package.
    >>>   Error help link:               h t t p ://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=sql_ssms.msi%40InstallFiles%401335
    >>> ...
    Reading though the many Google hits going way back AD-2000/AD-2006/AD-2011/AD-2014 for various installs including SQLserver_2008/2012 etc
    I noted that in the main there were x2 common themes.
    1. Problem with corruption the original download.
    --- Although I had not run the download checksum
    --- I had previously just installed SQLServer2014_Developer successfully, so at the minute, I was confident downloads were ok.
    --- Many hits mentioned this 'Sql.cab' file and 90% of the install had been successfull -
    --- I figured the chances of us all having corruption of this one files were agaianst the odds and
    ---   probably re-downloading it would not fix this - but I kicked a re-download off anyhow .
    While it was running ...
    2. Network issue when installing - some of the hits asked if could be related to Virtual drives.
    --- This struck a chord
    --- I had downloaded the SQLServer2014 .iso to my host PC and then copied it onto one OneDrive so I could access it within the VirtualBox_Windows_10.
    --- From within the VirtualBox_Windows_10 I had then used SetupVirtualCloneDrive5450.exe to mount the OneDrive SQLServer2014 .iso and then autorun the install.
    What worked for me ...
    --- I decided to
    --- 1. Copy the same SQLServer2014 .iso that had failed to install x2 from OneDrive to the c:\ root of the VirtualBox_Windows_10.
    --- 2. Remount the same SQLServer2014 .iso from c:\ again using SetupVirtualCloneDrive5450.exe.
    --- 3. Re-run the SQLServer2014 install using the repair mode.
    This time the [Maintenance] [Repair] install completed with all elements showing installed successfully.
    Hope this helps
    Andy

  • Help required network configuration - Gateway route settings get erased on reboot.

    Oracle Linux 7
    Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    #cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
    TYPE="Ethernet"
    BOOTPROTO="none"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL="no"
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    NAME="eno16780032"
    UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
    ONBOOT="yes"
    IPADDR0="34.36.140.86"
    PREFIX0="22"
    GATEWAY0="34.36.143.254"
    DNS1="34.36.132.1"
    DNS2="34.34.132.1"
    DOMAIN="corp.halliburton.com"
    HWADDR="00:50:56:AC:3F:F9"
    IPV6_PEERDNS="yes"
    IPV6_PEERROUTES="yes"
    NM_CONTROLLED="no"
    #route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         34.36.143.254   0.0.0.0         UG    0      0        0 eno16780032
    34.36.140.0     0.0.0.0         255.255.252.0   U     0      0        0 eno16780032
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eno16780032
    When I reboot the machine, the first line in route table gets erased, I then run:
    #route add default gw 34.36.143.254
    After which network works fine.
    Help required. I don't want to use NetworkManager.

    The following might be useful:
    https://access.redhat.com/solutions/783533
    "When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
    NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder.

  • Help required from JDeveloper Development Team.

    HI there,
    I Download the JDeveloper 10.1.2 (1811) from OTN, But the downloaded archive file is unable to open. I did the download once again but I am facing same problem. I want to JDeveloper 10.1.2 for the installation of BI Beans 10.1.2.
    Help required from JDeveloper Development Team
    Thanks For Your Time,
    Regards,
    ViSHAL.

    Please use an informative Subject line, there is more chance that people will read the post.
    All we can suggest is that you try the download again.

  • Passing file read location as a parameter or dynamica to FTP write adapter.

    Hi All,
    We have a requirement to FTP files to a location. We are planning to use FTP adapter in SOA 11g.
    But our requirement is to pass the file read location as a parameter as in case of failure we are planning to read file from the archive location.
    But FTP location to which file is written or ftped will always remain constant. Only the read location from which this file is picked needs to be dynamic.
    Any pointers on this will be of great help.
    Thanks,
    Sowmya

    Hi,
    In 11g we can pass filename and directory name at runtime through properties on receive activity.
    If you double click on the Receive activity (connecting to file Adapter), then on Properties tab, you will find three properties jca.file.Directory, jca.file.Filename and jca.file.Size. Select the property which ever you want and assign variable/expression to it.
    Value assigned to Variable can be passed runtime as an input to the process.

  • ISE integration with Mobile Device Management ( MDM ) help required

    Dear Techies,
         Am here bring to your notice an different issue and no much resources to support even in PEC or Cisco Document.
         We are conduction a Proof Of Concept (PoC) on  Secure Bring Your Own Device ( BYOD ) using Cisco ISE and gonna test all the scenarios like Wired, Wireless and VPN user access.
    Setup Brief :
    =========
          Our Setup has  ISE VM acting as Admin, Monitor and Profiling Device, we have NAC 3315 physical Appliance as Inline posture Device, Wireless LAN controller, Access point and the Identity source as Microsof Active Directory
         Having Plans to Integrate Mobile Device Management ( MDM ) and Citrix VDI setup also.
    Activity Brief:
    =========
         As of now we have tested the Wired Scenario Authentication and authorization for guest users and gonna carry out the profiling and posture.
    Clarifications Required
    ================
    Wired Scenario - Require some configuration / steps on how to carryout posture for the guest wired users i.e. LAPTOP.
    Wireless Scenario
    MDM can be integrated to ISE ? 
    How the MDM can be integrated to Cisco ISE configuration or Guide to show the same?
    What is the demarcation between MDM and ISE ( i.e. What is the role of ISE and MDM on Mobile Devices ) ?
    If MDM is available so then when the control of ISE ends, does MDM do management or ISE will do management of the devices ?
    Is MDM will do client provisioning or ISE should do ?
    Is MDM send or update patches of Mobile Devices ?
    As of now these are the scenarios, kindly revert if any good documents to show this or share your expertise on the Integration Part.
    Thanks for Reading...
    Arun

    I would like to avail your valuable inputs to understand on the  Client provisioning part for the Mobile Devices/ Laptop. I understand  from your reply that MDM integration is not available in the current  release ISE 1.1 - That is correct.
    Kindly let me know your views or any documents on the following scenarios with the current release in mind
    1. User  with Mobile devices connecting to Wireless  ( both Employee  and Guest ) , How the Flow differs for the Employee and Guest.  How the  client provisioning is done ( i.e. Like Posturing  or Compliance Check  ).
    The posturing and compliance check is done based on the user authentication information (i.e. AD memberOf vs Guest user) combined with the users endpoint (windows, mac osx, or a mobile device), ISE then has a few decisions to make based on the authorization policies. For example, if a Domain User coming from a Windows 7 machine joins the network, then can either use the nac agent, or the web agent. Then you can scan for registry settings, file settings, program requirements, hotfix compliance...and the list goes on. If the user fails a check then you can either assign an acl for the user so they only have guest access, or you can place them into a remediation vlan the options are entirely up to the requirements and however the solution is implemented.
    2. User  with Laptop  connecting to Wireless  ( both Employee  and Guest ). How the client provisioning is done ( i.e. Like Posturing   or Compliance Check ).
    Guests are usually redirected to the guest portal which they authenticate and their user group falls within the Guest container that is on the ISE internal database, that is usually coupled with an authorization profile that grants them internet access. For the client provisioning, that is usually done based on the operating system, via profiling (dhcp, and user agent string., netmap...etc) and can be fine tuned for all laptops or to a specific set of users based on their group membership.
    3. What are advantages of having ISE also in  place for Mobile devices, since most of the Mobile related tasks ( like  Authentication, Authorization, Profiling and  Posture ) are carried out  by MDM. I am checking for the significant advantage of having ISE for  Client network having only Mobile devices. Kindly clarify.
    Currently the advantage of Cisco ISE is that it supports profiling within wireless and really fits well within a network that has mostly Cisco products since they are all part of of the Borderless security initiative being driven on the backend. The product teams for wireless, wired, security (vpn..etc) and ISE are pretty close in building their solutions so that you can get connected with any device any where (sorry for the sales pitch). The latests wireless code is improving and is going to have support similar to the ios sensor for wired devices where dhcp, cdp, and other attributes can be sent in the radius packet for better profiling decisions. With integration for an MDM platform coming soon, and also support for TACACS rumored (have to verify with your account rep) you have options that really stand out from a unit that only supports MDM. Cisco ISE also comes with a wireless product ID so that makes the budget work when it comes to deploying ISE if you arent looking for enforcement on your wired devices.
    4. Do you recommend 802.1X Authentication to use for the Employee and Contractor? The Guest user  authentication as Open ?
    For internal users and vendors the best option by far is dot1x, almost all operating systems are capable of performing dot1x and the 1.1.1 MR has a piece now that can provision the supplicant for the users, by using scep to enroll certificates or configure peap settings.
    There is a feature within the guest portal that allows you to statically assign guests into endpoint group, that feature is called device registration web authentication. It seems like an open network but uses mac filtering to assign these devices to an endpoint without requiring users to enter any credentials. They are presented with an AUP page, once they accept their mac address is mapped to the endpoint group
    5. How can we ensure the Encryption of traffic from the Guest user to the NAD ( Network Access devices ) ?
    This may be a wireless question but I am sure the encryption is done using AES and using dot1x as the key management here is a brief background for this - http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a00807f42e9.shtml#L2
    You can also use the anyconnect client which can provide macsec which is layer 2 encryption for wired - http://www.cisco.com/en/US/prod/collateral/vpndevc/ps6032/ps6094/ps6120/qa_c67-622477_ns1049_Networking_Solutions_Q_and_A.html
    6. We are also looking for VDI  ( Citrix, VMware ) solution for the  client  ( both Employee and Guest ) , how ISE can play a role in  securing the VDI environment.
    For most thin clients you can perform dot1x authentication on the device itself, however that is something the manufacturer will have to support. This is a little gray for me.
    7. Is that any integration required  with Citrix or VMware. How the  VDI can be offered based on the User  role ( i.e. Employee, Contractor or Guest ), since Guest database is  available only with ISE, how the checks are made from the VDI  environment.
    IN ISE there is an identity sequence which can authenticate users in AD first, if the user is not found then it can look in the internal database.
    Our solution demands  MDM in the integrated  solution, As on today ISE cant be integrated with MDM. so what kind of  solution we can propose to have MDM and Cisco ISE .Do the clients now  enter the network should have already installed the MDM agent (or) any  other way of pushing the same to the Client.
    Today there is no integration between the devices, the last release time I heard was December for this feature. However it would be best to confirm with your Cisco Account rep on this issue.
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

Maybe you are looking for