Calculator > Create a Service Connector and a Connection > Step 1: Import a WSDL File to Create a Service Connector
  

Step 1: Import a WSDL File to Create a Service Connector

    1Log in to Application Integration and click New.
    2In the New Asset dialog box, select Service Connectors > Service Connector from WSDL, and then click Create as shown in the following image:
    This image shows the New Asset dialog box with Service Connector > Service Connector Patterns > Create from WSDL highlighted and a Create option.
    3In the New Service Connector from WSDL dialog box, enter the following properties on the WSDL Source tab:
    1. aIn the Name field, enter CalculatorSVC.
    2. bNext to the Location field, browse to and select the Tutorials > Calculator folder.
    3. cEnter the following text in the Description field: Invoke actions from the dneonline.com/calculator.asmx calculator web service.
    4. dNext to WSDL source, select URL and paste the following URL in the URL field:
    5. eDisable the Use authentication option because this service does not require authentication as shown in the following image:
    This image shows the WSDL Source tab of the New Service Connector from WSDL dialog box. The Name, Location, Description, and WSDL Source fields are complete.
    4Click Next.
    The Service and Operations tab opens. You can use the calculator service to perform the following operations: Add, Subtract, Multiply, and Divide. Do not change anything on this tab.
    The following image shows the Service and Operations tab:
    This image shows the Add, Subtract, Multiply, and Divide operations available with the calculator service. The Service Port and Service URL are also visible.
    5Click Next.
    The Summary tab appears with details of the service connector and instructions about what you need to do next. Review the service connector configuration.
    6Click Start Import.
    7Click Finish.
    Process Designer opens with the service connector you generated.

Service Connector Process Objects

A service connector process object groups data. The WSDL file you imported to generate a service connector generates eight process objects.
To view the service connector process objects, click the Process Objects tab in the CalculatorSVC connector.
The following image shows the Process Objects tab for the CalculatorSVC connector:
This image shows the Process Objects tab containing a list of process objects for the Calculator service. Each process object has a section for Properties and Fields.
The following table describes the service connector process objects:
Name
Description
Number of Fields
Field Names
Field Type
AddResponse_AT
Contains the result of the Add action.
One
AddResult
number
Add_AT
Contains the input required to perform the Add action.
Two
intA, intB
number
DivideResponse_AT
Contains the result of the Divide action.
One
DivideResult
number
Divide_AT
Contains the input required to perform the Divide action.
Two
intA, intB
number
MultiplyResponse_AT
Contains the result of the Multiply action.
One
MultiplyResult
number
Multiply_AT
Contains the input required to perform the Multiply action.
Two
intA, intB
number
SubtractResponse_AT
Contains the result of the Subtract action.
One
SubtractResult
number
Subtract_AT
Contains the input required to perform the Subtract action.
Two
intA, intB
number
Note: The fields contained within the Add_AT, Divide_AT, Multiply_AT, and Subtract_AT process objects are identical. This is because you use the same numbers as input for the Add, Divide, Multiply, and Subtract actions.