File Adapter Complex File Type

Hi All
i have been pulling my hair out for the last to days with this issue.
I have a CSV file(delimited by , and record delimtedd by EOL) that needs to be processed.. i am currently running into 2 issues.
The file itself is a complex file type (not to complex) it has 4 differnt row types.
Now one would think this is easy right.. you just use the file wizard, specificy the scan condition and voila. BUT ALAS..
in my case the condition/record indicator exists only in the second column.. so the file adapter does not look at that column.
1) the first problem is that i cannot split the file into its correct record types due to the fact that the scan indicator for the condition exits in the second column
2) the second problem is that the file itself finishes with a blank line.. to the xsd is failing as its finding a EOL before it finds a , on the last line.
If anyone has some input i will be VERY greatfull.
Thanks

Hi All
i have been pulling my hair out for the last to days with this issue.
I have a CSV file(delimited by , and record delimtedd by EOL) that needs to be processed.. i am currently running into 2 issues.
The file itself is a complex file type (not to complex) it has 4 differnt row types.
Now one would think this is easy right.. you just use the file wizard, specificy the scan condition and voila. BUT ALAS..
in my case the condition/record indicator exists only in the second column.. so the file adapter does not look at that column.
1) the first problem is that i cannot split the file into its correct record types due to the fact that the scan indicator for the condition exits in the second column
2) the second problem is that the file itself finishes with a blank line.. to the xsd is failing as its finding a EOL before it finds a , on the last line.
If anyone has some input i will be VERY greatfull.
Thanks

