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.  get a NON XML File. Where ?

    Posted 07/19/02 04:36 PM

    I Use Tamino with the next Information:
    url : http://localhost/tamino/myDB
    collection: myCol
    DocType : myDT
    File : data.txt
    When I use the following code:
    dim myDB as string
    dim lDoc

    myDB = “http://localhost/tamino/myDB/myCol/myDT/data.txt
    Set lDoc = TaminoNX.GetNonXml(myDB,“data.txt”)

    1). I’m not sure if that work correct ?
    2). If it does, I don’t know where is the content of the file data.txt ?
    3). Is there a method where I can get the conten of the data.txt ??

    Please, who can help me ???
    who has the most creatively IDEA ???


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


  • 2.  RE: get a NON XML File. Where ?

    Posted 07/22/02 12:20 PM

    The first parameter of method getNonXML is a relativ path, unless it starts with “HTTP”. This is what the Tamino documentation sais:

    GetNonXml
    LPDISPATCH GetNonXml(LPDISPATCH lpszReURL, LPCTSTR lpszFile)

    Gets a document or file from the Tamino database.
    Parameters:
    lpszReURL - NULL or the relative URL added to the database URL if it does not begin with “http://”
    lpszFile - the document or file
    Return Type:
    IXMLDOMDocument

    So I guess, your code is ok. When the call was successful, the resulting document should be in IDoc.


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


  • 3.  RE: get a NON XML File. Where ?

    Posted 07/24/02 12:10 PM

    Not quite correct “IDoc” should be the response document. This should tell you how many bytes were read. “data.txt” should hold the recovered document.


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