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.

 View Only
Expand all | Collapse all

Schema and Dictionary

  • 1.  Schema and Dictionary

    Posted Mon October 04, 2010 07:25 AM

    HI all,

      i created a schema with reference of a dictionary and i can use that schema in several places coz i create a schema with the reference of dictionary..it is working file.
    

    But when i am creating schema with out dictionary i can not access this schema while converting a flatfile…
    Is it possible to access that schema with out dictionary while converting a flatfile into ISdoc?
    can we use that schema in multiple places without dictionary.

    Thanks & Regards,
    Sri.


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


  • 2.  RE: Schema and Dictionary

    Posted Mon October 04, 2010 08:01 AM


  • 3.  RE: Schema and Dictionary

    Posted Tue October 05, 2010 07:11 PM

    Hi Shaik,

    when i am using a schema with out creating a dictionary while converting a flat file to xml
    I am getting this error…

    [FFP.0012.0004] Found no valid records

    i will tell u the steps which i have done.
    getfile,
    converttovalues,
    documentToxml,

    when i am executing…
    documentToxml service is not executing .

    can you please help me on this.

    Thanks,
    Sri


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


  • 4.  RE: Schema and Dictionary

    Posted Tue October 05, 2010 07:17 PM

    If records within the flat file do not have an identifier then a dictionary must be created.


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


  • 5.  RE: Schema and Dictionary

    Posted Tue October 05, 2010 08:32 PM

    Reamon
    I don’t think its right .We can still create a FFSchema with ‘recordWithNoID’ as record identifier right?

    wmsri
    When creating the schema how did you define your record .Did you try using ‘recordWithNoID’ ?

    thanks
    Anil


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


  • 6.  RE: Schema and Dictionary

    Posted Tue October 05, 2010 08:52 PM

    From the documentation:

    “…if your flat file schema does not contain any record identifiers, you must specify a default record. A default record can only be defined in a flat file dictionary.

    If a default record has not been specified, the record will be treated as undefined data.”

    So if the flat file Sri is working on has at least one record with an identifier, then yes you’re correct–recordWithNoID can be used to get the raw, unparsed data for records without an identifier. It’s somewhat rare for this approach to be useful.

    Chances are the file Sri is working with has no identifiers in any of the records. IME, that’s usually the case. So Sri needs to define a dictionary to define the default record, then refer to that record definition from within the flat file schema.


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


  • 7.  RE: Schema and Dictionary

    Posted Wed October 06, 2010 02:14 AM

    Thanks for your responses…

    yes, i have created schema without any identifier…by using “recordWithNoID”

    Thanks,
    Sri.


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


  • 8.  RE: Schema and Dictionary

    Posted Tue November 02, 2010 04:59 PM

    Hi ALL,

    If the incoming documnet from the source does not have the sender information then it will cause the problem selecting the processing rule. their is any other approach without having sender and receiver information .As the client is not ready to change schema.


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


  • 9.  RE: Schema and Dictionary

    Posted Tue November 02, 2010 05:06 PM

    hello

    I am assuming the question is regarding TN processing rules.If that’s the case then:
    You can do it by document type as your recognition criteria if and only if the sender and receiver are the only ones using that doc type.So it would be sender- any,receiver -any and doc type is “specific” doc type

    thanks
    Anil


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