Class SOAPService

Represents a SOAP WebService.

Property Summary 

PropertyDescription
authentication: StringReturns the authentication type.
serviceClient: ObjectReturns the serviceClient object.

Constructor Summary 

This class does not have a constructor, so you cannot create it directly.

Method Summary 

MethodDescription
getAuthentication()Returns the authentication type.
getServiceClient()Returns the serviceClient object.
setAuthentication(String)Sets the type of authentication.
setServiceClient(Object)Sets the serviceClient object.

Methods inherited from class Service 

call, getConfiguration, getCredentialID, getRequestData, getResponse, getURL, isMock, isThrowOnError, setCredentialID, setMock, setThrowOnError, setURL

Methods inherited from class Object 

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Property Details 

authentication 

authentication: String

Returns the authentication type.


serviceClient 

serviceClient: Object

Returns the serviceClient object.


Method Details 

getAuthentication() 

getAuthentication(): String

Returns the authentication type.

Returns:

  • Authentication type.

getServiceClient() 

getServiceClient(): Object

Returns the serviceClient object.

Returns:

  • serviceClient object.

setAuthentication(String) 

setAuthentication(authentication: String): SOAPService

Sets the type of authentication. Valid values include "BASIC" and "NONE".

The default value is BASIC.

Parameters:

  • authentication - Type of authentication.

Returns:

  • this SOAP WebService.

setServiceClient(Object) 

setServiceClient(o: Object): SOAPService

Sets the serviceClient object. This must be set in the prepareCall method, prior to execute being called.

Parameters:

  • o - serviceClient object.

Returns:

  • this SOAP WebService.