WS Port

Sepasoft MES Module Suite

Object Functions

 

addOperation(operation)

Description

This script function will add an operation to the web service port.

Syntax

addOperation(operation)

 

  • Parameters

WSOperation operation - The operation to be added.

  • Returns

Nothing

  • Scope

All

getDefinition()

Description

Returns the WS definition for this port.

Syntax

getDefinition()

 

  • Parameters

None

  • Returns

WSDefinition definition - The definition corresponding to this WS port.

  • Scope

All

getName()

Description

Gets the name of this WS operation.

Syntax

getName()

 

  • Parameters

None

  • Returns

String name - The name of this operation.

  • Scope

All

getOperation(name)

Description

Returns the operation specified by the name parameter.

Syntax

getOperation(name)

 

  • Parameters

String name - The name of the operation to return for.

  • Returns

WSOperation operation - The web service operation with the specified name.

  • Scope

All

getOperationNames()

Description

Returns a list of operation names.

Syntax

getOperationNames()

 

  • Parameters

None

  • Returns

List<String> operationNames - A list of the names of operations associated with this WS port.

  • Scope

All

getOperations()

Description

Gets all the operations associated with this WS port.

Syntax

getOperations()

 

  • Parameters

None

  • Returns

WSOperation operations - A list of operations for this web service port.

  • Scope

All

setDefinition(definition)

Description

Sets the definition for this WS port.

Syntax

setDefinition(definition)

 

  • Parameters

WSDefinition definition - The web service definition to set for.

  • Returns

Nothing

  • Scope

All

setName(name)

Description

Sets a name to this ws operation.

Syntax

setName(name)

 

  • Parameters

String name - The name to set the ws operation for.

  • Returns

Nothing

  • Scope

All

setOperations(operations)

Description

Set the operations for this WS operation.

Syntax

setOperations(operations)

 

  • Parameters

WSOperation operations - A list of operations for this web service port.

  • Returns

Nothing

  • Scope

All

 

 

 

 

 

Sepasoft MES Module Suite