IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  getting error in flatfiles

    Posted 11/04/09 10:09 AM

    Hi to all,

    i am new to webMethods.i am getting the below error.
    com.wm.ff.parse.ParseException: [FFP.0012.0004] Found no valid records

    pls can anybody tell me how to resolve the error.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: getting error in flatfiles

    Posted 11/04/09 11:13 AM

    Please be little more descriptive of your issue, for better understanding…

    The flat file you are passing doesnt have the ‘delimiter’ that you have set.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: getting error in flatfiles

    Posted 11/04/09 11:26 AM

    Hi nandu,
    thanks for ur quick response.

    i have .txt file.
    i saved the data as follows
    Ename|Enum|Esal|
    jana|1001|30000|
    hrr|102|2345|

    i created flatfile schema
    i entered all the details for creating FFSchema

    while i run this code,
    i am getting no record definition

    Thanks and regards
    jana


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: getting error in flatfiles

    Posted 11/04/09 04:42 PM

    That error means that none of the records match the record definition(s) you have in your flat file schema. Judging from the sample data, you’re probably trying to define the record layout directly in the FF schema. Unfortunately, for records that do not have a record ID field, that won’t work.

    You’ll need to defined an flat file dictionary and define the record there. Then in the FF schema, use that record definition as the default record type. Your FF schema will not have any record definition within it. Just a reference to the record in the FF dictionary and the desired delimiters and other settings.

    Refer to the Flat File Schema Developer’s Guide for details.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 5.  RE: getting error in flatfiles

    Posted 11/05/09 05:45 AM

    Hi reamon,

    i solved that issue and also i am able to write that file into another file.
    i want to send that one to mail.
    shall i use smtp service.

    Thanks & regards
    janardhan


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 6.  RE: getting error in flatfiles

    Posted 11/05/09 04:56 PM

    The SMTP service is indeed the one to use. There are examples in the docs and threads on the forums for sending attachments.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: getting error in flatfiles

    Posted 11/06/09 07:24 AM

    Hi,
    i want to send my file as an attachment to a mail.

    i taken the service

    pub.client.smtp
    and also one more option is ftp
    pub.client.ftp

    but i am getting exception

    com.wm.net.ftpCException: [ISC.0064.9001] Could not connect to ftp server: java.net.ConnectException: Connection refused: connect

    pls anybody guide me for this issue

    is it necessary to configure in is

    under settings->logging->editlogging
    under that we have servername,internetmail and s o on

    can i configure here

    thanks and regards
    jana


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 8.  RE: getting error in flatfiles

    Posted 11/09/09 12:49 PM

    Hi Jana,

    below is u r previous post:
    Hi reamon,

    i solved that issue and also i am able to write that file into another file.
    i want to send that one to mail.
    shall i use smtp service.

    Thanks & regards
    janardhan

    now u r able to write the file in the server right.
    drag SMTP service.
    in pipe line u will see attachments. u just give the file path(where u have written the file).
    give content type,host,to…etc


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services