In OSB file protocol, trying to get the archived file name in proxy service

Hi,
  I have a requirement that i need to process the archived file of file protocol,  with java callout in proxy service.
I am able to get the file name which is reading with 'tokenize($inbound/ctx:transport/ctx:request/tp:headers/file:fileName,"\\")[last()]' , but this file is getting archived to archive folder. I want to pass the archive file name as input to the Java callout.
Please let me know if  this can achieve in OSB proxy or any other options.
Note : I am reading a xlsx file in the file protocol

If you're using pass by reference option in the file transport, I guess the archive filename can be obtained from $body/ctx:binary-content/@ref. Try it out.

Similar Messages

  • How to set/get the archive file attribute?

    I am programing a (freeware!) ftp client and need to know, how to set/get the archive attribute of a local file. I was searching through whole the i-net - nothing at all!
    please help me!!

    Hi,
    Since not all operating systems support the archive attribute, this ain't included in the JDK.
    If you're using Microsoft Foundation Classes for Java, then you can use File.getAttributes(String path) and check whether the result equals FileAttribute.ARCHIVE.
    For setting the attribute, you can use
    File.setAttributes(String path, FileAttribute.ARCHIVE)
    Of course this is all Microsoft-specific stuff.
    Hope this helps,
    Kurt.

  • Trying to get the input parameter of a web service fxn based on table value

    Hello--
    I am new to ADF and Jdev 11g (I am a forms developer). I had created a web service from a pl/sql stored db package. I can successfully execute a function with an input parameter from ADF Faces.
    Instead of the input parameter being enterable by the user, I would like it to be based on a selected ADF table column value. How would I correlate the selected row column value as the function input parameter?
    I played with an ADF output text based on the ADF table column with the PartialTriggers value set to the ADF table...which updates the output text based on the column selected. Do I use some sort of partial trigger on the input parameter?
    From a forms point of view, I am looking for the "Copy Value from Item" property :)

    Hi,
    Not sure if this would help you.
    But if your table is bound to a ViewObject, it will be easier to get the current selection.
    Supose your table is bound to iterator1.
    In your backBean code:
    DCBindingContainer dcBindings = (DCBindingContainer)getBindings();
    DCIteratorBinding iterator =dcBindings.findIteratorBinding("iterator1");
    Row row = iterator.getCurrentRow();
    Object selectedValue = row.getAttarbute(<value of the column you are looking for>);
    public BindingContainer getBindings() throws Exception {
    try {
    if (this.bindings == null) {
    FacesContext fc = FacesContext.getCurrentInstance();
    this.bindings =
    (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    "#{bindings}",
    BindingContainer.class);
    return this.bindings;
    } catch (Exception ex) {
    displayMessage("Error occurred. Please contact your IT Adminstrator.");
    return this.bindings;
    Let me know if this helps.
    -Makrand

  • Where  i will get the WSDL file

    Dear All,
    I want to get the WSDL from the server,
    Actually my requirement is getting the current conversion rate from this site http://www.oanda.com
    For this compulsory i want the WSDL file.
    so i will get the WSDL file
    where i am getting
    from my local server
    or from this site http://www.oanda.com

    Hi Anusha,
    You can get it fron oanda.com, from local server you can't get anything.
    Regards,
    Reetesh Sharma

  • Transaction code to see the archive file logical path

    Hello,
    Some data is archived.
    In which transaction we can get the archive file logical path.
    ( Just like transaction al11 for sap directories )
    Thanks..
    Vijay

    Hi Vijay,
    Check transaction FILE or use FM FILE_GET_NAME_USING_PATH or FILE_GET_NAME_AND_LOGICAL_PATH
    to retrieve the path.
    Also check program RSFILENA and table PATH.
    Thanks
    Lakshman
    Message was edited by: Lakshman Tandra
    Message was edited by: Lakshman Tandra
    Message was edited by: Lakshman Tandra

  • Getting the NT user name (Windows user name)

    Hello,
    I am trying to get the windows user name in ABAP program but
    I can not find any useful function.
    Thanks in advance,
    Eitan Iluzz.

    you can use the following code to get the windows logged on user
    data: username type string .
    CALL METHOD cl_gui_frontend_services=>get_user_name
      CHANGING
        user_name            = username
      EXCEPTIONS
        CNTL_ERROR           = 1
        ERROR_NO_GUI         = 2
        NOT_SUPPORTED_BY_GUI = 3
        others               = 4 .
        CALL METHOD cl_gui_cfw=>flush
          EXCEPTIONS
            CNTL_SYSTEM_ERROR = 1
            CNTL_ERROR        = 2
            others            = 3 .

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

  • Whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    whenever i try to download a rather large file i continue to get the "could not read source file" error. Tried new profile, uninstalling and looking for the compreg.dat file to delete nothing is working. Please help

    Did you reinstall CS3 after CC?
    For that matter, doing an in-place upgrade on the OS is always a gamble with Adobe programs. Reinstalling all the versions you need, in order, would probably solve your problem.
    And you shouldn't need to save as IDML after opening the .inx in CC.

  • I moved my FCP events and projects folder onto my external hard drive and now everything is gone on FCP.  When I tried to reload those folders onto FCP nothing happened.  I still get the missing files image.

    I moved my FCP events and projects folder onto my external hard drive and now everything is gone on FCP.  When I tried to reload those folders onto FCP nothing happened.  I still get the missing files image.  When I try to import the folders manually something pops up that says it is incompatable.  It is possible to retrieve everything that was lost?

    "When I tried to reload those folders onto FCP nothing happened"
    Brownale6 how can  u reload folder in to FCP.
    As you said folders are moved to external disk but have you checked it should be like this
    For Event
    external disk>Final Cut Events>your event folder.  
    For project
    external disk>Final Cut Projects>your project folder.

  • I am trying to get the free trial to cc but it said there seems to be a problem with the files (Error code: 205)

    I am trying to get the free trial to cc but it said there seems to be a problem with the files (Error code: 205) please help

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • We are trying to close caption our telecasts. We get the captioning files done out of house, pull them back into Premiere, and then embed them. The TV station requires .mxf files with the file embedded as a 708 stream, to play on their Grass Valley K2 vid

    We are trying to close caption our telecasts. We get the captioning files done out of house, pull them back into Premiere, and then embed them. The TV station requires .mxf files with the file embedded as a 708 stream, to play on their Grass Valley K2 video servers. We have tried multiple scenarios and cannot get the captions to display.
    Whenever I export, it becomes a 608 stream, and will not play on their servers.

    Hello there,
    I'm sorry to hear you are having a problem. Thank you for taking the time to post here.
    Here are some questions:
    1. What version of PPRO are you using? MAC or WIN?
    2. Is the caption data you are embedding a 708 caption stream?
    3. When you re-import the MXF with captioning embedded back into PPRO, does it show 708 closed captions in PPRO?
    PPRO will embed 708 caption streams to MXF -- I just did this, re-imported the embedded MXF to PPRO, and I see the captions in the MXF.
    If you could share one of your files with me, I could take a look.
    Take care and thanks again,
    CM

  • Heey i bought an iphone 3gs about 2-3 months ago (used) today i blanked off the phone itself and then tried to get the newest update cuz i wasnt able to before so i did and now im locked out and it says sim failure invalid sim i can even get into it :(

    heey i bought an iphone 3gs about 2-3 months ago (used) was in mint condition well taken care of not even a scratch as soon as i got home i tried syncing it to my computer but didnt work it didnt even sync or notice my iphone software .. so i went to my friends and synced it there it has been working for music but videos wont work? but i didnt care  and then the pop up that says update so we would click it wait and it wouldnt work ever since ive had it so i left it like that so i went to my friend today i blanked it off the phone itself and then tried to get the newest update cuz i wasnt able to before so i did and now im locked out and it says sim failure invalid sim i can even get into it PLEASE HELP and cant get a new sim at the moment or take it into the apple store because i live about an hour and a half away from the city and rarley go to it please help me !!!!!!!!!!!!!!

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3, The Apps have gone onto the 4 but its making me re-start everything from level 1?

    Ive just got a new iPhone4 and I am trying to get the App's ie games from my iPhone3 onto the 4 and retain the same levels that I have reached on the 3,
    The Apps have gone onto the 4 but its making me re-start everything from level 1?
    Ive paid $$ for the games and then more $$ within the games via iTunes for in game purchases and desperatly want the games on the 4 with the levels that I have reached on the 3!
    Can anyone help!! Please!!!! My Smurfs and Animals are starving Hahahaha

    Mate, it's good to hear that you have gotten the iPhone 4 but sorry to burst your bubbles. Not all games can have the "saved" data ported over.
    Normally when you save a game in iPhone, the memory used is in the flash memory of the device. Those that can be ported over, reason is due to the data being saved over the air and when you logged in on a new device, it recognises you via the userID.
    Maybe you can try to backup your iPhone 3, and restore the file onto your iPhone 4. Not too sure if that would brick your phone though.

  • TS2570 Hi, MacBook Pro & Snow Leopard- startup probs. I have tried repairing with the disk utility, resetting PRAM, booting in safe mode, and finally trying to get to archive&install the o/s, but it cannot find the destination volume. IsAn erase the only

    (10.6.8 Intel core duo 2009)
    Hi,
    I have a grey screen and grey rotating wheel startup probs. I have tried repairing with the disk utility, resetting PRAM, booting in safe mode (which gave a subset of the errors that 'disk repair' did- namely- 'invalid sibling link,invalid record count, invalid node structure, invalid key length)  and finally trying to get to archive&install the o/s, but it cannot find the destination volume. Is an erase the only option? PS I have backed up most files individually, but my daughter did not back up any from her user account. Any help would be appreciated. J

    Gray, Blue or White screen at boot, w/spinner/progress bar
    Why is my computer slow?
    ..Step by Step to fix your Mac
    https://discussions.apple.com/community/notebooks/macbook_pro?view=documents

Maybe you are looking for

  • Calendar not updating in Outlook 2010 but updating on OWA (Ex 2010 with Outlook 2010)

    Hi,  A few users are having this problem including me. There is a room Calendar which was working fine but not anymore. Here what is happening: User A cannot see the updates in Calendar, if someone has meeting user A cannot see it. User A can only se

  • My ipad is stuck on safari

    my ipad is stuck on safari only

  • 875P Neo + ATA133 issue

    Okay, so the spec says this thing only supports ATA 66 and ATA 100. However, i have a Maxtor ATA-133 disk, absent-mindedly threw it in, and it worked. Is this a fluke? Are the specs wrong? Basically, "what gives?".

  • Mac Pro transfer everything to a new (same) box

    Hi there, I own a Mac Pro 2009 2.26Ghz (8-core). Due to some scratches etc and as time goes by with use the cover case wores a bit off. Is it possible to transfer everything to a new Mac Pro box? Is it easy? Just a thought... Thanks and looking forwa

  • Replace/manage color

    I hope someone can help me. I have a document with an imported logo. The logo has one color, supposed to be PMS 267-C. The document has two colors of text, PMS 267-C and black. Can I convert process to spot in InDesign for the document so that it pri