---
title: "WS Options"
id: "ws-options"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/ws-options"
updated: 2026-12-01T00:42:29Z
---

# WS Options

## Overview

WSOptions class is for backwards compatibility

getAuthType()
Description

Gets the authentication type associated with this web service.
 
Syntax

**getAuthType()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) authType - The authentication type associated with this web service.

* Scope

All

getAuthTypeName()
Description

Gets the authentication type name associated with this web service.
 
Syntax

**getAuthTypeName()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) authType - The short authentication type name associated with this web service.

* Scope

All

getAuthTypesList()
Description

Gets the list of authentication types associated with this web service.
 
Syntax

**getAuthTypesList()**

* Parameters

None

* Returns

List&lt;[String](/articles/user-manual/Data-Types-and-Formats)&gt; authType - The list of authentication types associated with this web service.

* Scope

All

getPassword()
Description

Returns the password set for the web service.
 
Syntax

**getPassword()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) password - The password set for this web service.

* Scope

All

getTimeout()
Description

Gets the timeout in seconds for the web service.
 
Syntax

**getTimeout()**

* Parameters

None

* Returns

[int](/articles/user-manual/Data-Types-and-Formats) timeout - Optional timeout in seconds.

* Scope

All

getURL()
Description

Gets the URL associated with this web service.
 
Syntax

**getURL()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) url - The url for this web service.

* Scope

All

getUserName()
Description

Gets the user name associated with this web service.
 
Syntax

**getUserName()**

* Parameters

None

* Returns

[String](/articles/user-manual/Data-Types-and-Formats) userName - The user name for this web service.

* Scope

All

setAuthType(authTypeDisplayName)
Description

Sets the authentication type for this web service.
 
Syntax

**setAuthType(authTypeDisplayName)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) authTypeDisplayName - The short authentication type name to be for this web service.

* Returns

Nothing

* Scope

All

setPassword(password)
Description

Sets the password for the web service.
 
Syntax

**setPassword(password)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) password - The password to set for.

* Returns

Nothing

* Scope

All

setTimeout(timeout)
Description

Sets the timeout associated with this web service.
 
Syntax

**setTimeout(timeout)**

* Parameters

[int](/articles/user-manual/Data-Types-and-Formats) timeout - The timeout in seconds to be set.

* Returns

Nothing

* Scope

All

setURL(url)
Description

Sets the URL associated with this web service.
 
Syntax

**setURL(url)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) url - The url for this web service.

* Returns

Nothing

* Scope

All

setUserName(userName)
Description

Sets the user name for the web service.
 
Syntax

**setUserName(userName)**

* Parameters

[String](/articles/user-manual/Data-Types-and-Formats) userName - The user name to be set.

* Returns

Nothing

* Scope

All

 © Sepasoft. All rights reserved. 
 [Send feedback](mailto:support@clickhelp.com) on this topic to Sepasoft.