Skip to main content

%XML.Utils.SchemaServer

Class %XML.Utils.SchemaServer Extends %CSP.Page [ Not ProcedureBlock, System = 3 ]

Serves the XML schema for a class via an HTTP request.
The CLASS parameter contains the name of the class to serve the schema for. The FILE parameter contains the file path for the schema file.

Parameters

DOMAIN

Parameter DOMAIN = "%Utility";

Default Localization Domain

CONTENTTYPE

Parameter CONTENTTYPE = "text/xml";

CHARSET

Parameter CHARSET = "UTF-8";

SECURITYRESOURCE

Parameter SECURITYRESOURCE = "%Development:USE";

Require USE permissions on the %Development resource for access to this page.

Methods

fetchWSDL

ClassMethod fetchWSDL(type, url, sslConfig, ByRef content) As %String [ Internal ]

utility used by new Atelier SOAP wizard

OnPreHTTP

ClassMethod OnPreHTTP() As %Boolean

GetEncoding

ClassMethod GetEncoding(stream As %Stream.Object = "") As %String [ ProcedureBlock = 1 ]

AddStyleSheet

ClassMethod AddStyleSheet(stream As %Stream.Object = "") As %Stream.Object [ ProcedureBlock = 1 ]

OnPage

ClassMethod OnPage() As %Status