Very basic design question of File Adapter

Hi Guys,
What is the utility of assigning System Name and System Interface names (XMB.SenderInterfaceNamespace, XMB.SenderInterfaceName, XMB.SenderBusinessName) while configuring the Inbound File Adapter?
What I am struggling to understand, that any particular inbound file adapter is already associated with one particular Sender Agreement and the message header picks up Sender System Name and Sender Interface name etc from this  Sender Agreement (from CPA Cache), but then why the above settings are required for File Adapter ?
Thanks

I think you have read the documentation for J2SE adapter.
The online help for the J2EE adapter is here:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm

Similar Messages

  • Some basic questions on File Adapter

    Hello all,
    I have some basic questions on XI and File Adapter and hope you can help me. Any answer is appreciated.
    1. Can I use NFS transport protocol to poll a file from a machine in the network, which is not the XI? Or do I have to use FTP instead?
    2. If I understand it correctly - when using the FTP-File Adapter, XI has the role of a ftp client. I have to run a ftp server on my distant machine. XI connects to FTP-Server and polls the file.
    Can it also be configured the other way round? The scenario I think of would be: FTP client installed on distant machine, which connects to FTP-Server(XI) and loads up a file. So XI would act as FTP Server.
    I know this works, if I install a ftp Server on the computer my XI runs on, and use the NFS-File Adapter to observe the folder. But I want to know, if I need a second, independant ftp server for this.
    3. And last but not least: When do I need the active ftp mode instead of passive?
    Thanx a lot for your answers!
    Ilona

    > Hello all,
    > I have some basic questions on XI and File Adapter
    > and hope you can help me. Any answer is appreciated.
    >
    >
    > 1. Can I use NFS transport protocol to poll a file
    > from a machine in the network, which is not the XI?
    <b>yes</b>
    > Or do I have to use FTP instead?
    >
    <b>also you can do it</b>
    > 2. If I understand it correctly - when using the
    > FTP-File Adapter, XI has the role of a ftp client. I
    > have to run a ftp server on my distant machine. XI
    > connects to FTP-Server and polls the file.
    > Can it also be configured the other way round? The
    > scenario I think of would be: FTP client installed on
    > distant machine, which connects to FTP-Server(XI) and
    > loads up a file. So XI would act as FTP Server.
    > I know this works, if I install a ftp Server on the
    > computer my XI runs on, and use the NFS-File Adapter
    > to observe the folder. But I want to know, if I need
    > a second, independant ftp server for this.
    >
    <b>XI cannot act as FTP server, but it is always a client. When XI is reading (File sender adpater) when XIis writing than it is File Receiver adapter</b>
    > 3. And last but not least: When do I need the active
    > ftp mode instead of passive?
    >
    <b>It depends on your firewall configuration. The best and the fastests is active mode but not always available.</b>
    > Thanx a lot for your answers!
    > Ilona

  • Basic question in File Adapter

    H all,
    I have an Inbound FileAdapter polling for incoming files in a particular directory , a Routing service and an Outbound file Adapter which writes this file to another directory .
    I have checked the Validate payload at Runtime box in the ESB Control.
    I was expecting that if I place a file with data which doesnot conform to the input schema of the inbound file adapter, it should throw an error. But I noticed that the inbound file adapter picked up the file from the directory and deleted it from the directory after reading. But I couldnot see the file in the output directory.Neither is it showing any instance in the ESB control.
    If I put a file with the contents conforming to the input schema , its working as expected . Also If I donot set any value to the output schema from the tranformation activity, it is showing 'Invalid payload error' in the ESB Control.
    Why is it happening like this? Is it the expected behaviour?
    Thanks

    Yes this catches out a few people. have a look at these notes
    http://www.oracle.com/technology/products/integration/adapters/pdf/Adapter_TN_004_Adapter_ErrorManagement.pdf
    http://web.deu.edu.tr/oracle/B14099_16/integrate.1012/b25307.pdf
    they are old but still work today. I couldn't find the upded versions.
    by default it writes the messages to the Oracle_Home\integration\orabpel\domains\domain_name\archive\jca\default_directory
    cheers
    James

  • Very Basic Functions Question

    Hi,
    apologies for this being a very basic question, but I rarely
    use Flash. About once a year, however, I am called upon to do some
    sort of (usually very simple) Flash-based project for the students
    I assist. This time it's a simple random slideshow.
    The setup is this:
    * I have a movieClip called 'slides_MC' containing all the
    slide photos, on consecutive frames.
    * This movieClip is placed inside another movieclip named
    slideshowRand_MC.
    This is given an instance name of topslide_mc, and faded up
    and down with alpha keyframes.
    The idea is that, when the slides mc is faded right down,
    some Actionscript causes the slides movie to jump to, and stop
    playing on a random frame, so random slides are faded up, then down
    again, then swapped.
    I need to apply some actionscript to particular keyframes so
    that the swap is performed at the correct time.
    This is my attempt at a reusable function to do the swapping.
    It's placed in a keyframe on the root timeline:
    // Go to and stop at random frame in slides movieclip
    function goRandom(mc) {
    // Number of slides in slides movieclip
    var slides = 22;
    // Random number between 1 and number of frames in slides
    movieclip
    var randFrame = Math.ceil(Math.random() * slides);
    mc.goToAndStop("slide_" & randFrame);
    This function is called from keyframes in slideshowRand_MC:
    _root.goRandom(this.slideshow_rand_mc.topslide_mc);
    I know this is really basic stuff, but can anyone tell me why
    this isn't working.
    I've tried adding a breakpoint in the goRandom function, but
    it doesn't look like it ever gets called.
    Any assistance very gratefully accepted.
    Alex

    Hi Bob, thanks for getting back to me.
    quote:
    Originally posted by:
    Bob Pierce
    "_root.goRandom(this.slideshow_rand_mc.topslide_mc);"
    There's a typo in that line - if it's in your code, it won't
    work!
    Ah, true. The typo actually happened when I was re-writing
    the code in post. The actual code in the movie is
    _root.goRandom(this.topslide_mc);
    This is attached to a keyframe of the container movie-clip
    containing the slides MC.
    I've put the fla file on our server.
    slideshow_random.fla.zip
    If you, or someone else could download it and help me find
    out what I'm doing wrong, I'd be ever-so grateful. I'm sure it's
    something really obvious. Without being very familiar with Flash
    and Actionscript, it's hard to explain things, and much easier to
    show you the actual Flash file.
    The 2 functions are on a keyframe on frame 1 of the root
    timeline. The 'goRandom' function is supposed to be called from a
    keyframe in 'slideshowRand_MC'. I envisaged calling the random
    pause function from another keyframe in the same movieclip.
    Thanks again,
    Alex

  • Very basic loop question

    Hi everyone, I&acute;m somewhat new with programming and I have a very basic loop problem, that I can&acute;t solve.
    I have 3 ArrayLists:
    A has the project information, ordered by client, identified by a projectId, clientId and businessId
    B has the client information, ordered by business, identified by a clientId and businessId
    C has the business information, identified by a businessId.
    I need to show all the projects of a client, then the client information of a certain business, and at last the business information in a format like this:
    A -- Project1
    A -- Project2
    A -- Project3
    B -- Client1
    A -- Project4
    A -- Project 5
    A -- Project 6
    B -- Client2
    C -- Business1
    A -- Project7
    A -- Project8
    B -- Client3
    A -- Project9
    B -- Client4
    C -- Business2
    How should I program my loops? I've been trying different ways but everytime it doesn't print what I want. Help, please!

    OK, here's my code:
    for(int bussCounter= 0; bussCounter< bussArray.size(); bussCounter++)
       ValueObject bussVO = bussArray.get(bussCounter);
       String bussId = bussVO.getBussId();
       for (int clieCounter = 0; clieCounter < clieArray.size(); clieCounter++)
          ValueObject clieVO = clieArray.get(clieCounter);
          String clieId = clieVO.getClieId();
          String bussIdClie = clieVO.getBussId();
             for (int projCounter = 0; projCounter < projArray.size(); projCounter++)
                ValueObject projVO = projArray.get(projCounter );
                String clieIdProj = projVO .getClieId();
                String bussIdProy = projVO .getBussd();
                if (clieIdProy == clieId && bussIdProy == BussIdClie)
                   out.println("<tr>");
                   out.println("<td>" + projVO .getBussId() + "</td>");
                   out.println("<td>" + projVO .getClieId() + "</td>");
                   out.println("<td>" + projVO .getProjId() + "</td>");
                  out.println("<td>" + projVO .getTotal() + "</td>");
                  out.println("</tr>");
              if (bussIdClie == bussId)
                 out.println("<tr>");
                 out.println("<td>" + clieVO .getBussId() + "</td>");
                 out.println("<td>" + clieVO .getClieId() + "</td>");
                 out.println("<td>" + clieVO .getTotal() + "</td>");
                 out.println("</tr>");
       out.println("<tr>");
       out.println("<td>" + bussVO .getBussId() + "</td>");
       out.println("<td>" + projVO .getTotal() + "</td>");
       out.println("</tr>");
    }

  • Very Basic Flash question

    I apologize for this, but I can't seem to figure out this
    very basic function:
    I select a certian number of frames and I'd like to see at a
    glance how many frames I have selected. if I select 42 frames is
    there somewhere I can look that tells me I have 42 frames selected?
    Thanks,
    D.

    Quickest way to do this is to select the amount of frames you
    want in the timeline then hit F6 on your keyboard to turn them all
    into keyframes. Now if you look at the toolbar below it (where the
    frames per second(fps), onion skinning, etc) you will see the
    Current Frame displayed.
    Undo to get rid of the keyframes

  • Very basic Balance question

    Hi, as I said in the title, this is very basic. How can I set the pan on a stereo track to 9:15 or anything other than full left/right?
    Thank you.

    Thanks. Let me see if you got it right. When I have a stereo track and I move the pan knob to left, at at 9 o'clock, is the right channel moving in the same exact opposite direction (:15) so I have a narrower stereo panning?
    Or to do this I need what Bee Jay said?
    Thanks.

  • Very Basic actionscript question

    Hi,
    This is very basic but for some reason cant get it to work.
    Basically I have a movie that plays and at the end I have a button that comes on screen but once the button stops I want the user to press the button then it goes to the url.
    I have
    stop() {
    on (release) {
            getURL("http://google.co.uk","_self","blank");
    but this doesnt work.
    Thankyou for any help.

    I have now sorted it, I had my movie on actionscript 3 and needed to put the url code onto the actual button.

  • Very basic compiling question: multiple c files

    Hi,
    I've been playing with alchemy for a few days, and hit a road block. I'm sure there is an easy answer, but I can't find it...
    I have a .c file "alchemy_project.c" that lets me call 3 functions from actionscript. I have the basic main() function that sets up the functions and calls
    AS3_LibInit(result);
    It is working well. However, I want to add another c file "support_functions.c" with a function I can call from "alchemy_project.c".
    int testFunction(){
         int i;
         i = 2;
         return i;
    I made a header file "support_functions.h":
    int testFunction();
    I included this header in "alchemy_project.c" by placing it after my AS3.h include:
    #include "AS3.h"
    #include "support_functions.h"
    I compile with:
    alc-on
    gcc alchemy_project.c support_functions.c -Wall -swc alchemy_project.swc
    When I run my flash file, it gives:
    Undefined sym: _main
    If I add a main function to support_functions.c:
    int main(){
        return 0;
    I get:
    [object AlchemyExit]
    Any tips?
    Thanks for the help!

    This helped me a little bit:
    http://forums.adobe.com/thread/465926
    I now compile the 2 c files with:
    gcc -c file1.c -o file1.o
    gcc -c file2.c -o file2.o
    then link them with
    gcc file1.o file2.o file3.o -O3 -Wall -swc --combine lib.swc
    I don't get any errors about main(), but actionscript gives me the error:
    Undefined sym: _testFunction
    when alchemy_project.c tries to call the testFunction() function in support_functions.c

  • Very Basic Server Question

    I have a laptop and a mini, and I work on both and have difficulty keeping track of where documents are, which is the latest version, etc. What I'd like is to have is a server on which all the documents are kept and where the drive on the server shows up as a drive on the desktop of the laptop and mini (via wifi). Thus, I would always use the same files on the server via wifi, no matter which computer I'm using.
    Does the Apple server provide this feature? If so, is the connection good enough that there won't be noticeable lag?

    Hi
    +"Does the Apple server provide this feature?"+
    Yes. You don't necessarily require Server OS as any client OS (regardless of platform) can provide simple file sharing. Peer-to-Peer File Sharing is built-into OSX and Windows. All you have to do is decide not to use that designated computer as a workstation. If there are only two workstations OSX Server could be overkill? Perhaps a second-hand G5 with a couple of 1TB drives and 10.5 Client OS would be a cheaper, better option? Other things you need to consider is some form or redundancy and backup. What plans do you have in place if the 'server' drives fails? Additionally do you have the necessary skill set to deploy and maintain a server and its environment?
    Perhaps a NAS drive could be a better, cheaper, easier solution for you?
    +". . . is the connection good enough that there won't be noticeable lag?"+
    Only you can really answer the question. Mileage will vary depending on speed and bandwidth of the network, amount of data in terms of quantity, file sizes etc and frequency of access amongst other things.
    Tony

  • Very Basic Photo Organizing/Printing File Information?

    I have a Gateway Computer, XP Home, Photoshop Elements 1. Is there any way, with what I've got, to copy the "Properties" Summary information for each photo to a paper list? For example, I have 50 photos, each photo would be listed and it's Summary information after, on this ongoing condensed list which could be copied to paper. I also have Nikon View. Is there anyway I could copy the IPTC info for each picture to an ongoing paper list? If not, could Elements 3 or 4 Photo Organizer do this? Could Adobe Photoshop Album do it? (Sorry for this second question.) I'm also not familiar with how these organizing programs work in general: You can save image files, of all the photos on your hard drive to these programs? The program can then generate thumbnails of all these pictures? You can then record and save individual photo information for each picture to the program? I could then delete all the image files (saving their thumbnail copies) from the organizing program to save on space? (I could then save all my image files on hard drive to CD then delete them to save space.) Then let's say you wanted to see all of the Halloween Pumpkin photos you had ever taken. By using keywords, or tags, or something like this you can tell the program to bring up all these pumpkin photo thumbnails and their adjoining information? So you would know on which CD to find the exact pumpkin photo you wanted. Thank you so much for your help. Thank You

    > Using Adobe Photoshop Album can you load pictures into Adobe Photoshop Album from pictures already on your hard drive?
    Yes. That is a normal thing to do.
    > I do not want to transfer pictures into Album through my digital camera.
    Fair enough. It's very convenient for that, but it's your choice.
    > Do all the photo files contained within Adobe Photoshop Album have to be on your hard drive for it to work?
    No, it can catalog images stored on optical media.
    > Or after you install photos into the Album can you just delete these photo files from your hard drive and Adobe Photoshop Album, keeping just the thumbnails and info in Adobe Photoshop Album program so it can still locate photos for you by thumbnails and their information?
    If you delete from your hard drive, you have lost your images. This question doesn't make much sense to me. You can move images onto a CD/DVD and just keep a proxy on the hard drive.
    BTW, personally, I don't want the bother or unreliability of optical media on an everyday basis. Hard drives are dirt cheap and tend to be very reliable and are much more convenient.

  • Basic Design Question - Firewall Router segment

    I'm at a new place and have to re-do the current lan.  Small office, 80-100 users. Existing setup is flat network, no QoS, no VLANs.  I have already replaced an older PIX with a new ASA (5525x) and added a DMZ.  
    I am currently trying to draw up a proposed design which currently will be single firewall, multiple VLans(user, server, voice, guest).  My question is regarding the link between core router(L3 switch, whatever) and firewall.   I'm thinking the correct setup is to have a seperate /30 subnet on the interfaces between the firewall and router as below, and then router will just have a default route of 0.0.0.0 0.0.0.0 10.1.100.2     Is this correct? 
    Internet-------Firewall-(10.1.100.2/30)----------------------------(10.1.100.1/30) --Router ----(10.1.1.1/24, 10.1.2.1/24, 10.1.3.1/24, etc)                 
    Thanks,

    Your design is good. But as for the subnet between the core (router or L3 switch - switch preffered) and edge FW, i suggest something a little larger than a /30. Like a /28. You may want to add a standby FW in a few months or years, or a new WAN connection to that 'demarc' subnet' at some point. It's good practice to leave some romo for growth. Even if you dont forsee it right now.
    ==========================
    http://www.rConfig.com 
    A free, open source network device configuration management tool, customizable to your needs!
    - Always vote on an answer if you found it helpful

  • Web Service With Dynamic URL (Very Basic Conceptual Question)

    Hi everyone,
    I would like to employ JAX-WS to generate and publish a web service along with a web-based client which uses the service. The problem is: I want to deliver both the server (with its service) and the client to a customer, who will install the server on an internal machine, and who will have to configure the client to look for the web service at the IP of that internal machine, ideally by just putting the IP into some configuration setting. Both the services' path (on the server) as well as the services remain constant.
    From everything I have found so far, it appears as if one fixes the service's IP during compilation, i.e., when generating the WSDL and stubs using wsgen/wsimport. I guess that's fine when the server remains with me & a fixed IP, but doesn't this approach break down as soon as you need some flexibility in the server's IP, as, e.g., in my above scenario? I guess I am missing something, but unfortunately all the documentation I have found so far either neglects this issue or comes up with rather complex solutions indeed. - Or would one not use SOAP+WSDL in the above scenario in the first place? Any other best practices?
    I'd very grateful for any hints,
    Cheers
    equitone
    Message was edited by:
    Equitone

    Hi,
    thanks for your reply. Of course, I agree I could alter the generated code, but, as you say, I would not want to do that, since it will make automatic builds and deployment rather complicated.
    I guess my expectations on the "flexibility"/"design" of some of the generated artifacts is just a bit skewed, and I'll have to find a compromise between my expectations and the Java 6 way of web services. For instance, I also find it somewhat annoying that wsgen will apparently only generate the service against an implementing class, not an interface. E.g., when I have the following web service interface MyService and an implementing class MyDummyService:
    @WebService
    public interface MyService
        @WebMethod
        public String getString();
    @WebService(endpointInterface = "com....MyService")
    public class MyDummyService implements MyService {
       public String getString() {
          return "Just a dummy.";
    }Then the service in the WSDL specifies its Port as "MyDummyServicePort", so if I ever change the implementation---without actually changing the (web service) interface, I will also have to regenerate all client stubs. I would have hoped that wsgen's "service" option would help in this regard, but apparently it doesn't. Unfortunately, the documentation on the whole issue is in a pitiful state, IMHO.
    Cheers
    Equitone

  • Very basic code questions

    Hi,
    I'm pretty new to dealing with this so please bare with me. I come from a PHP background so I got alot to learn here ;) Anyway, to my question then. I've got a book that im reading and following examples from but also try to evolve those examples into something more, to try and learn even more. I haven't come very far yet but I've stumbled across a little thing that I woulld like some help with. I'll post the complete code just in case.
    import java.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.wireless.messaging.*;
    import javax.microedition.io.*;
    public class quiz
         extends MIDlet
         implements CommandListener {
      private List mList, longList;
      private Command mExitCommand, mNextCommand, longExitCommand, longNextCommand;
      public quiz() {
        String[] stringElements = { " Game 1", " Game 2", " Game 3", " Game 4", " Game 5", " Game 6", " Game 7", " Game 8" };
        Image[] imageElements = { loadImage("/1.png"),
         loadImage("/2.png"),
         loadImage("/3.png"),
         loadImage("/4.png"),      
         loadImage("/5.png"),
         loadImage("/6.png"),
         loadImage("/7.png"),
         loadImage("/8.png") };
        mList = new List("Quiz v1.0", List.IMPLICIT, stringElements, imageElements);
        mNextCommand = new Command("Choose", Command.SCREEN, 0);
        mExitCommand = new Command("Exit", Command.EXIT, 0);
        mList.addCommand(mNextCommand);
        mList.addCommand(mExitCommand);
        mList.setCommandListener(this);
      void HowMany() {
        String[] stringElements = { " 1 question", " 2 questions", " 3 questions", " 4 questions", " 5 questions" };
        longList = new List("Quiz v1.0", List.EXCLUSIVE, stringElements, null);
        longNextCommand = new Command("V�lj", Command.SCREEN, 0);
        longExitCommand = new Command("Avsluta", Command.EXIT, 0);
        longList.addCommand(longNextCommand);
        longList.addCommand(longExitCommand);
        longList.setCommandListener(this);
      public void startApp() {
        Display.getDisplay(this).setCurrent(mList);
      public void commandAction(Command c, Displayable s) {
        if (c == mNextCommand || c == List.SELECT_COMMAND) {
          int index = mList.getSelectedIndex();
         if ( mList.getString(index) == " Game 1") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 1 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 2") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 2 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 3") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 3 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 4") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 4 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 5") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 5 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 6") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 6 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 7") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 7 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
         if ( mList.getString(index) == " Game 8") {
              HowMany();
              Alert alert = new Alert("Your Choice", "Your choice: Game 8 with X questions.", null, AlertType.INFO);
              Display.getDisplay(this).setCurrent(alert, mList);
        else if (c == mExitCommand)
         notifyDestroyed();
      public void pauseApp() {}
      public void destroyApp(boolean unconditional) {}
      private Image loadImage(String name) {
        Image image = null;
        try {
         image = Image.createImage(name);
        catch (IOException ioe) {
          System.out.println(ioe);
      return image;
    }I know that the IF parts pretty much suck, will improve those later on (or when my book does hehe) so that's not the issue. Anyways, I've included a second choice for the user which is what I call "HowMany", so first the user gets to choose between a few options (Game 1, Game 2, etc etc) and then the idea is for the user to choose how many questions, I get to that menu allright but when i try to choose that option nothing happens. I need to include some kind of listener or something to make something actually happen right? If someone would be so nice to show me how it's done it would be just super.
    Thanks in advance!

    I get to that menu allright but when i try to choose that option nothing happens.The form of javax.microedition.lcdui.Display.setCurrent you use ispublic void setCurrent(Alert alert, Displayable nextDisplayable)Which List do you want to be the nextDisplayable? mList or longList?
    Once that works, you will need to add suitable condition checking in commandAction(...) for doing stuff when the Command-s added to longList are selected.
    db

  • Basic design questions

    I want to design an icon for an Android app in CS5, and there are lots of design guidelines that need to be followed, and there are a couple I am unclear of:
    1.) they have to be caricatural in nature - how would you interpret this? what does this mean?
    2.) with very little perspective - how would you interpret this? does this mean they need to be close to flat?
    Sorry, English is not my first language.
    Thanks for your input.

    wb,
    Caricaturial means that they should create a certain impression by enhancing certain features instead of being a natural/neutral photographlike appearance, likes caricatures/cartoons/mangas/satirical drawings.
    Very little perspective does mean close to flat, once again a simplified representation instead of natural/neutral photographlike.

Maybe you are looking for