No announcement yet.

Document retrieval

  • Filter
  • Time
  • Show
Clear All
new posts

  • Document retrieval

    Anybody faced with interfacing with a Document Imaging Storage system where the documents are retrieved via the web into a lightweight viewer. So far I've seen that they use vbscript and instantiate their objects with some sample code and send the asp file to a url returning the documents. They list web methods and properties and sounds like a COM interface since they mention IDispatch. They talk a lot about DCOM and I suppose WDSL is involved.

    Need to interface from our product, provide a popup of document matches and then a direct retrieval of the document they want to see using a supplied lightweight viewer of theirs. The document might be txt,jpeg or pdf.

    Our part doesn't look that large since the documents will be stored using our customer id's.

    I'll need to create the ASP file on the fly and submit it to the appropriate url. I'm assuming I'll be using TCP statements and a conversation methodology.

    Just curious if anyone has some time saving advice or examples of how to do this kind of thing.


    Bob Mechler

  • #2
    Also interest here in some rudimentary image management.

    Application: Client's A/R collectors are on the phone with a delinquent customer, who "can't find [yeah, sure] that invoice". Collector would like to be able to send PDF file as email attachment or a facs instantly from his desktop software without breaking the phone connection.

    Right now I am thinking about just re-creating the invoice image, since the data are available in the ERP system's database. But that is far from cast in stone. (Disk space is NOT a concern).

    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    [email protected]


    • #3
      The following is a sample ASP file they suggest as one method of retrieval. Below that is a brief description of their web service. I see that they mention SOAP 1.1 as the minimum protocol. Wasn't there an example of SOAP access to get a random joke or something. Anything at all would be helpful.


      Bob Mechler

      Appendix B: Sample ASP File
      The following code uses Synergy SIM to retrieve a statement from MacroFiche.
      <%@ Language=VBScript
      <%Option Explicit%>
      <META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
      <!--METADATA TYPE="typelib" FILE="C:\program files\jha\synweb\synweb.tlb"-->
      Dim WebSession, objFs, szTempFile, szTempPath, lNumberofHits, lNumberofItems
      Dim iCounter, szHitID, lHitPage, lFirstPage, lNumberofPages
      set WebSession = CreateObject("Synergy.WebSession.1")
      set objFs = CreateObject("Scripting.FileSystemObject")
      WebSession.SignOn "A","A"
      If WebSession.SessionId <> 0 Then
      Response.Write "<B>Login Successful...</B><BR><BR><BR>"
      Response.Write "<B>Login Failed...</B><BR><BR><BR>"
      End if
      WebSession.Institution = "0000"
      WebSession.Date = "19961113"
      WebSession.Application = "DDA"
      WebSession.Report = "DDA STATEMENTS"
      WebSession.OpenQuery swapiRptQuery, swapiListAllMatches
      WebSession.AddQueryItem "ACCOUNT NBR", "=", "200001857"
      WebSession.DoQuery lNumberOfHits, lNumberOfItems
      If lNumberOfHits > 0 Then
      Response.Write "<TABLE BORDER=1>"
      For iCounter = 0 to lNumberofHits -1
      Call NewFile
      WebSession.GetHitInfo szHitID, lHitPage, lFirstPage, lNumberofPages
      WebSession.GetStatement szHitID, 0, lFirstPage, lNumberofPages, szTempFile
      Response.Write "<A HREF=" & Chr(34) & szTempFile & Chr(34) &
      Response.Write "</TABLE><BR><BR><BR>"
      Response.Write "No Hits Found for Query on 200001857<BR><BR><BR>"
      End If
      Private Sub NewFile()
      szTempPath = request.ServerVariables("PATH_TRANSLATED")
      szTempPath = Left(szTempPath, InstrRev(szTempPath,"\"))
      & "Pages\"
      szTempFile = objFs.GetTempName
      szTempFile = szTempPath & left(sztempfile,8) & ".PDF"
      End Sub
      Info on the Web Service itself for retrieval. We only need to know how to enumerate all the documents, types and date ranges for a customer and allow the institution to select the item(s) they want to retrieve. The documents can come back via any extension Windows supports, jpeb,bmp,pdf,tiff etc. The customer's people will do the scanning and submittal for storage.

      SIM.NET provides integration with Synergy through a web service. The standard SIM COM
      API is used for third party integration either from a thick application or hosted as an ASP
      web page. SIM.NET, however, is a Web Service solution to third party SIM integration. It
      provides a streamlined subset of the SIM functionality and uses a consistent set of defined
      web service standards which provides high reliability in terms of access and interoperability.
      The SIM.NET interface includes:
      �� User authentication (signing on/signing off of Synergy)
      �� Search and retrieval of search results
      �� Retrieval of Synergy enumeration types (institutions, dates, applications/cabinets,
      reports/types, and indexes)
      �� Ability to retrieve documents, checks, and reports, along with their attributes.
      SIM.NET is implemented as an ASP.NET web service.
      Multiple SIM.NET web servers may be used; however, session data will not be maintained
      between web servers. A client using the web service must connect to the same web service
      URL for the duration of a session.
      The SIM.NET web service requires the following:
      �� Operating System: Windows 2000 Server SP4 or higher
      �� Web Server: Microsoft Internet Information Services 5.0 or higher
      �� Microsoft .NET framework version 1.1 or higher
      The SIM.NET web service is platform independent. In order to access SIM.NET, the client
      will need software tools to consume a web service and send messages using SOAP 1.1 via