OSB file Write, not naming the file with specific name.

Hi ALL,
I have a requirement, i should accept the data or XML file from from JMs queue and place it in a location specified. For this i have build the PS and BS.
Where PS will De-queue the JMS queue and route using Service call out to BS. And the BS will place the file in location. I could do this easily. BUT the thing is that i could not name the file perfectly with the intended file name. to build the BS i used .JCA file , .WSDL file, XML file from Jdeveloper. and imported to osb console. i could write the file as follows..
MY business Services:
services TYPE : ANY XML services
transport
Protocol ==> file
Load Balancing Algorithm ==> round-robin
Endpoint URI ==> file:///oracle/Middleware/user_projects/domains/Agile
Request encoding ==> utf-8
this is the file name i am getting:
<con:metadata      xmlns:con="http://www.bea.com/wli/sb/test/config">
     <tran:response-code      xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
     <tran:encoding      xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
     <file:filePath      xmlns:file="http://www.bea.com/wli/sb/transports/file">
     /oracle/Middleware/user_projects/domains/Agile/POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml
     </file:filePath>
</con:metadata>
the file NAME : POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml ( POTest is prefix and .xml is Sufix)
3338620552690675292--411054fa.1363686ca89.3e8d i dont know y the this garbage file name is created...
please give suggestions to avoid garbage name
thanks --
ANIL

Hi ALL,
I have a requirement, i should accept the data or XML file from from JMs queue and place it in a location specified. For this i have build the PS and BS.
Where PS will De-queue the JMS queue and route using Service call out to BS. And the BS will place the file in location. I could do this easily. BUT the thing is that i could not name the file perfectly with the intended file name. to build the BS i used .JCA file , .WSDL file, XML file from Jdeveloper. and imported to osb console. i could write the file as follows..
MY proxy services:
services type : any XML services
protocol :jms
MY business Services:
services TYPE : ANY XML services
transport
Protocol ==> file
Load Balancing Algorithm ==> round-robin
Endpoint URI ==> file:///oracle/Middleware/user_projects/domains/Agile
Request encoding ==> utf-8
this is the file name i am getting:
<con:metadata xmlns:con="http://www.bea.com/wli/sb/test/config">
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">0</tran:response-code>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8</tran:encoding>
<file:filePath xmlns:file="http://www.bea.com/wli/sb/transports/file">
/oracle/Middleware/user_projects/domains/Agile/POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml
</file:filePath>
</con:metadata>
the file NAME : POTest3338620552690675292--411054fa.1363686ca89.3e8d.xml ( POTest is prefix and .xml is Sufix)
3338620552690675292--411054fa.1363686ca89.3e8d i dont know y the this garbage file name is created...
i am getting this error when i process test from proxy services then i may use route and change it as Use Routing Options on the Service Callout and override the header (jca.file.FileName).
but the thing is when i test from Business services also i am getting the same garbage name on both window and linux.
please give suggestions to avoid garbage name
thanks --
ANIL