Similar Messages

  • Call a method with complex data type from a DLL file

    Hi,
    I have a win32 API with a dll file, and I am trying to call some methods from it in the labview. To do this, I used the import library wizard, and everything is working as expected. The only problem which I have is with a method with complex data type as return type (a vector). According to this link, import library wizard can not import methods with complex data type.
    The name of this method is this:   const std::vector< BlackfinInterfaces::Count > Counts ()
    where Count is a structure defined as below:
    struct Count
       Count() : countTime(0) {}
       std::vector<unsigned long> countLines;
       time_t countTime;
    It seems that I should manually use the Call Library Function Node. How can I configure parameters for the above method?

    You cannot configure Call Library Function Node to call this function.  LabVIEW has no way to pass a C++ class such as vector to a DLL.

  • BPEL Process with multiple file types using one FTP adapter is not working

    i created a bpel process which will fetch the files from remote location using FTP adapter.
    Now the process works for only one format or file type like *.xls.
    How can i use more than one file format in one FTP adapter.
    OR
    is there any other way to do it.
    file type assignation is 5th step in FTP adapter configuration.
    i have tried *.xls,*.csv and *.xls;*.csv and *.xls:*.csv by seperating with comman, colon, space... still not working.
    i read the documentation *.* will not work.. for one file format it's working fine.
    looking forward for reply as soon as possible.

    Are you positive that it is not working? I'm not sure how you can use one FTP adapter for multiple file types unless the underlying data is exactly the same format or you are processing it as opaque data. Sometimes when a FTP adapter chokes on a file with a bad structure it doesn't create a BPEL instance, it simply moves the bad file to a separate folder.
    So I assume you are using opaque as the data type instead of using an XSD element?
    That said, I don't think you can put two separate file types in the filter. Is it possible for you to do something like: CommonFileName*.* or do you have similar files with other extensions?
    I know the above probably isn't of much help, but I had so many problems with the FTP adapter and its lack of features that I am writing my own. Unfortunately that is a large undertaking and there isn't any good documentation of JCA resource adapter / BPEL PM integration.

  • How to get  values of complex data type  specified in webservice wsdl file

    I'm trying to retreive cid from a complex data type[b] course which I'm getting as response from the webservice, it throwing that cid is not valid .
    <course>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    <syncbpelResponse xmlns="http://acm.org/samples">
    <course>
    <startDate xmlns="urn:cms_soa">2005-12-11T18:30:00.000Z</startDate>
    <materialid xmlns="urn:cms_soa">234</materialid>
    <cdescription xmlns="urn:cms_soa">learn spoken english</cdescription>
    <instructorid xmlns="urn:cms_soa">145</instructorid>
    <regEndDate xmlns="urn:cms_soa">2005-11-30T18:30:00.000Z</regEndDate>
    <cid xmlns="urn:cms_soa">12222</cid>
    <cfee xmlns="urn:cms_soa">1000.0</cfee>
    <strength xmlns="urn:cms_soa">20</strength>
    <currentStrength xmlns="urn:cms_soa">2</currentStrength>
    <endDate xmlns="urn:cms_soa">2005-12-30T18:30:00.000Z</endDate>
    <cvenue xmlns="urn:cms_soa">ELNET</cvenue>
    <cname xmlns="urn:cms_soa">english</cname>
    </course>
    </syncbpelResponse>
    </part>
    </course>
    I tried using
    <from variable="course" part="payload" query="/tns:syncbpelRespons/tns:course/@cid"/>
    but not at all accepting....
    I 'll be thankfull if u send me a response

    Hi
    This can not be done Vc only "sees" the returned data in the webservice, it can not access the meta data from the webservice.
    Jarrod

  • Database Adapter: cannot access table with complex record type as columns

    Hi all,
    I cannot perform any operations on a table that has columns with complex record type.
    I have created a table to store purchase order details.
    Sample script:
    CREATE type XX_CUST_INFO_TYP as object
    ssn VARCHAR2(20),
    rating NUMBER(15)
    CREATE type XX_ITEM_TYP as object
    item_name VARCHAR2(20),
    unit_price NUMBER(15),
    quantity NUMBER(15)
    CREATE table XX_PORDER (cust XX_CUST_INFO_TYP, porder XX_ITEM_TYP);
    When i try to access the table X_PORDER in jdev through a database Adapter, i receive the error as
    "some tables contains columns that are not recognized by the database adpter"
    1.) so in this case, how to include such tables that have complex types?
    Also, check out this scenario also..
    1. add a table through a database adapter
    2. drop the table in backend
    3. i can still see the table and its structure in the database adapter wizard even after restarting Jdeveloper.. How is it possible?
    These are some really interesting scenarios to experiment. Please suggest your ideas on this..
    Thanks All!

    Hi Hem,
    for a select you could select against a view. And for inserts you could create a stored procedure. They support complex types since 10.1.2. Complex types support in tables/views was added for 11 (next major release).
    You might be able to use PureSQL as a workaround too, i.e.
    insert into XX_PORDER values (XX_CUST_INFO_TYP(?,?), XX_ITEM_TYP(?, ?, ?))
    As for your other problem, in 10.1.2/10.1.3 the DBAdapter wizard sits on top of the Jdev Offline Tables and TopLink Mapping Workbench components. When you remove a table in the wizard it won't delete the Offline DB component. It was added by the wizard, but afterwards it is public to the entire Jdev project. You must remove it from Jdev yourself. This has been improved for the next major release too, no artifacts from underlying components are created.
    To remove it select:
    Offline DB Objects -> <schema> -> <table> and try File.. Erase From Disk.
    Thanks
    Steve

  • Newbie stuck - how do I change the file type of a photo I am formatting from a TIFF to a JPG?

    I am new to Aperture and struggling to figure out some of the basics, even with the tutorials.  I need to submit a photo for an art competition - the master is a TIFF and I need a JPG under 1.8 MB - how do I change the new version's file type and keep it with the master?
    Thank you in advance.

    I can't recommend the method proposed by Carolyn Samit; in fact, I recommend ignoring it.
    Aperture is large, complex, and can take some time to learn to use.  It is also quite powerful, and can handle nearly all -- or all -- common tasks you throw at it.
    I have written a very short guide to Aperture which was intended to provide some firm footing for those getting started.  I humbly suggest that you start with a quick review.
    One of the things that presents a bit of disorientation for new users is that, in practice, Aperture keeps your pictures in a kind of limbo.  There are good reasons for this -- suffice it for now to accept that you import image-format digital files into Aperture, you use Aperture to organize and optimize these as Images, and then when need a file to use outside of Aperture, you export you Image.  It is at export that you format your Image: you select the file type, the compression amount, the file name, the file size, and more.
    In your case, then, you will export your Version, and set the file type to TIFF (recommended above JGP whenever quality is paramount). There is no way to know the file size in bytes prior to creating it.  Start with a full-size TIFF and, if necessary, knock it down by percentage until the exported file is less than 1.8 MB.
    There is no reason to attempt to keep this file with the Image in Aperture.  Send it on its way.  Any time you need another file from your Image, you can create it fresh via "File→Export→Version".
    HTH.  If it doesn't, ask more. 
    Message was edited by: Kirby Krieger -- expanded a bit.

  • No option to save files, content/file type missing from Applications list

    I want to be able to click a link to a file and have the option to Open the file with a specified application.
    When clicking on the file I want to Open with a specified application, I only get a Save or Cancel option.
    When I look in Preferences > Applications, the file type is missing from the list.
    This was working. It is not working anymore. It is not a problem with the website. I need to know where in the FF settings I can change this.
    FF 30.0
    Kubuntu 13.10
    Thanks

    ''Tahl [[#answer-693773|said]]''
    <blockquote>
    OP, did you ever get a solution to this problem? It's driving me nuts having to specify a download destination then go into a program to open the file I just downloaded!! Have tried deleting file types .rdf and no success either!
    </blockquote>
    I'm not sure of the solution on Windows. But this worked for me on Linux.
    I needed to edit mimeTypes.rdf
    See the links below for details. The first one was someone having a problem with Transmission. I was having a problem with ktorrent, so I just adapted that. If you're having a problem with a different file type, then you'll need to adapt it differently. But the general idea is the same.
    http://askubuntu.com/questions/384375/how-can-i-get-firefox-to-open-torrent-files-with-transmission
    http://forums.mozillazine.org/viewtopic.php?f=9&t=1706945
    Also, I suspect that FlashGot or some similar download manger plugin was responsible for screwing this up. I haven't confirmed it yet, but I've seen some things that make me suspect it.

  • BIC mapping error with Text as trasnfer mode & File type

    Hi guys,
    I am using ftp adapter in my sender channel and also using BIC mapping in the sender side.
    When i specify "Binary" as my transfer mode as well as File type, It is working fine.
    When i specify "Text" as my transfer mode as well as File type, i am getting the below BIC mapping error. According to client requirement i am supposed to use Binary. Can anyone help me on this.
    SEEBURGER BICXIADAPTER --- CONVERSION ERROR ---Error: [Error:ID=2023;LEVEL=1] InhouseDocReader readNextSegment(): offset[12(read Segment : BILLINGHEADER)]: caught ReadingException: only whitespaces as fill characters allowed!, Trace: [com.seeburger.jucon.dochandler.util.WrongFormatException: only whitespaces as fill characters allowed! at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:384) at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:193) at com.seeburger.jucon.dochandler.InhouseDocReader.readNextSegment(InhouseDocReader.java:2399) at com.seeburger.jucon.dochandler.InhouseDocReader.moveNext(InhouseDocReader.java:1818) at com.seeburger.jucon.mapping.E2X_DT_BILLINGDATA_2.main(E2X_DT_BILLINGDATA_2.java:991) at com.seeburger.jucon.mapping.Mapping.run(Mapping.java:2313) at com.seeburger.jucon.seebicapi.BICMapping.runMapping(BICMapping.java:1636) at com.seeburger.jucon.seebicapi.BICMapping.run(BICMapping.java:2386) at com.seeburger.jucon.seebicapi.BICMapping.startSyncMapping(BICMapping.java:1343) at com.seeburger.bicxiadapter.CCIInteraction.convert(CCIInteraction.java:1167) at com.seeburger.bicxiadapter.CCIInteraction.convertCalledFromModule(CCIInteraction.java:873) at com.seeburger.bicxiadapter.CCIInteraction.execute(CCIInteraction.java:294) at com.seeburger.bicxiadapter.module.CallBicXIRaBean.process(CallBicXIRaBean.java:363) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:102) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3672) at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java:2408) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:630) at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:513) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) ] DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abort

    Hi Pratichi,
    in my point of view having text as the file type,the file will be having characters that are used for Segment separators or Element separators ( like space ) in the standard EDI format message.  Hence it is throwing exception in X2E mapping. It is just my point of view but not sure.
    Thanks,
    Shabbir.

  • File type support by SAP XI

    Hello,
    I looking for table with details about file formats that support by SAP XI.
    file format that support by SAP XI  with adding's (like Itemfield) and formats that not support by SAP XI.
    For example:
    File type .CSV support by SAP XI
    File type .EDI support by sap xi with Itemfield add in
    Thank you in advance for your help
    Elad

    XI talks with files using its File Adapter. This file adapter can pick up any file with any structure.
    After picking up the file, the task of adapter is to convert it into XI readable XML format. For this,
    - XI could directly understand input xml file or
    - XI could read text file using file content conversion or
    - u could write ur own code to read structures of any other file
    So no limitations as such.
    Regards,
    Prateek

  • Where can I find a list of file types that Iphone can open?

    where can I find a list of file types that Iphone can open please?

    http://www.apple.com/iphone/specs.html
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)
    TV and video
    * Video formats supported: H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    * Support for 1024 by 768 pixels with Dock Connector to VGA Adapter; 576p and 480p with Apple Component AV Cable; 576i and 480i with Apple Composite AV Cable (cables sold separately)
    Message was edited by: DaVBMan

  • Filedialog File type shows *.*, how can I change?

    I wanna change the file type showing in FileType in FileDialog, please help.

    This code is for JFileChoser. You should be able to adapt it for your requirement.
    JFileChooser chooser = new JFileChooser();
    chooser.addChoosableFileFilter(new FileExtensionFilter("Text files", new String[] {".txt"}));
    chooser.addChoosableFileFilter(new FileExtensionFilter("SQL files", new String[] {".sql"}));
    package net.sourceforge.squirrel_sql.fw.util;
    * Copyright (C) 2001 Colin Bell
    * [email protected]
    * This program is free software; you can redistribute it and/or
    * modify it under the terms of the GNU General Public License
    * as published by the Free Software Foundation; either version 2
    * of the License, or any later version.
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    * GNU General Public License for more details.
    * You should have received a copy of the GNU General Public License
    * along with this program; if not, write to the Free Software
    * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    import java.io.File;
    public class FileExtensionFilter extends javax.swing.filechooser.FileFilter
                    implements java.io.FileFilter {
        private String _description;
        private String[] _exts;
        public FileExtensionFilter(String description, String[] exts) {
            super();
            _exts = exts;
            StringBuffer buf = new StringBuffer(description);
            buf.append(" (");
            for (int i = 0; i < _exts.length; ++i) {
                buf.append("*").append(_exts);
    if (i != (_exts.length - 1)) {
    buf.append(", ");
    buf.append(")");
    _description = buf.toString();
    public boolean accept(File file) {
    if (file.isDirectory()) {
    return true;
    String name = file.getName().toLowerCase();
    for (int i = 0; i < _exts.length; ++i) {
    if (name.endsWith(_exts[i])) {
    return true;
    return false;
    public String getDescription() {
    return _description;

  • What file types are played by ipad

    What I find stunning is that iTunes supports .mov files while my new iPad with retina display won't play them.
    Are there any definitive lists of file types played by iPad?
    Why does apple resist the imperative and logical need for itunes to be play all available video file types?

    Frequency response: 20Hz to 20,000Hz
    Audio formats supported: AAC (8 to 320 Kbps), Protected AAC (from iTunes Store), HE-AAC, MP3 (8 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, 4, Audible Enhanced Audio, AAX, and AAX+), Apple Lossless, AIFF, and WAV
    User-configurable maximum volume limit
    TV and Video
    AirPlay mirroring and video out to Apple TV (2nd and 3rd generation)
    Video mirroring and video out support: Up to 1080p through Lightning Digital AV Adapter and Lightning to VGA Adapter (adapters sold separately)
    Video formats supported: H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format

  • Set file type associations in Adobe Bridge for Photoshop CS6

    Is there a way I can edit the registry so that in Adobe Bridge, under edit, preferences, file type associations, the jpg extension is forced to use the 32-bit version of Photoshop?  I can do it manually, but is there a registry key i can export to apply it to multiple computers?

    Yes, in theory, but it is generally not recommended. But that location would depend on what OS you are on. This video give the locations for the Photoshop files, Bridge would just be in a neighboring folder: http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/how-to-reset-photoshop- cs6s-preferences-file/

  • Data Recover From Formatted Drive? What is the best program to use to get back Logic Projects and any other file type?

    I was in the process of reorganising my hard drives so I could RAID them however I managed to corrupt one drive and had to format it which meant I lost all my Logic Files and some other files. I managed to save a lot of files (mainly video files) before I had to format the drive but I need a Data Recovery service that will not alter anything on the hard drive and will put all the formatted files (regardless of the type) back for me so I can get the rest of the ones I need.
    Thanks in advance.

    What about folders and such?
    No. FS doesn't reconstruct folders. However, Data Rescue does, depending on how you use it. About the only thing in Data Rescue a Quick Scan ever seems to show you are files that are already live.
    So that leaves you with a Deep Scan, or a Deleted Files scan. The first pass of a Deep Scan will attempt to retrieve folders and files, along with their original names. The second pass only looks for file patterns. Like recognizing a Photoshop .psd file. It will recover it, but give it a nonsense name. A Deleted Files scan only results in nonsense names of recognized file types; no folders.
    What were you using File Salvage on? A hard drive?
    Yes, though you can use it on a flash drive, or any other mounted drive.
    At the moment it is estimating 289 hours remaining on a 1TB drive. Can it not go faster?
    No, both of the software mentioned are slower than molasses in January. When you delete anything in Windows, its file table entry simply tagged as deleted. So to unerase them, the tag is removed. That's why it works to quickly and easily (assuming you haven't already overwritten the data to be recovered).
    In OS X though, the whole idea of the underlying UNIX structure is all about security. It's not supposed to be easy to retrieve deleted items. When you delete items, their file table entries are erased. So the only way to find deleted items is to scour the entire drive for BOF (Beginning Of File) markers that don't have a matching starting block to anything that is in the file table.
    Another question, half the drive was empty. Will it fly over that empty space or will it sieve through it incase there was some files stored on it?
    If you use the Expert mode is FS, you can choose to do that:

  • File type in GUI_download

    Hi Experts,
    Whatis the coresponding file type for 'WK1 for WS_DOWNLOAD in GUI_DOWNLOAD?

    Hi ravi,
    1. Its the same WK1.
    2. U can check for yourself in the documentation of this parameter in se37.
    regards,
    amit m.

Maybe you are looking for

  • Error when closing a process order

    Hi I am getting an error when trying to close a process order. The error is - KW407"No prices could be determined for object Activity type XXXX/XXXX/SET". I have checke the following: 1. KP26 the price has been maintained. 2. Have checked that the co

  • Quotes change after been copied and pasted from a pdf document

    Hi, When copying and pasting quotes ( "" ) from a pdf document I get different quotes in the receiving document. For instance: Will paste as: Does anyone know how to fix this? Regards, Fred.

  • Why have you deleted all the common search engine in the SEB?

    Why have you deleted all the common search engine in the search engine box. It appears that all you want to do is irritate your public!

  • .bash_profile location

    I installed Oracle Linux 5.7. I need to view the .bash_profile file or whatever file Oracle Linux uses to store the environment variables for a user. I am working with the "oracle" user whose home directory is /home/oracle. Connected as "oracle" I is

  • Sending data to mssql stored procedure that accepts variable of text  data

    Hi all i have a stored procedure in mssql 2000 whole input parameter is of type text how can i send data of type string from java class while calling storedprocedure using callable statement if ui use setString() function it gives an exception that d