# SOAP Editor With the introduction of the new SOAP Editor, both the performance and usability of SOAP service calls have been significantly enhanced. ## How to Add New Soap Service(from WSDL) to Your Application? You can click the Add New button in the navigation menu on the left side of the page and select the New Soap Service(from WSDL) option. Once 'New SOAP Service (from WSDL)' is selected, a window appears allowing you to upload the WSDL file. ![image](https://hackmd.io/_uploads/ByydEJUtel.png) After clicking the **'Upload'** button, the system parses the provided WSDL file and displays a subsequent screen presenting the parsed WSDL elements. ![image](https://hackmd.io/_uploads/BJ2qVJUtxl.png) Users can select any number of items and continue. Upon clicking the **'Generate'** button, the system begins generating the corresponding models. ![image](https://hackmd.io/_uploads/rkcUHyUFxl.png) The system generates four types of models: **(1) the SOAP Model**, which is utilized within the SOAP Service box; **(2) the Constant Model**, **(3)** the uploaded **WSDL file** itself; and **(4) the Data Type Models**. ### SOAP Model: The **Host Key** field is set via the generated constant model. (LoanManagementServiceV2Endpoint) The **Method Name** field is set based on the item selected on the previous screen. The **SOAP Action** field is set based on the uploaded WSDL file. An initial value of 5000 is assigned to the **Timeout** field, which users may adjust according to their requirements. ![image](https://hackmd.io/_uploads/S1OFDfDclx.png) Input/output definitions are automatically constructed based on the corresponding data type models. ![image](https://hackmd.io/_uploads/r1yj5fv5ex.png) ![image](https://hackmd.io/_uploads/BJy7jzD9el.png) The request body field is initialized using the input parameters defined earlier. ![image](https://hackmd.io/_uploads/BJn_jfv9eg.png) The response header and body fields are initialized using the output parameters defined earlier. ![image](https://hackmd.io/_uploads/SkNypGvcge.png) ### Constant Model: The constant model is generated based on the endpoint value defined in the WSDL file. ![image](https://hackmd.io/_uploads/BJ56aGv9gg.png) ### WSDL Model: The WSDL model is generated from the uploaded WSDL file. ![image](https://hackmd.io/_uploads/H1ChAfP9eg.png) ### DataType Models: Based on the method's input and output definitions in the WSDL file, corresponding data type models are generated. ![image](https://hackmd.io/_uploads/r1gDgXw9lx.png) ![image](https://hackmd.io/_uploads/H1-0l7wcex.png) ![image](https://hackmd.io/_uploads/HJGxbXD5xx.png) ## How to Use Generated Soap Model on Soap Service Box? Once the SOAP Service box is selected, the generated SOAP models will be displayed on the right-hand side of the menu. ![image](https://hackmd.io/_uploads/ry8OYJLYee.png) After selecting one of the generated SOAP models, the corresponding data types for mapping will be displayed on the right-hand side of the menu. The user is able to configure mappings and execute SOAP operations dynamically during runtime. ![image](https://hackmd.io/_uploads/SJzaFkIFgg.png)