xml.StaxReader.readFrom

Sets the input stream of the StaxReader object to a file or an URL and starts the streaming

Syntax

readFrom(
   url STRING )
  1. url is a valid URL or the name of the file to read.

Usage

Only the following kinds of URLs are supported:
  • http://
  • https://
  • tcp://
  • tcps://
  • file:///
  • alias://

See FGLPROFILE Configuration for more details about URL mapping with aliases, and for proxy and security configuration.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).