Request and Response Settings

The technical settings for data transfer of the request and response messages are displayed in the lower screen area of the Advanced Configuration tab. This data is determined automatically using the selected operation.

Field

Description

MIME Format

You can define the MIME format here. (MIME = Multipurpose Internet Mail Extensions) The MIME format defines the format that is to be used for the request and response messages.

The following formats are supported:

  • UrlEncoded

    You use this format for UrlEncoded messages if the message is sent as part of the URL. In this case, an HTTP request is used without a body and the content type is not relevant.

  • FormUrlEncoded

    You use this format for Form-UrlEncoded messages in conjunction with the content type application/x-www-form-urlencoded.

  • JSON

    You use this format for OData and RESTful services in conjunction with the content type application/json.

  • Text

    You use this format to be able to send a text as part of the Web request body. If you select this format, you must set the option text/plain in the Content Type field.

  • XML

    You use this format for XML or SOAP messages in conjunction with the content type text/xml or application/soap+xml.

  • Multipart

    You use this format if you want to upload or download multiple files, such as texts or images. The prerequisite is that you are using a RESTful Web service.

    PCo then adds the content type multipart/form-data automatically. As a result, the system automatically displays the parameters required for uploading or downloading on the Request Message Configuration tab or on the Response Message Configuration tab. (See also: Uploading and Downloading Files.)

  • Binary

    You use this format if you want to upload or download a file. The prerequisite is that you use a RESTful service. The content type application/octet-stream is added automatically. (See also: Uploading and Downloading Files.)

Content Type

The content type defines the content of the request and response bodies.

The following content types are supported:

  • application/json

  • application/soap+xml

  • application/x-www-form-urlencoded

  • text/plain

  • text/xml

  • multipart/form-data

  • application/octet-stream

Protocol

The following protocols are supported:

  • None

  • OData (version 2, 3, and 4)

  • Soap

  • Soap12

Encoding

You can select the encoding format you want here:

  • ascii

  • utf-8

  • utf-16

(See also: Encoding (BC-I18).)