The StaxWriter class / xml.StaxWriter methods |
Sets the output stream of the StaxWriter object to a file or an URL, and starts the streaming.
writeTo( url STRING )
Throws an exception in case of errors, and updates status with an error code.
See FGLPROFILE Configuration for more details about URL mapping with aliases, and for proxy and security configuration.
writeTo("printerList.xml")
writeTo("http://myserver:1100/documents/printerList.xml")
writeTo("https://myserver:1100/documents/printerList.xml")
writeTo("alias://printerlist")where printerlist alias is defined in fglprofile as ws.printerlist.url = "http://myserver:1100/documents/ptinterList.xml".