This chapter introduces the AquaLogic Data Services Platform™ Excel Add-in, and describes how to install and use the add-in to access data service operations.
The chapter covers the following topics:
You can use the AquaLogic Data Services Platform Excel Add-in to invoke data service operations from Microsoft® Excel®. This has multiple uses, including the following:
This section describes the ALDSP Excel Add-in system requirements and how to install the add-in.
The ALDSP Excel Add-in adds the following system requirements:
The Data Services Platform Excel Add-in is provided with Data Services Platform as a separate installation program. The Excel Add-in installs on your local machine and is accessible from Excel as a menu item.
Before installing the Excel Add-in, uninstall any previous versions of the add-in by clicking Start All Programs BEA AquaLogic Data Services Platform Excel Add-In 3.0 Unload Add-in from Excel.
This section describes how to install the AquaLogic Data Services Platform Excel Add-in.
Note: | Microsoft .NET with SP1 is required for the ALDSP Excel Add-in installation. If Microsoft .NET Framework is not installed on your system, or you have .NET 1.1 or earlier without SP1, the Excel Add-in prompts you to confirm its installation from the Microsoft Web site. Once the correct .NET install is complete, the system proceeds with the ALDSP Excel Add-in installation. (The installation of .NET could take up to 10 minutes for download and configuration.) |
To install the Excel Add-in, complete the following steps:
aldsp_excel_addin_300_win32.exe
You can find this file in the following directory:
<bea_home>/aldsp_3.0/excel-addin
where <bea_home> is the location of the BEA installation on your system. The installation program displays the welcome screen shown in Figure 6-1.
By default the Add-in is installed in the following directory:
C:\Program Files\BEA\AquaLogic Data Services Platform Excel Add-in
The ALDSP Excel Add-in adds a new item, My Data, to the Excel main menu.
After you have completed the installation, you can reference the Excel Add-in documentation, available in the following document:
AquaLogic Data Excel User Guide.pdf
This file is, by default, located in the following directory:
C:\Program Files\BEA\AquaLogic Data Services Platform Excel Add-in\Documentation
The documentation includes the following topics:
Tip: | Information on using the Add-in is also available from the Excel MyData menu option (see Figure 6-2). |
Before accessing data service operations using Excel, you must determine the WSDL URL for the web service.
To prepare to use the Excel Add-in, complete the following steps:
To create a Web Service Map, do the following:
The Excel Add-in requires that the host or IP address specified in /definitions/service/
in the WSDL file match the host name or IP address in the WSDL URL.
port/soap:address/@location
To set the listen address of the server, do the following:
You can paste the WSDL URL into the Web Services Setup dialog, as explained in the section Accessing the Data Service Using Excel.
Alternatively, you can manually set the host name or IP address of the server in the WSDL URL when specifying the value in Microsoft Excel.
To determine the host name or IP address of the server, do the following:
Use the host name or IP address that appears in the WSDL URL when specifying the value in Microsoft Excel
This section describes how to access a data service operation using Excel.
Note: | This assumes that you have installed the Excel Add-in on a local copy of Excel. For more information about installing the Excel Add-in, see Installing the Excel Add-in. |
To access a data service using Excel, complete the following steps:
The example in Figure 6-3 uses retailWS as the name.
This is the WSDL URL that you copied by right-clicking Web Service Map in the ALDSP Data Services Studio Project Explorer and choosing Copy WSDL URL, as described in Preparing to Use the Excel Add-in.
In the example shown in Figure 6-4, the parameterized getCustomerByCustID
operation (which is also the name of the underlying data service function) is selected.
In the example shown in Figure 6-5, the custID
input parameter is selected.
For example, you could type CUSTOMER2 as the customer ID value.
Figure 6-7 shows an example of formatted results.