Ensuring the Webservice is Safe

Not all X3 objects can be safely published as a webservice. Primarily, this is due to User Interface elements such as message and dialog boxes being called from the object code, requesting for user input and stopping execution.

Before publishing an object it is recommended it is checked for the prohibited variables and instructions.

Prohibited Instructions & Variables

Variables

Zc

Value of the current field.

Zoncou

Name of the current field.

Zonsor

Name of the last entry field.

Zonsui

Name of the next entry field.

Maskcou

The current mask.

Instructions

Addmen

Add a menu.

Additm

Add an element to a menu.

Inpbox

Declaration of a full screen text box.

Dlgbox

Declaration of a dialogue box.

Mesbox

Declaration of a message box.

Errbox

Declaration of an error box.

Wrnbox

Declaration of an information box.

Qstbox

Declaration of a question box.

Leftbox

Fill the left list.

Inftxt

Display of a text.

Infimg

Display an icon.

A number of the UI elements have now been made webservices safe. Where UI elements are used in object code they instead write a warning to the processing report.