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" />

Related Topics   

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:
  • Web service type(s)

  • .Net assembly type(s)

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
  • AUTHENTICATIONTYPE="default"
  • AUTHENTICATIONTYPE="basic"
  • AUTHENTICATIONTYPE="digest"
The type of authentication required (if any). Different parameters may become available depending on the option selected. The available options are:
  • None (default) - No authentication.
  • Default - Default authentication.
  • Basic - Uses a username and password to authenticate a service client to a secure endpoint.
  • Digest - Authentication scheme based on cryptographic hashes.
  • Windows (NTLM or Kerberos) - Windows standard authentication types.
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:
  • SOAP (default)
  • SOAP 1.2
Ignore warnings Yes/No No Yes IGNOREWARNINGS="NO" If selected, SOAP-related warnings are ignored.

Description

Error Causes

On Error

Example

NOTE:
  • Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
  • To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.

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" />