How to handle fixed lenth files in OSB

Hi all,
I will get a fixed length file as below
length 1 to 512
ISA00 00 086120930000 090162840692000 1012081221U003060000010710P>
GS PO6120930000 016284069 1012081221000001071X 003060
I want to convert these file to xml so that i can perform some transformation in it .
The challenge is we cant achieve this with MFL reason GS is optional you wont know you will get it or not .like that you have many elements optional non-option complex elements we are not able to achieve this . We raised a SR with oracle support they said it is not possible with MFL .
I can do this with NXSD but this fixed length file i will get it in JMS queue and OSB doesn't support JMS Adapter .So how will convert this fixed lenth file to xml in OSB.
Thanks
Phani

Hi atheek,
Thanks for the response .
Can you share me u r mail ID i will share the flat file and optional and non - optional elements and input . if possible create a MFL and share with me .
i am trying with MFL its not working .Its urgent.
Thanks
Phani

Similar Messages

  • How to write a CSV file in OSB

    Hi All,
    can any one tell me How to write a CSV file in OSB?
    Thanks.

    Hey, I couldnot find any xsl usage inside pipeline pair in the links given by you. Do you have any links that gives a sample example.I could not find any links with examples. I will send you a simple config jar demonstrating the use of XSLT resources/transformations.
    secondly should MFL doc replicate the name(s)of the nodes of the source xsd:I'm not sure If I understood your question.Can you please explain?
    Ex: My database schema looks like:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <xs:schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/AssetsPoll" xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/top/AssetsPoll" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="CountriesCollection" type="CountriesCollection"/>
    <xs:complexType name="CountriesCollection">
    <xs:sequence>
    <xs:element name="Countries" type="Countries" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Countries">
    <xs:sequence>
    <xs:element name="countryId">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="countryName" minOccurs="0" nillable="true">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="40"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="regionId" type="xs:decimal" minOccurs="0" nillable="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    and the corresponding MFL that I have created gives this output
    <?xml version="1.0" encoding="windows-1252"?>
    <countriesCollection1>
    <Countries>
    <counrtyId>counrtyId</counrtyId>
    <country_name>country_name</country_name>
    <regionId>regionId</regionId>
    </Countries>
    <Countries>
    <counrtyId>counrtyId</counrtyId>
    <country_name>country_name</country_name>
    <regionId>regionId</regionId>
    </Countries>
    </countriesCollection1>
    Why I am asking this beacuse there is an error that i am getting:
    Jun 19, 2009 5:50:50 PM IST> <Error> <JCATransport> <BEA-381951> <JCA inbound r
    quest only invocation failed, exception: java.security.PrivilegedActionExceptio
    : com.bea.wli.sb.transports.TransportException: Binary to XML mfl transformatio
    failed for the MFL Resource Database-Jms-File/Database-File/MFLSample : null
    ava.security.PrivilegedActionException: com.bea.wli.sb.transports.TransportExce
    tion: Binary to XML mfl transformation failed for the MFL Resource Database-Jms
    File/Database-File/MFLSample : null..................................................
    Any help?
    Regards
    PS

  • Certain web sites try to open a tab for billing or other info. fire fix 3 worked fine , 4 & 5 bring up a box asking how to handle a aspx file and nothing will work. am running XP service pack 3. how do I reload 3 again?

    with firefox 3 everything works fine. with 4 and 5 when I try to complete billing info I get a question about how to handle aspx files. nothing works. all I get is a new tab with a blank screen, not data no nothing. When I loaded firefox 4 and had the problem I reinstalled 3 to solve it. I hoped when 5 came along it would include a fix, no such luck. I read many questions about AOL logon that is the same as my problem and have tried all the suggestions with no luck.

    What are you expecting when the aspx window comes up, a PDF or a regular web page?
    Here's the process to roll back:
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
    Close Firefox 5.
    You could install Firefox 3.6 over it (it usually worked with Firefox 4) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
    Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
    Note: I haven't actually tried this myself!

  • I'm getting "How to handle Default Aspx file?" whats wrong?

    When I try to log into Hotmail I get this question. "How should Firefox handle the Default Aspx file"
    How do I fix it?
    My operating system is Microsoft Vista
    and Firefox 5 i think.

    Read this article, especially the bit about loadercontext and currentdomain:
    http://blogs.adobe.com/airodynamics/2012/11/09/packaging-and-loading-multiple-swfs-in-air- apps-on-ios/

  • Thoughts on how LabVIEW handles checkout of file from SCC when file already open

    When you already have a file/project open in LabVIEW and it is set to read only because you haven't checked it out, you can go into SCC and do a checkout then save the file immediately. The issue with this is, if your local copy doesn't match the copy in SCC, you will probably be overwriting changes. Sometimes this is convenient because if you have ever edited a MS Word file and then gone to save and it won't let you because it was opened as read-only...then that sucks because you either lose your work, or have to do a copy of the entire word file->close the program->re-open as writable, then paste. This can be avoided with the "LabVIEW way", but the "MS Word" way seems much safer because it forces you to conscioiusly make the file writable (by either checking it out or manually write clicking and changing to writable) BEFORE opening it. I just wanted people's opinions on how LabVIEW handles this, and if there would be a better way.
    CLA, LabVIEW Versions 2010-2013

    VSS 
    CLA, LabVIEW Versions 2010-2013

  • How do i fix a file where relinking or updating file is too slow and generating 60+MB pdf from a 4mb Indesign file?

    I have an 18 page files linking several pdf images and working with this file is horribly slow.  These pdf images(total of 15) easily take a min to relink or update (pdf's are at max 2mb but majority are less than 1mb).  The Indesign file is only 4mb but when i export or print to pdf I get a 60-70mb file. Exporting or printing these 18 pages easily takes 30 min.  I can't use the file with a higher display quality unless i have the patience of watching a plant grow on that day. I've read a majority of ways why InDesign would be slow. At work im operating Windows 7, Indesign 6 and I have 32MB of RAM.  Extremely frustrating and reminding me of the days of dial up internet.  I've already done a SAVE AS and tried to reduce linked files image size and to no avail has not helped.  I was able to get my 72mb pdf file to reduce to 6mb after using Adobe Acrobat and getting rid of the hidden information but I lose alot of quality in the linework.  I am guessing its because these pdfs are generated from Revit or Autocad is why it might be holding onto some hidden info. So how do i make this file work faster (relink,export,pdf etc)?

    Just to note as well, InDesign only links to files, there's no embedding, you would see a 4mb file, but if it's linked to a 10mb pdf and it has to include all that PDF in the final file then it will be circa 14mb file.
    What you have is a vector heavy PDF and there's no real way to reduce that without losing quality.
    You may have better joy by opening the linked PDFS in acrobat and using File>Print and choose Adobe PDF (or another method) to basically refry the CAD pdfs.
    I'd do this with a copy of all the files though just in case something goes drastically wrong.
    Frankly, I feel it's the nature of how CAD pdfs are made that's causing the downfall here, refrying these and Printing these files to PDF removes a lot of the complicated things happening in CAD files and makes a very dulled down PDF version.
    Once you've done this then try FIle>Export from indesign to make your pdf.

  • How to handle check-out files of users that are no longer with the company?

    We have cases that files were checked out and modified, but the engineers left before they check-in the files. What's the right way to handle such cases? Does the project admin have right to check-in for the engineers? How can we make another person to
    check the files in?

    Hi Peter, 
    Thanks for your post.
    Do you want check-in that files within the changes which that left engineer created to TFS Server? If yes, you need logon that engineer’s client using his account, then get modified files on this client and perform check-in.
    If you don’t need that changes which modified by that left engineer, just the check-out files on this client caused other users cannot work on that files, you can ask the team project admin user to perform
    tf undo command on that files to resolve this checked-out issue. 
    For example, the files be checked-out under workspace1, so execute this command “tf undo $/xx/xx(file path) 
    /collection:collectionURL /workspace:workspace1 /recursive” to undo it
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to  handle fix asset value increase for HongKong company?

    Hi,
    We have repaired a fix asset,the repair expense is more than 20k HongKong Dollar.How can we handle the expense with the fix asset?
    Can anybody have any good suggestion?
    Thanks,
    Don

    Hi,
    Due to we don't use asset sub number,we would like to have another solution. Have anybody used the transaction "ABZON" with the old asset number to handle such case?  Could anybody share your experience?
    Thanks for all of you.
    Best Regards,
    Don

  • I lost an .msi file and cannot do updates, how do i fix the file?

    I lost an .msi file and cannot do updates to my Itunes system, Apple has not been abe to help, where do i find the .msi file or how do i repair the system?  All prior updates to the system have worked, but the latest 10.5.2 will not update due to this lost file.

    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch

  • How to handle the remote files in servlets

    Hi all,
    I want to handle the file remotely in a server side class file by giving the realtive path , let us say some thing like
    File f = new File("http://localhost:8080/images/");
    here images is a directory, my requirement is to get all the image names in the folder.

    you don't have to do it through the network layer...
    check the servlet context doc
    http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContext.html
    (specially the getRealPath an getResource methods
    It helps you to know where you are on the localfilesystem, then you can retrieve the files you want

  • How to handle Responce in FILE to RFC Scenario

    Hi All,
    In file to RFC[sync] scenario...
    Sender side we are using FTP server. Many folders are there .Data is located in folder1 . File adapter picked the data and forwarded it to XI. RFC adapter processes the data.If RFc adapter sends responce , how can we store this responce in Folder2 in FTP server  .Is it possible without BPM .Is this Possible with in a single scenario . If so pls explain the IR and Id steps.

    Hi,
    Why dont you use dynamic configuration for both Directory 1 & Directory 2???
    I had  a similar scenario where we have to define a directory name based on source file names. The sample code is as follows. You can modify this as per your requirement. Let me know if you have any issues.
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    and
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
    conf.put(key, arg)
    String fileName = conf.get(key);
    if(filename.equals("file1.txt")){
         conf.put(key1, Directory1)
    else
         conf.put(key1, Directory2)
    return "";
    Warm Regards,
    Gouri

  • How to handle multiply properties.files in combined applications

    I have some applications bundled into one jar for each application. The applications make all use of a properties.file in it's own /resources/ folder within the jarfile.
    To avoid running each application on the desktop with it's own JVM and as seperate programs, I wrote a menuprogram which can start the applications within a splitted pane. Left pand is a JTree menu, right side is the applicationspace. This way i have only one JVM active and all app's can be accessed from within a single window. This menu applications also has it's own properties.file.
    I noticed that the applications now all use the same properties.file which is actually not correct. The file used is the one which belongs to the menu application.
    So i have : menu.jar, app1.jar, app2.jar, appn.jar
    The menu.jar is started and from within this application i run the other applications (jInternalFrames). All apps seems to see only the properties.file within the menu.jar IMHO because i create the objects from app1, app2 and appn from within the menu.
    QUESTION:
    How can i change the code to force each app.object to use the propsfile delivered in his own jar-file?
    Here's a code snippet used in each application.
    setPropertiesFileName("/resources/application.properties");
    try {
    is_ = getClass().getResourceAsStream(propertiesFileName);
    props.load(is_);
    catch(Exception e){
    // Debug Props
    setDEBUG_LEVEL(props.getProperty("DEBUG_LEVEL"));
    setTRACE_ENABLED(props.getProperty("TRACE_ENABLED"));
    ...

    You can do this, but is it generally a bad idea which can turn into a nightmare to manage.
    Instead each application should use a different properties file. Is there a good reason every application proeprties must have the same name and path?

  • How to handle External Jar files in EJB DC

    I have created a EJB DC.
    I have added the required MDM Jar files to the class path.
    These MDM Jar files are supplied by SAP for integration with Master Data Management.
    But the DC build fails.
    If I create the same project as a <b>REGULAR</b> EJB (non-dc approach)project, everything works fine.
    Qn:
    How to bundle the MDM jars (External jars)in a DC?
    How to create the Public Parts in the DC for the added MDM External Jars?
    How to use the above DC in the EJB DC?
    Basically, I am looking for a step by step procedure,
    to add external jars in a DC.
    And to use the above DC in a EJB DC.
    Any assistance in this regard is appreciated.

    You should not reference the MDM jar files by setting classpath directly. For setting references to it from your EJB DCs , you will have to create a DC of type "External Library". Deploy this DC also before your EJBs are deployed. You will then have to create a public part for this DC and the reference the public part from the DC metadata of the EJB DC ie set the Used DC list of EJB DC to the public part of the ext lib. You will get info about this in NDS help as well on help.sap.com

  • How to create outside Logging file in osb 11g using log4j.jar?

    Hi all,
    Currently, i am using osb 11g to develop a system. In the system we need to create a log file using log4j.jar library. This sub-program is working in the osb 10g base but fail to work in the osb 11g base. Can anyone give me some advice about this matter? Have anyone created one like this in 11g? Is it successful?

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

  • How can I fix "gradient file bad or corrupt" in elements 12

    When I start elements 12 a notice comes up that says "the gradient file bad or corrupt".  If I click ok the program finishes loading but will not open any existing files, it says they are not valid adobe files, even though they were created in elements 12.  I have uninstalled and re installed the entire program, but the message still comes up.

    Reset the gradient tool or all tools.Look for a box with lines in it on the tool's option bar. Click & reset..
    If that does not fix it, suggest that you reset preferences via Edit>Preferences>General. Reset and relaunch.

Maybe you are looking for

  • Changes in Parked document as 'Cash Management Active'

    In document changes list for parked documents - CM Active field changed. What does it mean and which field has been changed.

  • David Powers' tutorial, "Setting up CF development environment for DW"

    I left this comment for Mr. Powers at the end of his tutorial and was advised to post here by the Moderator: I had no problems until the very end:  can't display the final page in Live View or in any browser. One anomaly in the CF installation:  Adob

  • Custom jtree node, prt. 2

    Hi again, may be a more simple approach, how can a set my JLabel to be the object to draw in my JTree? TreeCellRenderer isn't my way to go, as a renderer is set tree wide (if i understood correct). Thanks in advance, DickerTiger import java.awt.*; im

  • Issue with iPhone 4 setup/restore

    I had an iPhone4 which was replaced by a new iPhone 4, due to an issue with the proximity sensor. Hardware details: My Macbook Pro to which the iPhone is synced to has the latest version of iTunes, the old phone was running iOS 4.3, while the new one

  • Livecycle hosted service provider

    It appears that livecycle policy server is out of reach (financially) for small design firms. Unless I'm missing something. Is it feasible to setup a multi-user hosted service provider? If a small firm needed to use the service they could subscribe t