Type - Define |
<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.
Usually used in conjunction with the Create object activity in order to create an object from the defined custom type or web service.
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 |
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. |
NOTE: 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"/>
|