Web Service Operation Details (Magic xpa 3.x)
Here we define the properties for the operation, including the arguments of the selected program.
The initial mapping of an argument to WSDL type is based on the default mapping table.
|
|
Program
|
This is the Magic xpa program. The program name is read-only. You need to click the browse button to select a program to use. When you click the browse program, the List of Available Operations screen appears.
If one of the arguments (or return value) for this program is OLE, Vector or .NET, then OK will be disabled and an error message will be displayed: “This program has an invalid argument and may not be used as an operation.”
|
Argument Name
|
The name of the task parameter. If there are any characters apart from lowercase, digits and underscore, they will be replaced by underscore. This will also happen after editing the field.
|
Type
|
A combo box of the valid WSDL simple types for the Magic xpa attribute.
-
If the data type is of type BLOB, there will be an added entry in the combo box called “Attachment”.
-
If the data type is of type Unicode, Alpha or BLOB, there will be an added entry at the end of the list called “Document”. If Document is selected, the browser button will bring you to the Optional Schemas-Based Document dialog box.
See also:
How Do I Provide Web Services with Attachments?
How Do I Send or Receive Complex Arguments from a Web Service as a Provider?
|
Order
|
A combo box with the following options:
|
If your program has a return value defined, you will also see the Return Value properties:
|
Expression
|
The return value of the Web Service operation.
|
XSD Type
|
The builder, based on the default mapping of the WSDL type, maps the Magic xpa attribute.
Numeric
|
xsd:long - (default for integer arguments/return-value expression)
xsd:int
xsd:short
xsd:unsignedLong
xsd:unsignedInt
xsd:unsignedShort
xsd:double - (default for non-integer arguments/return-value expression)
xsd:float
|
Alpha
|
xsd:string
|
Unicode
|
xsd:string
|
Logical
|
xsd:boolean
|
Blob
|
'XML Document' (The developer will select the schema and element names in another dialog box.)
Attachment (described in the supplementary XML, not in the WSDL)
xsd:base64Binary – the default
xsd:string
|
Date
|
xsd:int
|
Time
|
xsd:int
|
|