Class Reference
%ZEN.Template.AddInWizard.SOAPWizard
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%ZEN] >  [Template] >  [AddInWizard] >  [SOAPWizard]
Private  Storage

deprecatedclass %ZEN.Template.AddInWizard.SOAPWizard extends %ZEN.Template.AddInWizard.Template

Studio Template.
The SOAP Wizard reads a WSDL (Web Services Description Language) document and creates one or more SOAP client or service classes.
Each SOAP Client class contains one or more methods that, when invoked, remotely call the corresponding Web Method of the Web Service.
Each SOAP Service class contains one or more methods that may be remotely invoked.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 8 37


Summary

This is a Zen Page class. 

Properties
%condition %import %includeFiles %page
%resource CSPSessionCookie DocumentName DocumentNamespace
InternalPassword InternalURL InternalUsername IsEnsemble
Language Namespace Packages Project
SelectedText TotalPackages User align
aux backgroundTimerInterval cellAlign cellSize
cellStyle cellVAlign children composite
containerStyle cssLevel disabled dragAndDrop
dragEnabled dropEnabled enclosingClass enclosingStyle
error groupClass groupStyle height
helpId hidden hint hintClass
hintStyle id index isExit
label labelClass labelDisabledClass labelPosition
labelStyle layout lblExit lblFile
lblFinish lblNoRespond lblNotExist lblURL
name onafterdrag onbeforedrag onclick
ondrag ondrop onhide onrefresh
onshow onupdate parent showLabel
slice title tuple useSVG
useSoftModals valign visible width
window zenPersistentPopup

Methods
%AddChild %AddChildAfter %AddChildBefore %AddComponent
%AddImportedComponents %AddToProject %AddToSaveSet %AddToSourceControl
%ApplyURLParms %Attr %BindExport %ClassIsLatestVersion
%ClassName %ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %DrawAutoLogout %DrawClassDefinitions %DrawComponentHTML
%DrawErrNote %DrawHTML %DrawHTMLPage %DrawJSStrings
%DrawObjectDefinitions %DrawTitle %EnclosingDivId %EndBackgroundMethod
%EndScript %Eval %EvalC %Extends
%ForceClientRender %GetChildIndex %GetComponent %GetComponentById
%GetComponentByName %GetEventHandlers %GetLinks %GetPageName
%GetParameter %GetValueById %GetValueByName %GetXMLName
%IsA %IsModified %Link %LinkCSS
%LinkScript %MakeId %New %NormalizeObject
%ObjectModified %OnAddToPageAfter %OnAddToPageBefore %OnAfterCreatePage
%OnBeforeCreatePage %OnCreateApplication %OnCreatePage %OnDetermineCSSLevel
%OnDrawEnclosingDiv %OnDrawHTMLBody %OnDrawHTMLHead %OnDrawHTMLMeta
%OnDrawObjectProperties %OnFinishBackgroundTask %OnMonitorBackgroundTask %OnMutateChildren
%OnObjectSynch %OnPreHTTP %OnSubmit %OnTemplateAction
%OnUseSoftModals %OnZENDeserialize %OriginalNamespace %PackageName
%QuoteValue %QuoteValueL10N %RemoveChild %RemoveChildren
%RemoveComponent %RemoveFromSaveSet %RunBackgroundMethod %Self
%SerializeObject %SetBackgroundMethodStatus %SetClassName %SetErrorById
%SetErrorByName %SetModified %SetValueById %SetValueByName
%SetValuesByName %StartScript %TemplateHeader %ValidateObject
%ZENVersion CheckAllBlanks ConfirmAddSoap ConvertParameter
Decrypt DrawNS DrawPageTitle Encrypt
EscapeHTML EscapeURL FileExists GetRecentList
GetSRC GetStatus HyperEventCall HyperEventHead
Include InsertHiddenField InsertHiddenFields IsEnabled
IsPrivate IsValidClassName JavaInstalled Link
LocalizeName OnHTTPHeader OnPage OnPageError
OnPostHTTP OnPostHyperEvent OnPreHTTP OnPreHyperEvent
Page PreProcess QuoteJS RewriteURL
SaveLast ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType addChild
addChildAfter addChildBefore adjustSize canFinish
canGoBack canGoNext cancelPopup cancelTemplate
changeBusOp changeClassType changeClient changedFileType
childrenMutated correctIELayering createComponent createComponentNS
deleteComponent doBrowse doLogin dragFinishHandler
dragHandler dragNotifyHandler dragStartHandler drawDone
dropHandler dropStartHandler endModal exposeComponent
findElement finishTemplate fireOnResizeEvent fireOnUnloadEvent
fireOnUpdateEvent firePopupAction formValidationHandler getChildIndex
getComponent getComponentById getEnclosingDiv getHidden
getHintElement getLabelElement getOpener getPackages
getProperty getSettings getType gotoPage
hasMultiplePages invokeSuper isOfType launchPopupWindow
makeId nextPage onCreate onDelete
onDisplayHandler onEndModalHandler onPopupAction onRefreshContents
onSerialize onServerMethodCall onServerMethodError onServerMethodReturn
onStartModalHandler ondisabledHandler onfinishHandler onhandleAutoLogoutWarn
onkeydownHandler onkeyupHandler onlayoutHandler onloadHandler
onlogoutHandler onoverlayHandler onresizeHandler onstartHandler
onunloadHandler onupdateHandler outputDone popupActionHandler
previousPage refreshContents removeChild render
renderContents renderSVG resetMsg retrieveSoapClasses
setComponentId setHidden setOverlayMode setProperty
setPropertyAll setTraceOption showDocumentation showHelp
showMsg startModal startMonitorFinishButton startProgressBar
stopProgressBar updateFile updateState updateURL
validateRequired


