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
  • 1.  Tamino Data Loader - Problem with entity specification

    Posted Thu March 20, 2003 12:53 AM

    Hello,

    I am using Tamino 4.1.1 and want to load Data with the Data Loader (using the GUI in Tamino Manager).

    I have to specify 96 XML entities. If I insert the full specification at the beginning of the document, I recieve an error message (something like “Invalid document, ino:request not found”).

    If I just specify a few entities, everything works fine.

    Is the number of possible specifications limited?

    Could anybody help me?

    I attach three files:
    1. my schema definition
    2. a bad XML file (with full specification)
    3. a good XML file (with one specification)

    Thanks in advance.

    Thorsten (NSDB)
    error_data-loader.zip (4.5 KB)


    #API-Management
    #Tamino
    #webMethods


  • 2.  RE: Tamino Data Loader - Problem with entity specification

    Posted Thu March 20, 2003 01:13 PM

    Hello Thorsten,

    both your inputfiles are somewhat “illegal”.
    The correct way to have DOCTYPE declarations in a Data Loader inputfile is to wrap them:

    ino:documentprolog
    <![CDATA[
    ... your DOCTYPE declaration ...
    ]]>
    </ino:documentprolog>

    and put that wrapper into each document that references these XML entities, i.e. after the ino:object wrapper before the root element .
    There is currently no way, I know of, to specify the XML entities (the DOCTYPE decl) globally.

    All the best,
    Hermann


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Tamino Data Loader - Problem with entity specification

    Posted Thu March 20, 2003 04:22 PM

    Hello Hermann,

    thank you very much for your soon answer.

    I changed my XML file, but unfortunately it does not work.

    I attach my new XML file. Could you help me a second time and tell me what I did wrong?

    I have one further question. When I put the wrapper to each document, can I include into the wrapper the whole DOCTYPE declaration or may it just contain the XML entities, that are referenced by the actual document?

    Thanks for your help.

    Best regards
    Thorsten
    dblp_new.xml (1.2 KB)


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: Tamino Data Loader - Problem with entity specification

    Posted Fri March 21, 2003 01:35 PM

    Hello Thorsten,

    There is nothing wrong with your data.
    I loaded your changed file without problems (albeit against v4.1.2) with a “normal” process command from the Tamino Interactive Interface. (The PROCESS command understands Data Loader syntax).
    It loaded with Data Loader too after I had corrected your schema (collection and doctype were missing in the schemainfo), so that the schema define succeeded.
    So what’s your problem now ?

    As to your 2nd question: I would make one wrapper with all the DOCTYPE declarations to include in the documents.

    All the best,
    Hermann


    #API-Management
    #webMethods
    #Tamino


  • 5.  RE: Tamino Data Loader - Problem with entity specification

    Posted Fri March 21, 2003 04:47 PM

    Hello Hermann,

    thank you for yor reply.

    When I try to load the new XML file (which I loaded up yesterday) I recieve the error message “INOXDE7935: Schema not found”.

    It is the same with the Data Loader GUI within the Tamino Manager and the Interactive Interface.

    Do you know a solution for my problem?

    Thanks again.

    Best regards
    Thorsten


    #Tamino
    #webMethods
    #API-Management