Defines a custom object type or object types defined in a Web Service. Usually used in conjunction with the Create Object action in order to create an AWE Object from the defined custom type or web service.
Declaration
<AMDEFINETYPE CUSTOMTYPENAME="text"><Property Type="text" Name="text" /><Property Type="text" Name="text" /><Property Type="text" Name="text" /></AMDEFINETYPE>
Example
Define all types in WSDL file "http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL".
<AMDEFINETYPE WSDLURL="http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL"/>
See Also: Create Array, Create Object, Create Variable, Decrement Variable, Define Type, Increment Variable, ReDim Array, Set Variable
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 from which to retrieve the object type(s). 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 want to move and clicking Move Up or Move Down. |
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. |