webMethods

webMethods

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.  Using ActiveX NonXML API in JavaScript.Solved.

    Posted Thu September 12, 2002 10:07 AM

    The problem was solved.
    But response from
    “TaminoNX.SetNonXmlWithFilename(…”
    not has “ino:id” of loaded non-XML object.

    Markk, thanck you. Good luck.
    :slight_smile:


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 2.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Thu September 19, 2002 10:34 AM

    I don’t think you get ino:id with non XML objects. You can ONLY address them by name. This is why you have to supply a name when inserting them.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 3.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Thu September 19, 2002 05:03 PM

    As far as I know all objects stored in Tamino have associated ino:id. When I load non-XML objects using TII, I can find ino:id in Tamino response (POST request). I think the problem is that SetNonXmlWithFilename method exploits PUT request. but PUT method doesn’t imply any response except for HTTP headers with status code.


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 4.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Mon September 23, 2002 11:02 AM

    The document is including two part: XML and non-XML. The XML part must keep a reference to non-XML:
    http://CBH/tamino/myDB/Mail/nonXML/@ino:id

    or

    http://CBH/tamino/myDB/Mail/nonXML/ino:docname

    or


    :slight_smile:


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 5.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Thu September 26, 2002 03:04 PM

    I think that you are right that even non-XML documents have an associated ino:id. I think that it is returned as an HTTP header X-INO-id. I still think that the preferred mechanism for XML and non-XML documents is to deal with document names rather than just “numbers”.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 6.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Fri September 27, 2002 10:51 AM

    You are right, markk.

    But. I planed to write the loading of non-XML object how it realized in “Interactive Interface” - without Active-X.
    But. I can not recive the data from “xqlout” frame.

    Bye-bye.


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 7.  RE: Using ActiveX NonXML API in JavaScript.Solved.

    Posted Wed September 14, 2005 08:33 PM

    Here a simple example in VBScript.

    Note: An real application need to run it in the server side (ASP for example), and will need to upload file to the server before load it in Tamino.


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management