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.  PutDocument

    Posted Fri June 17, 2005 03:24 PM

    we are using ActiveX API with ASP.
    We want to insert a document. Here is the sample code:

    Dim TamXCreate
    Set TamXCreate = CreateObject(“TaminoX.TaminoX1”)
    If TamXCreate.Initialize <> 0 Then
    TamXCreate.UseServerHTTP(MicrosoftXMLHTTP)
    TamXCreate.Initialize
    TamXCreate.csDatabaseURL = “http://localhost/tamino/myDataBase/Collection
    TamXCreate.csUserName = “”
    TamXCreate.csPassword = “”
    Dim doc,strXML
    Set doc = Server.CreateObject(“Microsoft.XMLDOM”)
    strXml = “”

    doc.loadXML(strXML)
    

    How to write PutDocument for loading this doc.
    And sample code will be great. Thanks in advance


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


  • 2.  RE: PutDocument

    Posted Tue June 21, 2005 09:36 AM

    In the Tamino installation directory under SDK\ActiveXAPI you will find sampleVBXML that has example usage for TaminoX.ocx.

    In the sameple VB I use PutDocument as:

    tamx.PutDocument(doc.DocumentElement.NodeName & “/” & “somedocname”, doc.DocumentElement)

    where you would want “somedocname” to be unique for documents.


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