Editing web srvice properties

Main
How to add and customize operations
How to add and customize parameters
Other settings

On the Main tab, specify the object name, synonym, and comment.

On the Subsystems tab, specify the subsystems that include objects of this type.

On the Operations tab, specify subordinate Operations objects, which, in turn, can have subordinate Parameters required for managing objects of this type. You can describe the subordinate objects using their property palettes.

Operation properties

In addition to common configuration object properties, web service operations have the following properties:

  • Return value type. The value type returned by the web service operation. It can be an XDTO value type or an XDTO object type.
  • Value can be blank. Indicates whether the operation value can be undefined.
  • In transaction. Indicates whether the web service module code is executed in a transaction. If the property value is TRUE, calling a web service automatically starts a transaction. Once the call is complete, the transaction is either submitted or rolled back (depending on the execution result). If the property is set to FALSE, execution of the web service module does not open a transaction.
  • Procedure name. The name of the export procedure of the web service module that is executed when the property is called.
Parameter Properties

In addition to common configuration object properties, web service operation parameters have the following properties:

  • Value type. The value type of the web service operation parameter. It can be an XDTO value type or an XDTO object type.
  • Value can be blank. Indicates whether the operation parameter value can be undefined.
  • Transfer direction. Defines the direction of data tranfer using this parameter. Available values are:
    • Input. The parameter is used for transferring data to the web service.
    • Output. The parameter is used for retrieving data from the web service.
    • Input – Output. The parameter can be used both for transferring data to a web service and retrieving data from it.

On the Other tab, you can set the following properties:

  • Namespace URI. The URI of the web service namespace. Each web service can be uniquely identified by its name and namespace URI.
  • XDTO packages. List of XDTO packages whose types can be used as return value types for web service operations and types of operation parameters.
  • Publishing file name. The name of the web service description file located on the Web server.

Clicking the Module button opens the web service module editor.

1C:Enterprise Developer's Community