Progress
External Program
Interfaces


Progress SAX and WebSpeed

Using SAX with WebSpeed applications is relatively straightforward. Just be sure to perform the following extra steps:

  1. Check that WEB-CONTEXT’s IS-XML attribute is YES. This indicates that the WebSpeed transaction server recognizes that an XML document was posted to it.
  2. NOTE: WEB-CONTEXT’s VALIDATE-XML attribute applies only to DOM, not to SAX.

  3. After you create the SAX-READER object, run the SET-INPUT-SOURCE() method as follows:
  4. hSAX-READER:SET-INPUT-SOURCE(“HANDLE”, WEB-CONTEXT). 
    

At this point, proceed with the WebSpeed application as if it were any other Progress SAX application.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095