Skip to main content

Writing a SOAP schema file

pxsoap-schema.cfg is a KVGroup configuration file that maps built-in exit trap functions in PSLang to the SOAP messages on the Web service. For example; the ability to create, search or update tickets on a helpdesk system.

Each event action function (such as create, search, update) can be called in a pxsoap.cfg script and are mapped to the actions defined by the schema.

In the script that calls the function "initializeInterface", the configuration file is set as one of the parameters to the associative array (namely "cfg").

See SOAP Scripts for information about creating KVGroup that defines the SOAP message and interface with the SOAP interface. This also includes more details on how to pass parameters such as the schema cfg file to pxsoap