DefineParameter - cClientWebService
Defines an operation parameter for a web service operation
Type: Function
Return Data Type: tSoapParamDef
Parameters
| Parameter | Type | Description |
|---|---|---|
| eDataType | Integer | SOAP Parameter data-typeConstantMeaning |
| iMin | Integer | Minimum number of occurances of parameter. 0 or 1 |
| iMax | Integer | Maximum number of occurances of parameter. 1-C_Unbounded |
| sName | String | Parameter SOAP Name |
| sNS | String | Parameter SOAP Namespace |
Syntax
Function DefineParameter Integer eDataType Integer iMin Integer iMax String sName String sNS Returns tSoapParamDef
Call Example
Get DefineParameter eDataType iMin iMax sName sNS to tSoapParamDefVariable
Description
The DefineParameter function is used to define a request parameter or a return parameter. This is used to define parameters whose data type is fundamental (e.g., Integer, String) or pure XML. Struct parameters are defined using the DefineStructParameter method.
| Col 1 | Col 2 |
|---|---|
| Note: | This message is generated and used inside or your client web-service sub-class that was created using the Client Web-Service Class Generator. You should not need to actually use this message when accessing this sub-class in your application. You will only use interfaces like these if you are creating your own classes based on the cClientWebService class. This is considered very advanced usage. If you want to see how this message is used, study the code in the classes generated by the class generator. |