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.  Could not feedback xml values

    Posted 01/03/03 02:27 AM

    :mad:

    Dear all,

    I have problem about using VB program (TaminoNonXML API) to update Tamino via internet
    API could not get the feedback ino: values from Tamino so that the non-xml file (PDF file) do not update.~

    Env:
    Tamino 3.1.1 on Sun Solaris 8;
    iplanet 6.0 on same Sun Solaris 8;
    VB program using TaminoNonXML API on windows XP Professional;

    Sym:
    We discover the feedback “Content Type” from Tamino is “text/pain” but not “text/xml”
    How could I do ?

    Thanks
    mark~


    #API-Management
    #webMethods
    #Tamino


  • 2.  RE: Could not feedback xml values

    Posted 01/03/03 10:29 AM

    Hi Mark,

    Normally when you store or update Non XML objects using the ActiveX API, you use the SetNonXmlWithFilename method. This saves your nonXML object in Tamino with a document name and an ino:id. The ino:id is returned as one of the http headers (X-INO-ID) but isn’t normally accessible to your program via the API.

    If you want to update your document you just repeat the SetNonXmlWithFilename using the same file name argument. If you want to create a new document you use a new file name. To delete an existing document you can use the XML interface, method TaminoX.DeleteDocument(docname).

    If this doesn’t help at all please let us know and post your code.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: Could not feedback xml values

    Posted 01/03/03 10:54 AM

    :mad:
    I tried twice TaminoNonXML with coding

    Set oResult = tamNonXML.SetNonXmlWithFilename(sXML, gSetting.PDF_Folder & "" & PDF_TEMPFILE, “application/pdf”)

    but still fail to update

    I only want to update PDF to Tamino Server, but failed

    mark ~


    #API-Management
    #Tamino
    #webMethods


  • 4.  RE: Could not feedback xml values

    Posted 01/03/03 11:13 AM

    What result do you get from the SetNonXML…
    You can check it with code like this:

    lerr = tamNonXML.GetErrorStatus(errtxt)
    allText = allText + oResult.xml + errtxt
    MsgBox allText

    #webMethods
    #Tamino
    #API-Management


  • 5.  RE: Could not feedback xml values

    Posted 01/06/03 02:14 AM

    Sorry that my problem still not to be solved ~
    It make mym project very trouble
    please give me help hand ~

    Our coding as below:

    Set oResult = TaminoX1.Insert(oDom)
    lInoID = TaminoX1.GetInoId(oResult)

    Dim lerr, allText As String
    lerr = tamNonXML.GetErrorStatus(vErr)
    allText = allText + oResult.xml + vErr
    MsgBox allText

    because oResult = Empty (feedback from Solaris server)
    So, lInoID = 0
    And then tamNonXML.GetErrorStatus(vErr) = “”
    Finally, program cannot show error message as it look as no error since tamino get back zero value


    #webMethods
    #API-Management
    #Tamino


  • 6.  RE: Could not feedback xml values

    Posted 01/06/03 11:02 AM

    Hi Mark,

    You code confuses me a bit…
    you have written:

    Set oResult = TaminoX1.Insert(oDom)
    lInoID = TaminoX1.GetInoId(oResult)
    
    Dim lerr, allText As String
    lerr = tamNonXML.GetErrorStatus(vErr)
    allText = allText + oResult.xml + vErr
    MsgBox allText
    </pre>...so you insert using TaminoX1 (an instance of the ActiveX for processing XML) but you test tamNonXML.GetErrorStatus() where tamNonXML is a Non-XML instance.<BR><BR>To process XML you need code that instantiates the ActiveX like this:<BR><pre class="ip-ubbcode-code-pre">Set TaminoX = CreateObject("TAMINOX.TaminoX1")</pre><BR>and for non-XML like this:<BR><pre class="ip-ubbcode-code-pre">Set TaminoNX = CreateObject("TAMINONONXML.TaminoNonXmlCtrl1")


    …or have I missed something?


    #Tamino
    #webMethods
    #API-Management


  • 7.  RE: Could not feedback xml values

    Posted 01/06/03 02:31 PM

    Hi Mark,

    a remark out of topic: Please use the “ActiveX API” forum for further question regarding the programming with the HTTP Client API for ActiveX.

    Thanks a lot,
    Christian Gengenbach.


    #Tamino
    #webMethods
    #API-Management