Need to get file name and directory back from file adapter - WRITE

I am using the file adapter to write a file. I want to log the file name of the file we just created. Since we use a precise timestamp in the file name, I can't accurately guess.
I have an invoke in my BPEL process to the file adapter. My first try was to assign the jca.file.FileName property to a variable, but it never comes back. I looked around and saw plenty of ways to SET the file name for a write and GET the file name for a read, but no GET file name for WRITE.
Anyone have a solution?
Thanks in advance!

I think I got your point... You can tell FileAdapter the filename to write, but if you don't then FileAdapter can not tell you the filename that it wrote... I think it is pretty possible Oracle didn't implement the latter, as the write operation is probably asynchronous and the filename is calculated later on...
If what you want is just log, you may achieve your requirement by increasing verbosity on Adapter logs... Have a look at the link bellow...
http://docs.oracle.com/cd/E15586_01/integration.1111/e10226/ad_mon.htm#CJHHBBID
Otherwise, the solution for you will be to calculate filename yourself, and that will be a little bit of reinventing the wheel... But at least you will know the filename...
Cheers,
Vlad

Similar Messages

  • I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    Sorry, but without a backup in iCloud or iTunes on your computer, your data is gone and can't be restored anymore.

  • Getting host name and port number from application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Getting host name and port number from an application

    Does anyone know how I would be able to get the host name
    and port number from an application launched by java webstart ?
    This is the host and port of the URL that this application is launched from.

    A couple of suggestions:
    -The note is about 6.40. Doesn't fit for your server
    -Don't!
    -Reinstall!
    Regards,
    Benny

  • Need to get the name and the Site ID of a specific user using SharePoint Webservices

    Hi,
    I need to get the User's name by passing the Login Name using SharePoint OOB Web Services.
    I need to pass DOMAIN\\Login ID and get the User's Info i.e. Name and the ID of a particular site.
    I'm trying to use GetuserInfo:
    $(document).ready(function () {
    var soapEnv = "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"+
    "<soap:Body>"+
    "<GetUserInfo xmlns=\"http://schemas.microsoft.com/sharepoint/soap/directory/\">"+
    "<userLoginName>DOMAIN\\Login ID</userLoginName>"+
    "</GetUserInfo>"+
    "</soap:Body>"+
    "</soap:Envelope>";
    $.ajax({
    url: "<http://SiteURL>/_vti_bin/usergroup.asmx",
    beforeSend: function (xhr) {
    xhr.setRequestHeader("SOAPAction",
    "http://schemas.microsoft.com/sharepoint/soap/directory/GetUserInfo");
    type: "POST",
    dataType: "xml",
    data: soapEnv,
    complete: processResult,
    contentType: "text/xml; charset=\"utf-8\""
    function processResult(xData, status) {
    alert("Status : " + status);
    alert(xData.responseText);
    console.log(xData.responseText);
    But i get error stating that User does not exist.
    Appreciate all your help.
    Regards,
    Sachin

    Hi Sachin,
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    var url ="http://sharepoint/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='contoso\\administrator'";
    $.ajax({
    url: url,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    var results=data.d.UserProfileProperties.results;
    error: function (data) {
    </script>
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Get Machine Name and IP Address from Air Flex App

    New to Air..... Is there a way to get the name of the machine
    and the ip address for the client running the Air application? Not
    that this matters, but the applcation would be a Flex 3 application
    built specifically to be deployed to the Air runtime. I need to be
    able to have the Air/Flex application know what the client's
    machine name and ip address is. Can this be done?
    Thanks

    Hi Frank,
    Well I am using Developer Suite 10g Release (10.1.2.0.2) ..I've gone thru the link what you have sent me and noticed that whatever updations of conf file or classpath its already there so i guess needn't to modify cause I think my release 10.1.2.0.2 has did already as webutils been bundled with it.
    Well What i did is to double click on ATTACH LIBRARY and browse the location to find webutil.pll and finally attached it...even though its showing me all the procedures like clientinfo and others...
    on my block's canvas I've put a button and used this trigger to get client info function like this.
    when-button-pressed trigger of INFOBUTTON
    DECLARE
    o_clientinfo varchar2(50) := Webutil_clientinfo.GET_HOST_NAME ;
    begin
    message(o_clientinfo);
    end;
    but when I am trying to open this form its simply not showing up..strange thing is that there is no error as well...so plz kindly guide me how to get clientinfo hostname or ipaddress using that library function.
    thanks

  • TS4036 I recently had to send my iphone off for repair and when it came back they had restored it t factory settings. Is there any way I can get my music and photos back from icloud ??

    I recently had to send my iphone off for repair and when I have got it back it has been reset to factory settings. Can I get my phonos,music etc back through icoulds ?

    If your backup is incomplete you won't be able to use it.  Do you have any backups on your computer?  (You can check by opening iTunes and going to iTunes>Preferences>Devices (Edit>Preferences>Devices on a PC).  That will list any available backups on your computer.

  • How to I get my photos and apps back from iCloud?

    Yesterday I had to get a replacement iPhone 4S.  I didn't have time to wait for my photos and apps to restore from iCloud and I want to do it now.  Everything is saying "waiting" but there are no status bars on anything and after 1 hour, nothing has restored.

    If you no longer have the phone or have any Backup of it at all, you can re-download your apps and your content from the iTunes Store by logging into your Apple ID at settings> iTunes & App Store. Unfortunately you can no longer recover the data that was associated with those apps.
    So far as your photos go, you can recover any photos that were in photo stream and taken less than 30 days ago by logging in with your Apple ID to settings> iCloud> photos. Unfortunately you will be unable to recover any photos from your camera roll.

  • How can i get my photos and videos back after backing up from my 2nd generation ipod into my 5th generation ipod? I really need those photos but i dont know how.

    I downloaded the new itunes. So, i plugged in my 5th generation ipod and when i plugged it in, it asked me if i want to set it as new ipod or back up from the 2nd generation ipod touch that i plugged in before, i accidently clicked on the back up from before so it when its done, it looked like my 2nd gen. ipod and i dont like it. All my photos and videos from 5th gen. Ipod were all gone and there are some pictures that i really need as soon as possible. Is there a way i can i can get those photos and videos back? I really need them. :(

    Did you fail to import them to your computer?
    If so, then they are gone.

  • Dynamic File Name and Directory File Sender Adapter

    Hello gurus,
    I have a question: Is there any way to make the File Name, and Directory Dynamic of a File Sender Communication Channel ?
    For example, taking it as a parameter from a Web Service Request.. (I mean, the only way with this would be a ccBPM). I don't exactly know if there is a way, I just thought about this.
    Please tell me if someone could make Dynamic these 2 parameters while picking a file.
    Regards,
      Juan

    oops,thought i was replying to the PgP question:)
    I think you should be able to achieve this via adapter module but i m not really sure how exactly it will be done .
    Thanks
    Aamir
    Edited by: Aamir Suhail on Jul 28, 2009 1:42 PM

  • How do I get my devices to stop needing me to sign out and sign back into my account to load my in the cloud purchases?  (big hassle)

    How do I get my devices to stop needing me to sign out and sign back into my account to load my in the cloud purchases?  (big hassle)

    What account is it asking to be logged into?
    Just what are you doing?
    iCloud?
    iTunes/App Store?
    Try
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Then try again
    Reset the password:
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    - Backup and then restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • I accidently hit the restoe button! Is there anyway i can get my apps and music back? I need help thanks

    I accidently hit the restoe button! Is there anyway i can get my apps and music back! I need help thanks:)

    Try restoring the iPod from backup. See the restoring section of the following:
    iTunes: Backing up, updating, and restoring your iPhone, iPad, or iPod touch software
    If the apps and music are in your itunes library just sync them back to the iPod if necessary.  If the apps and music are not in your iTunes library see the following.  Not all options are available if you are outside the USA and do not have the latest iOS and iTunes.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How do I get my photos and music back into new version iTunes from my iPad?

    I have the new version of iTunes (11 0 2 26) for Windows which installed over my old copy. I see none of my music etc even after it claims to have synced and backed up. How do I get my photos and music back into iTunes from my iPad? It syncs OK with calendar and contacts from Outlook and I can force copying of apps and books but why does it not show music and photos in the iTunes library? help please.
    David

    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping.  Note that in iTunes 11 an "empty" library may show your past purchases with links to stream or download them.
    In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    Alternatively, depending on exactly when and why the library went missing, there may be a more recent .tmp file in the main iTunes folder that can be renamed as iTunes Library.itl to restore the library to a recent state.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    Should you be in the unfortunate position where you are no longer able to access your original library, or a backup of it, then see Recover your iTunes library from your iPod or iOS device.
    tt2

  • LAN Networking / UUID error - "You may need to enter the name and password"

    I'm having an issue with networking via ethernet cable. I'm connecting to Windows Vista via ethernet from my macbook pro.
    Everything was going hunky dory until today when I connected and tried to copy a folder over from my desktop to a folder on my vista machine.
    The error is a three tier one, as follows:
    1. +"You may need to enter the name and password for an administrator on the computer to change the item name "..." - stop or continue"+
    2. +"The item "..." contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?" - stop or continue+
    3. +"The operation cannot be completed because you do not have sufficient privileges for some of the items."+
    This happens with all files and folders that I try to transfer over. I have full permissions on both ends to do this and the folders have full permissions.
    I've done a bit of trawling and have found out that if you goto: system prefs - accounts (click unlock) - right click on the user in question - advanced options, you can click on the "create new" button under UUID and create a new UUID digit, then restart. This works!!!!... But...
    ...it only works for a little while. After transferring a few folders or files accross, it comes up with the three tiered warning: "you may need to enter the name and... etc etc."
    This is really annoying.
    I've found my initial answers on this thread: http://discussions.apple.com/thread.jspa?threadID=1823835&tstart=45, but this issue seems to go one step further by constantly not allowing me access
    Has anyone got any thoughts about what I can do? I've also tried running applejack on startup, but this doens't work either...

    Actually I get some other errors as well:
    "You may need to enter the name and password..."
    Then I click continue...
    "The item "filename" contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?"
    I click continue...
    "The operation cannot be completed because you do not have sufficient privileges for some of the items."
    I am copying a text file made from textedit. I have logged into the shared drive on my iMac. I get the same errors coying to my own user folder. Same account on both machines.
    But it does copy a blank version of the file to the drive and adds the .txt extension to it. Then I can delete it from the share.

  • "You may need to enter the name and password for an administrator"

    I am suddenly getting this message when I try to copy a file from my new Macbookpro to my Powerbook running 10.4.9.
    "You may need to enter the name and password for an administrator on this computer to change the item named "file i am trying to transfer". stop continue
    I hit continue and get the error message: "The item "that I am transferring" contains one or more items you do not have permission to read. Do you want to copy the items you are allowed to read?
    I say continue and get the error: "The operation cannot be completed because you do not have sufficient priveleges for some of the items."
    My network was working fine until today. I can copy fine to all other computers on my network. But not this one.
    If I initiate a transfer from the Powerbook, everything works fine.
    Ideas?

    I experience the exact issue between a macbook pro and an iMac.
    I can access the files locally on my macbook, copy them on usb-stick, etc.
    but ... when I try to copy the files to my iMac ... it fails with the sequence of questions you mentioned.
    However!
    I can copy whatever I like from my macbook if I use my wifes account.
    So...
    Imho there is a problem when the SAME account is used on both systems.
    In my case, I copied my account from the macbook to the (new) iMac.
    Mac OS X seems to be confused when the same accounts are used.
    Does this makes sense?
    All help welcome.
    Luc

Maybe you are looking for

  • IMovie sound problem - a solution discovery

    After downloading a video in iMovie and completing all the processes steps that I wanted to include, I tried to burn this project in iDVD. A problem arose with the sound when I played the iDVD preview. The sound was grabbled and distorted. I contacte

  • Rearranging the tables on ER Diagram

    I have created a ER Diagram of around 500 database tables. On my diagram, tables that have relationship appear on the top (in a cluster) and tables that does not have any relationship appear on the left (in a cluster) leaving right and bottom part of

  • Bbm installed but not on the phone

    hi i need help. yesrerday i updated bbm on my 9810 torch, after the phone restarted i couldnt find it. when i go to app word it shows as installed but i can not uninstall it.  please help as to how i can solve this problem thanks

  • Coherence exception in JPA

    Hi, I am using open jpa for persistence in my clustered weblogic server envirnment. I am using coherence for locking support and distributed cache mgmt. But while creating entity manager from the Persistence.xml file, i am getting an error, for which

  • How do I get photo shop, that I already purchased on a new laptop?

    I purchased photo shop last summer and had to purchase a new laptop because my old one was ruined. Wanted to know how to reinstall my photo shop onto my old laptop?