Namespace: OpenEdge.Core.ServerConnection
Class 
WebServiceConnectionParameters
Parent classes:
Inherits: OpenEdge.Core.ServerConnection.ConnectionParameters

Copyright (c) 2013 by Progress Software Corporation. All rights reserved.
File:WebServiceConnectionParameters
Purpose:Specialised connection parameters for connecting to a WebService connection
Author(s):pjudge
Created:Thu Feb 28 15:07:49 EST 2013
Notes:* The Options property contains JSON data, which for a URL must have
the following structure
{"ServiceName": "",
"PortName":"",
"Operation":"",
"URL": Parameters as per OpenEdge.Core.ServerConnection.UrlConnectionParameters
OR a simple string like "http://localhost:8980/axis/services/Corticon?wsdl"
"Options": [{"WSDLUserId": "user-id"},{"WSDLPassword":"password"}]}




Method Summary
Options Name Purpose
# CHARACTER GetConnectionString () /** Returns the Options as a formatted string for use by the server to connect. This may be the the ABL CONNECT statement or some other parameter. @return character A useable string of connection parameters. */
Overrides OpenEdge.Core.ServerConnection.ConnectionParameters:GetConnectionString ()
# CHARACTER GetConnectionString (character) /** Returns the Options as a formatted string for use by the server to connect. This may be the the ABL CONNECT statement or some other parameter. @param character The format mask to use. Overrides the mask specified by the property. @return character A useable string of connection parameters. */
Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
# CHARACTER GetConnectionString (FormatMaskEnum) /** Returns the Options as a formatted string for use by the server to connect. This may be the the ABL CONNECT statement or some other parameter. @param FormatMaskEnum The format mask to use. Overrides the mask specified by the property. @return character A useable string of connection parameters. */
Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
# CHARACTER GetConnectionString (JsonObject, character) /** Returns the Options as a formatted string for use by the server to connect. This may be the the ABL CONNECT statement or some other parameter. @param JsonObject Options in JSON format. @param character The format mask to use. @return character A useable string of connection parameters. */
Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Initialise ()
+ ShadowConstructor (JsonObject, FormatMaskEnum) /** Shadow constructor for this class. Used instead of a real constructor since some transformations have to happen before its called, and since a constructor must be invoked first via SUPER or THIS-OBJECT, there's no room for those transformations. @param JsonObject The options in JSON form @param FormatMaskEnum The Format mask to use for this connection. */
Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters

Constructor Summary
Options Name Purpose
# WebServiceConnectionParameters (character)
# WebServiceConnectionParameters (JsonObject)

Property Summary
Options Name Purpose
# OpenEdge.Core.ServerConnection.FormatMaskEnum FormatMask /** The FormatMask property contains a mask to be used together with the ABL SUBSTITUTE function. It can include up to 9 substitutions (&1-&9) and should also include any key/value pair separators (space, usually). */
Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
# CHARACTER Operation /** The name of the (default) Operation */
# CHARACTER PortName /** The name of the (default) Port */
# CHARACTER ServiceName /** The name of the WebService */


Method Detail
Top

PROTECTED CHARACTER GetConnectionString ()

Overrides OpenEdge.Core.ServerConnection.ConnectionParameters:GetConnectionString ()
Purpose: Returns the Options as a formatted string for use by the server to connect.
This may be the the ABL CONNECT statement or some other parameter.
Returns CHARACTER
character A useable string of connection parameters.
Top

PROTECTED CHARACTER GetConnectionString (character)

Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Purpose: Returns the Options as a formatted string for use by the server to connect.
This may be the the ABL CONNECT statement or some other parameter.
specified by the property.
Parameters:
pcFormatMask CHARACTER
Returns CHARACTER
character A useable string of connection parameters.
Top

PROTECTED CHARACTER GetConnectionString (FormatMaskEnum)

Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Purpose: Returns the Options as a formatted string for use by the server to connect.
This may be the the ABL CONNECT statement or some other parameter.
specified by the property.
Parameters:
poFormatMask OpenEdge.Core.ServerConnection.FormatMaskEnum
Returns CHARACTER
character A useable string of connection parameters.
Top

PROTECTED CHARACTER GetConnectionString (JsonObject, character)

Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Purpose: Returns the Options as a formatted string for use by the server to connect.
This may be the the ABL CONNECT statement or some other parameter.
Parameters:
poOptions Progress.Json.ObjectModel.JsonObject
pcFormatMask CHARACTER
Returns CHARACTER
character A useable string of connection parameters.
Top

Initialise ()

Top

PUBLIC ShadowConstructor (JsonObject, FormatMaskEnum)

Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Purpose: Shadow constructor for this class. Used instead of a real constructor since some transformations
have to happen before its called, and since a constructor must be invoked first via SUPER or THIS-OBJECT,
there's no room for those transformations.
Parameters:
poOptions Progress.Json.ObjectModel.JsonObject
poFormatMask OpenEdge.Core.ServerConnection.FormatMaskEnum


Constructor Detail
Top

PROTECTED WebServiceConnectionParameters (character)

Parameters:
pcOptions CHARACTER
Top

PROTECTED WebServiceConnectionParameters (JsonObject)

Parameters:
poOptions Progress.Json.ObjectModel.JsonObject


Property Detail
Top

PROTECTED OpenEdge.Core.ServerConnection.FormatMaskEnum FormatMask

Inherited from OpenEdge.Core.ServerConnection.ConnectionParameters
Purpose: The FormatMask property contains a mask to be used together with
the ABL SUBSTITUTE function. It can include up to 9 substitutions (&1-&9)
and should also include any key/value pair separators (space, usually).
Returns OpenEdge.Core.ServerConnection.FormatMaskEnum
Top

PROTECTED CHARACTER Operation

Purpose: The name of the (default) Operation
Returns CHARACTER
Top

PROTECTED CHARACTER PortName

Purpose: The name of the (default) Port
Returns CHARACTER
Top

PROTECTED CHARACTER ServiceName

Purpose: The name of the WebService
Returns CHARACTER


10.27.2015 12:36:28