Type - Define

Declaration

<AMTYPE CUSTOMTYPENAME="text"><PROPERTY TYPE="text" NAME="text" VALUE="text" /></AMTYPE>

Description: Defines a custom object type or object types defined in a Web Service.

Practical Usage

Usually used in conjunction with the Create object activity to create an object from the defined custom type or web service.

General Parameters

Property

Type

Required

Default

Markup

Description

Custom Type

Text

No

(Empty)

TYPENAME="CustomType"

If enabled, specifies the name of the custom type to be created. If this parameter is enabled, the Web Service Type(s) parameter is ignored.

Web Service Type(s)

Text

No

(Empty)

WSDLURL=

"http://www.domain.com/service.wso?WSDL"

If enabled, specifies the WSDL URL or a file location to a WSDL file in which to retrieve the object type(s) from. If this parameter is enabled, the Custom Type parameter is ignored.

Property Parameters

Property

Type

Required

Default

Markup

Description

Type

Text

No

(Empty)

TYPE="Company"

Specifies the property type of the custom type specified in the Custom Type parameter. This parameter is only available if the Custom Type parameter is selected in the General properties. Click Add to add a property type. To delete an existing property type/name, select the entry and click Delete. Additionally, items can be moved up / down the list by selecting the entry you wish to move and clicking the Move Up or Move Down button.

Name

Text

No

(Empty)

NAME="address"

Specifies the name to correspond with the property type. This parameter is only available if the Custom Type parameter is selected in the General properties.

Description tab - A custom description can be provided on the Description tab to convey additional information or share special notes about a task step.

Error Causes tab - Specify how this step should behave upon the occurrence of an error. (Refer to Task Builder > Error Causes Tab for details.)

On Error tab - Specify what AWE should do if this step encounters an error as defined on the Error Causes tab. (Refer to Task Builder > On Error Tab for details.)

Sample

The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.

Description: Define all types in WSDL file "http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL".

<AMDEFINETYPE WSDLURL="http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL"/>