Salesforce

Web Services Operations Details (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Web Services Operations Details (Magic xpi 3.x)

When you define a Web service in the Service Repository, you need click the Operations button to open the Operations dialog box. Here, you can define the service's operations and their parameters. Click New under the dialog box left pane to add a new operation. You should assign a unique name to each operation that you add.

The dialog box consists of the following fields:

Name

Description

Type

The operation type. Select one of the following from the drop-down list:

  • Body

  • Attachment

Argument Name

Enter a valid argument name.

Direction

Select one of the following from the drop-down list:

  • In

  • In/Out

  • Return

Data Type

The type of data handled by the operation. Select one of the following from the drop-down list:

  • Alpha

  • Numeric

  • Logical

  • Date

  • Time

  • BLOB

Picture

Define the returned parameter's format by entering a string of characters. For example, a 15-character alpha-numeric parameter has a picture definition of 15.

XSD Type

This field defines the XML document's data type format. Select one of the following XSD types from the drop-down list:

  • Attachment

  • XML Document – If you select this option and then click , the Optional schema based document dialog box will open. In this dialog box, you can select the schema that defines the XML that is returned to the invoker. You must select a schema that already has a namespace defined in it.

  • xsd:base64Binary

  • XSD:string

XML Schema

Select a predefined XML schema from the Resource Repository.

Reference
Attachment 
Attachment