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.  x - machine: INOXPE8702

    Posted 09/22/02 02:50 PM

    while trying out some URL-commands to fill my database, i got the same problem as mentioned in this posting
    Load Error INOXPE8702: Invalid document prolog

    unfortunately i cannot find any solution, neither in this forum, nor in the documentation.

    i’m trying to add documents (the patient/hospital examples) into a database. my x-machine command is spelled like this:

     <A HREF="http://localhost/tamino/<db>/Hospital/patient?_process=<path>/atkins.xml" TARGET=_blank>http://localhost/tamino/<db>/Hospital/patient?_process=<path>/atkins.xml</A> 



    and its producing the above mentioned fault.
    using the interactive interface, the loading of the same daocuments into the same database workes without any faults.

    any hints?
    thanks.
    ak


    #Tamino
    #API-Management
    #webMethods


  • 2.  RE: x - machine: INOXPE8702

    Posted 09/23/02 11:00 AM

    The bit that comes after the _process= keyword is the raw xml document itself, hence /atkins.xml is not a valid XML document. You need to replace /atkins.xml with the actual XML document content.

    The Tamino Interactive Interface is HTML and defines a form. When you click “Process”, the browser takes the name of the file and reads its contents and appends it to the _process keyword.


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: x - machine: INOXPE8702

    Posted 09/23/02 11:47 AM

    does this mean, that i have to put every single node of the data i want to fill into the DB into my URL like that:

     <A HREF="http://localhost/tamino/<db>/Hospital/patient?_process=<node1>contentx</node1>" TARGET=_blank>http://localhost/tamino/<db>/Hospital/patient?_process=<node1>contentx</node1></A> </pre><BR><BR><pre class="ip-ubbcode-code-pre"> <A HREF="http://localhost/tamino/<db>/Hospital/patient?_process=<node2>contenty</node2>" TARGET=_blank>http://localhost/tamino/<db>/Hospital/patient?_process=<node2>contenty</node2></A> </pre><BR><BR>or maybe that way:<BR><BR><pre class="ip-ubbcode-code-pre"> <A HREF="http://localhost/tamino/<db>/Hospital/patient?_process=<node1>contentx</node1><node2>contenty</node2>" TARGET=_blank>http://localhost/tamino/<db>/Hospital/patient?_process=<node1>contentx</node1><node2>contenty</node2></A> 



    ???


    #Tamino
    #API-Management
    #webMethods


  • 4.  RE: x - machine: INOXPE8702

    Posted 09/23/02 12:56 PM

    The bit that comes after the _process is the entire xml, e.g.

    http://localhost/tamino/mydb/Hospital/patient?_process=<?xml version="1.0"?>…

    You don’t separate nodes into separate requests, its just one single _process with the complete XML document including the xml prolog.


    #Tamino
    #API-Management
    #webMethods


  • 5.  RE: x - machine: INOXPE8702

    Posted 09/23/02 04:19 PM

    thanks a lot, stuart.


    #webMethods
    #API-Management
    #Tamino