Web Services Properties

Configure connection properties for the Simple Object Access Protocol (SOAP) and Representational State Transfer (REST) architectures.

Name Description Supported Values
Password Specifies the password for HTTP basic authentication, if applicable. Password
Address Specifies a different URL than the port address indicated in the WSDL document at design time. HTTP URL address of the Web service. A backslash is appended to the address URL, if it does not already exist in the URL you specify.
User Specifies the user name for HTTP basic authentication, if applicable. User name
Certificate Alias Sets the alias for the SAP Mobile Platform keystore entry that contains the X.509 certificate for SAP Mobile Server's SSL peer identity.

If you do not set a value, mutual authentication for SSL is not used when connecting to the Web service.

Use the alias of a certificate stored in the SAP Mobile Server certificate keystore.
authenticationPreemptive

When credentials are available and this property is set to the default of false, it allows SAP Mobile Server to send the authentication credentials only in response to the receipt of a server message in which the HTTP status is 401 (UNAUTHORIZED) and the WWW-Authenticate header is set. In this case, the message exchange pattern is: request, UNAUTHORIZED response, request with credentials, service response.

When set to true and basic credentials are available, this property allows SAP Mobile Server to send the authentication credentials in the original SOAP or REST HTTP request message. The message exchange pattern is: request with credentials, a service response.

False (default)

True

Socket Timeout The socket timeout value controls the maximum time, in milliseconds, after a Web service operation (REST or SOAP) is allowed to wait for a response from the remote system; if the EIS does not respond in that time, the operation fails and the SMP thread is unblocked.

Time in milliseconds (default: 6000).

Range of [0 – 2147483647], where 0 is interpreted as infinity.

credential.<X>.name Defines the EIS connection definition to identify the NamedCredential. For more information on token-based SSO using NamedCredential, see Single Sign-on Using NamedCredential in Security.
  • credential.<X>.name=credential name
  • header:<HTTP header name>
  • cookie: <HTTP cookie name>
credential.<X>.mapping Defines how the NamedCredential should be propagated to the EIS. For more information on token-based SSO using NamedCredential, see Single Sign-on Using NamedCredential. credential.<X>.mapping=credential mapping to header/cookie
http.header.X.set Specifies the name of the static header to add to the Web service request (SOAP or REST). Header name
http.header.X.value Specifies the content of the header to add to the Web service request (SOAP or REST). Header value
http.cookie.X.set Specifies the name of the static cookie to add to the Web service request (SOAP or REST). Cookie name
http.cookie.X.value Specifies the content of the cookie to add to the Web service request (SOAP or REST). Cookie value
Related reference
JDBC Properties
SAP Java Connector Properties
SAP DOE-C Properties
Proxy Properties