|
Type - Import |
Declaration
<AMTYPE ACTIVITY="derived" PROTOCOL="text (options)" PASSPHRASE="text (encrypted)" CERTIFICATE="text" PASSWORD="text (encrypted)" USERNAME="text" DOMAINNAME="text" IGNOREWARNINGS="YES/NO" AUTHENTICATIONTYPE="text (options)" WSDLURL="text" DEFINE="text (options)" DLLFILEPATH="text" />
Description
Performs an import of Web Service or .NET assembly types.
Practical Usage
See Description.
Parameters
General
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Import | Text (options) | Yes | (Empty) | DEFINE="assembly" | Specifies the type of object to import. The available options are:
|
WSDL URI | Text | Yes, if the Import parameter is set to Web service type(s) | (Empty) | WSDLURL="http://example.com/ services/stockquote/WSDL" |
The location to a WSDL (Web Services Description Language) URL or a file location to a WSDL file. |
Dynamic-link library | Text | Yes, if the Import parameter is set to .Net assembly type(s) | (Empty) | DLLFILEPATH="newlib.dll" | Specifies the DLL in which to perform this activity on. Navigate to the appropriate DLL file. Thereafter, click the Load button to populate the Type (for managed DLL), Method Name and Method Return Value fields with the queried values. |
Credentials
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Authentication Type | Text (options) | No | None |
|
The
type of authentication required (if any). Different parameters
may become available depending on the option selected. The available
options are:
|
Domain | Text | No | (Empty) | DOMAINNAME="mydomain.com" | The domain name used for authentication. This parameter is available only if the Authentication Type parameter is set to Basic, Digest or Windows (NTLM or Kerberos). |
Username | Text | No |
(Empty) |
USERNAME="theUser" | The user name used for authentication. This parameter is available only if the Authentication Type parameter is set to Basic, Digest or Windows (NTLM or Kerberos). |
Password | Text | No | (Empty) | PASSWORD="encrypted" | The password used for authentication. This parameter is available only if the Authentication Type parameter is set to Basic, Digest or Windows (NTLM or Kerberos). |
Client Certificate | Text | No | (Empty) | CERTIFICATE="C:\Temp\Cert" | The path to a valid client certificate used for authentication. This parameter is available only if the Authentication Type parameter is set to Basic, Digest or Windows (NTLM or Kerberos). |
Passphrase | Text | No | (Empty) | PASSPHRASE="encrypted" | The passphrase used for authentication. |
Protocol | Text (options) | No | SOAP | PROTOCOL="Soap12" | The
protocol version. The available options are:
|
Ignore warnings | Yes/No | No | Yes | IGNOREWARNINGS="NO" | If selected, SOAP-related warnings are ignored. |
Property
Property | Type | Required | Default | Markup | Description |
---|---|---|---|---|---|
Name | Text | No | (Empty) | NAME="String" | The property names of the object to create. 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. |
Value | Text | No | (Empty) | VALUE="ValueName" | The property values of the object to be created. |
Example
NOTE:
- The sample AML code below can be copied and pasted directly into the Steps Panel of the Task Builder.
- Parameters containing user credentials, files, file paths, and/or other information specific to the task must be customized before the sample code can run successfully.
Example 1
This sample task imports a Web Service type.
Copy
<AMTYPE ACTIVITY="derived" WSDLURL="http://www.dataaccess.com/webservicesserver/textcasing.wso?WSDL/" />
Example 2
This sample task imports a .NET Assembly type.
Copy
<AMTYPE ACTIVITY="derived" DEFINE="assembly" DLLFILEPATH="C:\Program Files\ADCP\adodb.dll" />