Script: Class dw.svc.SOAPService

Class SOAPService

Represents a SOAP WebService.

Properties

authentication : String

The authentication type.

serviceClient : Object

The serviceClient object.

Constructor Summary

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

Method Summary

getAuthentication() : String

Returns the authentication type.

getServiceClient() : Object

Returns the serviceClient object.

setAuthentication(authentication : String) : SOAPService

Sets the type of authentication.

setServiceClient(o : Object) : SOAPService

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

Method Detail

getAuthentication

getAuthentication() : String

Returns the authentication type.

Returns:

Authentication type.

getServiceClient

getServiceClient() : Object

Returns the serviceClient object.

Returns:

serviceClient object.


setAuthentication

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

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.