Parameters

• parameter HELPID = "GSOAP_soapwizard";
DOCBOOK Topic Id that offers help for this template.
• parameter PAGETITLE = "SOAP Wizard";
Display title of this page
• parameter TEMPLATEDESCRIPTION = "creates one or more SOAP client or service classes from a WSDL document.";
Short description of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATENAME = "SOAP Wizard";
Name of the template to show in Studio.
If DOMAIN is defined this will be localized.
• parameter TEMPLATETITLE = "SOAP Wizard";
Title of the template to show in the template window.
• parameter TEMPLATETYPE = "cls";
Comma separated list of 'CSP', 'CSR', 'MAC', 'INT', 'INC', 'BAS', 'CLS' to say what type of code this template generates; CSP, CSR, Routine, or Class code. You can also specify '*' for all types.

Properties

• property InternalPassword as %String;
Internal password to be used for HTTP authentication.
• property InternalURL as %String;
Internally reconstructed URL with user entered username and password. This url will not be saved into recent list.
• property InternalUsername as %String;
Internal username to be used for HTTP authentication.
• property IsEnsemble as %ZEN.Datatype.boolean;
• property Packages as %ZEN.Datatype.string;
String that contains package names delimited by comma.
• property TotalPackages as %ZEN.Datatype.integer;
Number of total Namespaces which is the same as total packages
• property lblFile as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter the path and name of a WSDL File:") ];
• property lblURL as %ZEN.Datatype.caption [ InitialExpression = $$$TextJS("Enter a WSDL URL:") ];

Methods

