Step 1 Create a New Agent Solution

LANSA Integrator

Step 1. Create a New Agent Solution

INT010B - SOAP Service - Define Agent

In this step you will use the LANSA Integrator Studio to create a new Solution in the Project that was created for the SOAP Server in INT010A – SOAP Service – Define Server. The new solution will hold the SOAP Agent details.

1.  With your iii SOAP Server project open in Studio.

2.  Select Solutions, and select New Solution from the context menu to open the New Solution dialog box.

3.  In the New Solutions dialog box:

a.  Select the SOAP Agent Wizard as the Tool from the dropdown list.

b.  Enter the name of the Group which is to contain this solution, in this case EmployeeAgent. You could select from an existing Group from the dropdown list.

c.  Enter the name for the solution in File, in this case iiiEmployeeAgent. This name will be used for the Project File. It will also be used by the SOAP Wizard as a prefix for some of the objects that it generates to support the solution.

6.  Confirm that the new Solution Group is to be created

     LANSA Integrator then displays the New SOAP Agent Project dialog box.

WSDL Source The fundamental pre-requisite for any SOAP Agent Project is to have the WSDL file that describes the web service you want to use.
WSDL stands for Web Services Description Language and is a universal language used to describe a web service.
The file, or its location, is provided by the organization that publishes the web service. In this case, the WSDL file was created in INT010A – SOAP Server – Define Server.

 

7.  Locate the WSDL Source file.

a.  Click the Browse button of the New SOAP Agent Project dialog box.

     The Select WSDL dialog is opened.

b.  If you know the WSDL file's path and name, enter it here otherwise press the Browse button to search for it.

     The WSDL file will be in the Solutions / EmployeeServer folder.

 

c.  Select the WSDL file and click the Open button. You are returned to the Select WSDL dialog box.

d.  Click OK.

     You are returned to the New SOAP Agent Project dialog where the WSDL Source file's path and file name will be displayed.

8.  Click OK to return to the LANSA Integrator SOAP Wizard.

     LANSA Integrator has filled in the fields of the SOAP Wizard dialog with default values.

9.  Change the Package name.

     The Package name is the name that the SOAP Wizard will use when generating the Java implementation files for your solution, so you need to make it unique to your company. For this exercise use com.iiicompany.service.soap.

10.Save your changes and leave the SOAP Wizard open.

Proceed to Step 2. Map Parameters to Program Variables.