Similar Messages

  • I'm not really a computer guy.Just got a Kodak easy share camera. When I  import the photos, they go to the area with my name in a file with the date. How can I move them to iphoto, or even better, import them directly to iphoto??

    I'm not really a computer guy. I just got a Kodak"easy share" camera. When I import the photos they go to the section with my name in a folder. How do I get them from there to iphoto, or better yet, how can i import them directly to iphoto?? As stated, I'm not knowledgable,have an imac and need real rudimentary direction.

    in the iPhoto preferences be sure the action when camera is connected is open iPhoto
    What program are you using to import the photos?
    If they are in a folder you can drag that folder onto the iPhoto icon in the dock to import - our launch iPhoto and under the file menu import from that folder
    For real rudimentary directions try the iPhoto tutorials - and it would be a worthwhile investment of time to take the iphoto tutorials - http://www.apple.com/findouthow/photos/ - they are very helpful and will save you a lot of time and frustration. for the concepts - actual commands mya have shanged in some cases - and under the iPhoto help menu ==> iPhoto help - watch the videos there
    LN

  • While saving multiple attachments from mail, files with same name are added and not replaced

    While saving Multiple Attachments from Mail, existing file with same name are not overwritted but new files are added in the folder.

    Bjørn Larsen a écrit:
    Hi all
    Hope to get some help with Elements Organizer.
    I have 12-15 years of digital photos that I now want to import into my newly aquirede Adobe Elements Organizer / Photoshop. Since my Nikon names the files with continous numbers from 0001 to 9999 I have multiple files with the same name although they are not alike at all. My previous software had no problems with that since I keep the photos in separate file folders based on import date. I generally import photos after each event and so name the folder with the date and some event info (e.g. 2014.12.24 - Christmas at grandparents).
    That is a common situation, I have the same limitation for files not going over 9999 on my Canons...
    Now - when I import my photos into Elements Organizer I get a lot of error messages with "same name exist .....) Hmmmmmmm
    Please sate the exact wording of the error message, I have never seen a message stating 'same name exist...' or equivalent; only messages about files already in the catalog. Files already in the catalog mean that some files have the same 'date taken' and file size in Kb.
    Any suggestions. I'm using a mac and tried to rename files based on date taken. The mac can do that but it takes ages to go into each folder and run the renaming script there.
    I also use a similar folder creation scheme (such a date naming is the default for the downloader). That way I never get a message about duplicates for the same file names.
    However - I can't be the first or only person with this problem so I figure that some workaround must be known out there. Maybe the import action can recognize date taken or - well. Thank you very much in advance if you can help me out here.
    You can alsways set the downloader to rename the imported files with a unique new name, there are many options in the 'advanced' dialog of the downloader. I don't know about Macs, but I don't thing there is a difference.

  • There is no 'Save as' under the file menu.  How do I save a file with another name?

    Numbers help refers to the 'Save As' function in the File menu.  My version (latest) does not have a 'Save As' function.  How do I save a file with another name?

    Ross Millard wrote:
    Badunit. You have an original file and an edited file. Now you duplicate the edited file and save it with a different name. Now do you have to go and delete the changed file from which the duplicate had been made? And.... is the original still unchaned... still original?
    Ross,
    For the situation you describe, Apple has provided Duplicate and Revert. Use File > Duplicate to reach this menu:
    Regards,
    Jerry

  • Could not load the following distribution specification files

    I am attempting to use LabWindows/CVI 9.0 to creat a distribution package.  At some point in the process something breaks, and then I can make all the changes I want, but CVI will crash when I close it, so none of my changes to the .cds file will get written.  The error on crash-exit is this:
    "Unrecoverable Internal Error at 001b:104FB24C. LabWindows/CVI will be aborted."
    and/or
    "Panel, pop-up, or menu bar handle is invalid"
    And often, when I re-open CVI, it deletes the .cds file and gives me this error:
    "Could not load the following distribution specification files: xxx.cds"
    Please advise,

    I found that everything is fine with the PRJ, CWS, and CDS, *until* I add the automatic "Project Output (Project.exe)" in the "Files" tab of the "Edit Installer" dialog box.
    As a work-around I have added the release .exe as a file in the project, and then I link that file in the "Files" tab.
    Attachments:
    Files_Tab.JPG ‏119 KB

  • Spotlight/Finder can't find a file, yet when I search the timecapsule for they find it. If I try to restore the file I get "file with that name already exists...." What is wrong?

    I was trying to find a file (iTunes Backup). When using finder/Spotlight they couldn't find the file.
    I then opened up my timecapsule and searched for the file....tick-a-de-da it found it in yesterdays backup. I attempted to restore the file and got the prompt "A file with that name already exists in this location, would you like to keep both, replace the file or cancel the request.
    So if the file is there why can't spotlight/finder find the file??
    If it helps I get this from the terminal when checking if indexing was enabled.
    $ mdutil -s -a
      Indexing enabled.
    /Volumes/Data:
    2014-11-18 18:09:39.542 mdutil[1472:572531] Metadata.framework [Error]: mdsCopyStoreAttributes failed: (8) (os/kern) no access
      No index.
    /Volumes/Time Machine Backups:
      Indexing and searching disabled.
    /Volumes/Time Machine Backups/Backups.backupdb:
      Indexing enabled.

    Hi Danielle,
    Is there any possibilty that some of your files (a VI or DLL?) have been moved, renamed, or deleted? Also, what version of LabVIEW are you using and are you using any .NET DLLs? Another option to consider would involve VISA or DAQmx property nodes. Are you using any of these property nodes in your code? Here is a KnowledgeBase article to describe more about the VISA and DAQmx property nodes in a source distribution:
    Error Creating Source Distributions Involving rc Files: http://digital.ni.com/public.nsf/allkb/833BFD5E9CA0224886257584004DAA4C?OpenDocument
    I hope this is able to help.
    Anna L
    Applications Engineer
    National Instruments

  • How to send file with original name through Mail adapter

    I have to send file with original name as attachment through Mail Adapter. I am picking the file from FTP server through File Adapter. I am not using message mapping because files do not have any standard format.

    Hi,
    Have you solve your problem ?...
    I have exactly the same scenario : pik up a file (file adapter) and send it in attachment by mail adapter without mapping (no IR)...
    I activated Adapter specific paramters properties in the File adapter sender and i can see the FileName tag in DynamicConfiguration section of SoapHeader in SXMB_MONI...
    I want to use MessageTransformationBean... BUT, how can i 'access' to FileName tag ???...
    Thanks...
    I setup modules like this :
    AF_Modules/DynamicConfigurationBean 1
    AF_Modules/MessageTransformBean rename
    sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean mail
    1 key.0 write http://sap.com/xi/XI/System/File FileName
    1 value.0 message.FileName
    rename Transform.ContentDisposition attachment;filename=message.FileName
    rename Transform.ContentDescription message.FileName
    rename Transform.ContentType application/csv-tab-delimited-table;name=message.FileName
    But my file name attachment is message.FileName....
    Edited by: Emmanuel JORAND on Sep 29, 2008 9:23 PM
    Edited by: Emmanuel JORAND on Sep 29, 2008 10:25 PM

  • You already have a schema opened on this file with another name: abc

    I am trying to create a model for an XML file, when I clicked on "Objects to Reverse" checkbox under "Selective Reverse" tab, I am getting the following error:
    java.sql.SQLException: You already have a schema opened on this file with another name: abc
    I have created a Data Server in Topology whose schema and workschema are "abc" and logicla schema is "Labc".
    Where is the mistake going in?

    That is because you can only connect to a file in read/write mode once at a time. When you connect to a file without specifying ro=true (e.g. Read Only=true) in the URL, the file is locked and you can’t connect to the file from another instance until the original connection is dropped. I assume since you are trying to connect to the file multiple times that you mean to connect in readonly mode. To do this, like I mentioned earlier, simply add ro=true to your URL and you should be all set. Note: you may need o restart your JVM for chnges to take effect. Let me know if that works.

  • Script to find files with same names with in a folder and it sub folders.

    Looking for script to find files with same names with in a folder and it sub folders.

    Are you just looking to find if any two files underneath a folder have the same name?
    If you just want to know that a file named "whatever" exists in two folders, that's not too difficult, but you probably want to know the full path names.
    Here's one attempt:
    $ perl -MFile::Find -le 'find(\&w, "."); while (($n,$p)=each %file) {if(@{$p}>1){print join(" ",@{$p})}} sub w{push @{$file{$_}},$File::Find::name;}'That will print the pathnames on the same line of any files with the same name that appear anywhere underneath your current directory.
    It's a bit long for a "one-liner", but functional.
    Darren

  • How can I see file with chinese name in Sunray USB storage?

    hi, All
    I installed Sunray4u3 on Solaris0805. the application server is win2003EE.
    I accessed usb storage from win2003, but I can only see files with English name , and could not see files with chinese name. Why? who can help?
    best regards
    xiong wei

    You might want to make sure your credit card is listed in the billing information associated with your Apple ID (see http://support.apple.com/kb/ht1918).
    Also, to change the From name that appears when you address emails on and iOS device, go to Settings>Mail,Contacts,Calendars...tap your iCloud email account, tap you iCloud account at the top, tap Mail at the bottom, then enter the name you want to use in the Name field at the top.
    To change the From name on your Mac Mail, go to icloud.com, sign into your account, open Mail, click the gear shaped icon on the bottom left and choose Preferences, go to the Accounts tab and enter the name you want to use in the Full Name field and click Done.  Then quit Mail on your Mac and re-open it.  Your new From name should now appear in the drop-down list when you compose a new email.

  • Live view putting a file with no name

    So i have a problem (don't know if it's a problem really, but at least an annoyance) with the Live View and Preview in browser features.
    When use them, the file transfer window pops up (even if i have told it to stay "hidden") showing the following:
    Started: 29.5.2013 15.47
    index.php - same - not transferred
    Connections:Raspberrypi.php - same - not transferred
    styles:common.css - same - not transferred
    - error occurred - Access denied.  The file may not exist locally,  may be open in another program, or there could be a local permission problem.
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files skipped: 3
    Files with errors: 1
    Finished: 29.5.2013 15.47
    So the weird lines are those marked with red. It looks like its trying to put a file with no name or extensions at all - and i don't think i have such files on my site. Also the permissions are correct on both the server and my Mac.
    My web browser opens up and shows the site perfectly, and if I'm using the Live View, the site shows up well too. The thing is every time I hit F5 to refresh, i have to close the file transfer window. Annoying.
    I don't know if it matters but I'm using a Raspberry Pi as my home web server. It has Apache2, PHP 5, MySQL and vsftpd running, and I have been able to use them with no problem earlier.
    Hopefully someone knows what I am doing wrong here...
    Thanks in adnvance!

    Have you enabled Automatic Upload on SAVE?  I never FTP files on Save.  Way too much risk of error and it takes focus away from my work which is very distracting.  See screenshot.
    Nancy O.

  • Adobe Acrobat Pro cannot find moved files or files with edited names

    Adobe Acrobat X Pro 10.1 cannot find recent files or files with edited names.
    For instance, if a PDF file is moved in the hard disk from one foder to another, Acrobat cannot find it when trying to open it via "File - Open Recent File".
    Likewise, if the name of the file is changed in the Finder.
    Similarly, if a PDF file is open, it is marked with the yellow fluorescent marker of Acrobat, its name is then changed in the Finder and later on you try to save it, Acrobat says that it cannot find such file.
    Yet, applications like Microsoft Word do not have any of the above problems. It would be great if Adobe could fix these serious productivity issues, which have plagued Acrobat for many years now.
    How to send such feedback to Adobe?

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Could not retrieve the document with the passed obsolete token.

    Hi,
    Issue is with the specific report not able to execute when the query is cancelled and getting an error when you are cancelling an already executing query.
    Receiving an error message during running one of our report in the
    following way:
    - Run the Webi report
    - Select the value for 8 prompts
    - Click on cancel
    - try to re-run by clicking on re-fresh and receive an error message.
    The error message is the following:
    "Could not retrieve the document with the passed obsolete token (Error: RWI 00323) (Error: INF)"
    Till now we have made the following changes:
    This might be caused by a storage token that identifies a document state, which is no longer available in the storage tokens stack.
    In the webi.properties file, increased the value of storage tokens stack size.
    1. Edit the webi.properties file found in the following location:
    u2022 <Installed dir>\program files\businessobjects\BOenterprise115\Web services\en\dsws_webservice_boe\data\asemble\dsewsBobjJava\src\WEB-INF\classes\webi.properties.
    2. Add or change the following variables:
    u2022 WID_FAILOVER_SIZE (This sets the maximum number of tokens to keep in memory. It is 10 by default.)
    u2022 WID_STORAGE_TOKEN_STACK_SIZE (this sets the maximum number of tokens stored on disk. It is 10 by default.)
    u2022     Deleted cookies.
    u2022     Add  the Java Runtime Parameter value from following path:
    Start - > Control Panel-> Java -> Java Applet Runtime Settings
    Click on View.
    Add the Java runtime Parameter value: Xmx200.
    It is not a machine specific issue however it is intermittent.
    Please advice.
    Regards,
    Pradnya Kokil

    Hi Pradnya,
    Following solutions might help you to resolve the issue.
    Solution1:
    To achieve optimum performance, the developer should limit the number of new windows that can be opened using the OpenDocument function, particularly if using it within the drill function.
    If you must open a new window each time, you can increase the number of document instances available on the system by modifying parameters in the webi.properties file:
    1. On the Business Objects server, navigate to the following directory:
    C:\Program Files\Business Objects\Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\WEB-INF\classes
    2. Open the webi.properties file using a text editor.
    3. Uncomment the FAILOVER_SIZE=10 line by removing the # from the beginning of the line.
    4. After FAILOVER_SIZE, add the following:
    STORAGE_TOKEN_STACK_SIZE=40
    5. Save the file.
    6. Restart the application server
    Solution2:
    Do not use Control Key + N or File New from Browser for invoking new instance of Browser
    Avoid opening Infoview by Hyperlinks.
    Alternatively, by setting logontoken.enabled property in web.xml for desktop.war, will stop users allowing using old token
    Locate web.xml file in desktop.war file deployed on your application server
    Locate the following string in web.xml:<param-name>logontoken.enabled</param-name>
    Change the <param-value> for logontoken.enabled from true to false (forexample, <param-value>false</param-value>)
    Save and close the file
    Restart the web application server to apply the changes
    Regards,
    Sarbhjeet Kaur

  • Problem in loading an external file with unicode name

    Hi,
    I am working on a project which involves loading of an
    external file with unicode name for ex:
    "插入音乐.mp3
    ,插入音乐.jpg". These unicode files are
    loaded successfully when I play/publish the movie with flash player
    alone.
    But when the movie is embedded in to HTML file, it is failing
    to load files with unicode name. this works fine with English name.
    is it a bug? if not pls help.. on this issue
    Thx

    what is your code? so we can get clear picture.

  • Writing a report file with specific information

    Hi, all:
    I need to write a text file with specific information in it. I'm going to copy it into Excel, so the easier the format, the better (perhaps CSV format?). I've never done this before, so here's the method I need to capture the information from:
         public void step() {
              greenColorStorage = new ArrayList();
              magentaColorStorage = new ArrayList();
              System.out.println( "==> Model step " + getTickCount() );// Checking step #
              for (int i = 0; i < soldierList.size (); i++) {
                   Soldier s = (Soldier) soldierList.get (i);
                   s.step();
              Collections.shuffle(soldierList);
              System.out.println("Shuffling collection now.");
              dsurf.updateDisplay ();
              System.out.println("Model.step() finished.");
              for (int i = 0; i < soldierList.size (); i++) {
                   Soldier s = (Soldier) soldierList.get (i);
                   if (s.getMyColor() == Color.green ) {
                        greenColorStorage.add(s);
                   if (s.getMyColor() == Color.magenta ) {
                        magentaColorStorage.add(s);
              if (magentaColorStorage.size() == 0 || greenColorStorage.size() == 0 ) {
                   stop();
         }In this method, I need to capture this information: There are soldiers on the Green team and on the Magenta team. I need to know how many there are originally, how many in this time step, at what time step the model stops, and how many of the winning color team are left when the model stops. How do I do this? If you can point me to a specific thread that shows how to write a report file like this, I'd be grateful, since I couldn't find one when I searched. Otherwise, I'd be grateful for examples. I'm in the middle of doing some research, and I have the feeling that I'll need to write report files in the future, so if you'd explain any code you provide, I would be quite grateful--I need to understand what I'm doing as well as simply using your code so that I can really learn what I'm doing when I do this again. Thanks very much!

    FileOutputStream
    public FileOutputStream(File file,
                            boolean append)
                     throws FileNotFoundException
    Creates a file output stream to write to the file represented by the specified File object.
    If the second argument is true, then bytes will be written to the end of the file
    rather than the beginning.
    */

Maybe you are looking for

  • Changing fonts in jtextpane

    Hi, I'm new to playing around with JTextPane's and I need to create a basic text editor. The problem I'm having is that when I select a new font and use the backspace, it generates many textUI exceptions (on my pc). When I run the same code on mac os

  • Windows to Mac Software Compatibility

    Finally converted #1 son to go from PC to Mac. Going to bless him with a 20" 2.66GHz iMac. Question arises as to compatibility of a stock software called "Metastock" which he currently runs on Windows. Metastock does not offer a Mac version. Anyone k

  • How to create new file folders?

    I'm can no longer create new file folders. Can someone help me? I've tried everything.

  • Export/Import Server Configuration

    Hi, I have multiple physical servers to configure that will have the same MX 7 configuration settings. Is there a way to export and then import these settings so I don't have manually complete each one? For example, I'm looking to replicate datasourc

  • Goods receipt for schedule agreement  / schedule line

    HI Dears, could u pls help me, how to carry out goods receipt - MIGO- for sch agreement po or sch ag sch lines. thanks in advance rgds Jay