• classmethod %DrawErrNote(pSeed) as %Status
• method %OnAfterCreatePage() as %Status
This callback is called after the server-side page object and all of its children are created.
Subclasses can override this to add, remove, or modify items within the page object model, or to provide values for controls.
• classmethod %OnPreHTTP() as %Boolean
Zen page notification of an HTTP request. This method can be overwritten by subclasses.
This is called before the standard Zen pre-HTTP processing occurs.
• method %OnTemplateAction() as %Status
This method is called when the template is complete. Any output to the principal device is returned to the Studio.
(1) adding classes to the project; (2) classes may be opened if Studio's option "Open file to added project" is checked.
• method ConfirmAddSoap() [ Language = javascript ]
this method is only called from SWT browser of Atelier
• classmethod DrawNS(proxy As %ZEN.proxyObject) as %Status
Draw page 3, namespaces
• classmethod DrawPageTitle(pSeed As %String) as %Status
• classmethod FileExists(filename) as %Boolean [ ZenMethod ]
Check if file exists
• classmethod GetRecentList(filetype) as %String [ ZenMethod ]
Get recent list for URLs or Files. filetype = "FILE" or "URL".
• classmethod GetSRC(filetype As %String, url As %String, sslConfig As %String = "", sslCheckServerId As %Boolean, username As %String = "", password As %String = "") as %String [ ZenMethod ]
Given the url or file, load the file. Save the url or file to ^ISC.SOAPClientWizard.
• classmethod GetStatus(tab) as %ZEN.proxyObject [ ZenMethod ]
tab = 3: NS - when DrawNS is finished, Status is "Done".
• classmethod PreProcess(proxy As %ZEN.proxyObject) as %String [ ZenMethod ]
For page 3, do preprocess to find out whether it is multiple
• classmethod SaveLast(filetype, url, sslConfig="", sslCheckServerId) [ ZenMethod ]
FileType is either "FILE" or "URL".
• method canFinish() [ Language = javascript ]
Return true if this template can Finish (i.e., enable the Finish button).
• method canGoBack() [ Language = javascript ]
Return true if this template can go to the previous page (i.e., enable the Back button).
This is implemented by subclasses.
• method canGoNext() [ Language = javascript ]
Return true if this template can go to the next page (i.e., enable the Next button).
• method changeBusOp(ischecked) [ Language = javascript ]
User clicked "Create Business Operation". If it's checked default Class Type to Serial; Else default to Registered.
• method changeClassType(ischecked) [ Language = javascript ]
User clicked class type radio button. Hide cascaded deltes check box if not persistent class type.
• method changeClient(ischecked) [ Language = javascript ]
User clicked "Create Client for Web Service"
• method changedFileType(thisObj) [ Language = javascript ]
User changed file type. Change label. Show filename and browse button if type is FILE.
• method doBrowse() [ Language = javascript ]
Launching a file selector window.
• method doLogin() [ Language = javascript ]
User typed in Username and Password. Re-construct url and try again.
• method drawDone(tab) [ Language = javascript ]
This method is fired up after onDrawContent is finished. Hide progress message and display error if exists.
• method getPackages() [ Language = javascript ]
Validate and return packages string. If a package name is empty, display message and return 0.
• method hasMultiplePages() [ Language = javascript ]
Return true if this template has more than one "page". This will display Back and Next buttons. This is implemented by subclasses.
• method nextPage() [ Language = javascript ]
Go to the next page of the template (if there is one).
• method onPopupAction(popupName, action, value) [ Language = javascript ]
Returning from file select OR qualifers dialog and setting the value into the appropriate field. The id of the field that needs to be updated is saved in "dialogClicked".
• method onresizeHandler() [ Language = javascript ]
This client event, if present, is fired when the page is resized.
• method onstartHandler() [ Language = javascript ]
This is called when the template is first displayed; This provides a chance to load the last filetype, etc.
• method outputDone() [ Language = javascript ]
class loading finished. Enable Finish button and hide progress message.
• method previousPage() [ Language = javascript ]
Go to the previous page of the template (if there is one).
This is implemented by subclasses.
• method resetMsg() [ Language = javascript ]
Clear message on top of page.
• method retrieveSoapClasses() [ Language = javascript ]
this method is only called from SWT browser of Atelier
• method showMsg(msg) [ Language = javascript ]
Display message on top of page.
• method startMonitorFinishButton() [ Language = javascript ]
this method is only called from SWT browser of Atelier
• method updateFile(file) [ Language = javascript ]
Load the recently used file into textbox
• method updateURL(url) [ Language = javascript ]
Load the recently used url into textbox


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.