Configure Outbound SOAP Services in Qntrl | Web Serices Online Help | Qntrl Online Help

Configure Outbound SOAP Web Service

Alert

Early Access  

This feature is not enabled for all users. If you’d like to try it out, please email our support team for early access.

Outbound SOAP services in Qntrl enable communication with external SOAP-based APIs. These services rely on WSDL (Web Services Description Language) contracts that define available operations and parameters.

For more detailed information on WSDL contracts and how they work, refer to the section on WSDL.

Let's see how to create and configure an outbound SOAP message.

Configuring the WSDL Contract   

  1. Navigate to  (settings) >> WEB SERVICES >> Outbound >> Select SOAP.

  2. Click New SOAP and enter the following details:

    1. Name: Provide a name for the SOAP service.


    2. WSDL URL: If using an external WSDL contract, enter the API endpoint URL.


    3. Download WSDL 
      If Download WSDL is enabled, the WSDL from the external URL is downloaded/retrieved. The same is displayed in the Editor.


    4. Authentication Type: Select the required authentication method if the WSDL retrieval requires credentials.


    5. Credentials: Provide authentication details as needed.


    6. Execute in Bridge: Choose the option to execute the SOAP service via the Bridge, then select the appropriate Bridge ID, if applicable.

  1. Click Save. 

      

 

NotesContracts downloaded via URL are read-only. To modify the contract, uncheck the Download WSDL option, and edit the XML manually. In this case, WSDL URL is of no use.


Generating and Executing SOAP Functions   

  1. Go to the SOAP Functions section.

  2. Click Generate SOAP Functions. This will parse the WSDL contract and list the available APIs.

  3. If you want to create a new API message manually, click SOAP Function in the top-right corner to configure a SOAP message from scratch.

      

  1. To execute the select API message from the list, the following fields will be automatically populated:

    1. Name

    2. Binding

    3. Operation

    4. SOAP Action

    5. Endpoint

    6. Message

  2. Fill in the other fields to execute the function:

    1. Authentication Type: Select the authentication type.

    2. Credential: Select the credential for authentication. The first credential provided during SOAP outbound creation is auto-selected but can be overwritten.

    3. Connection Timeout: Set connection timeout (in milliseconds).

  1. Click Send to call the API endpoint and receive a response in XML format.

      



Notes

If you make changes to the WSDL contract, click Regenerate Sample SOAP Messages to refresh the function definitions.

  • Existing SOAP messages will not be deleted.

  • New APIs/messages will be added if detected.

  • Modified messages will be updated automatically based on the latest WSDL.

 

      

 Configuring variables 

  1. We also support local variables or Config Store values in the request message:
  2. If used, click the Refresh icon to populate available variables and assign values accordingly.
  3. Click Send to call the API endpoint and receive a response in XML format.

      

 

Other Actions     

Enable or Disable SOAP Messages   

You can enable or disable a SOAP message at different levels.

  • WSDL Level: Enables or disables the entire WSDL function and its associated APIs.
    • Go to SOAP configuration. 

    • Under the SOAP Library on the left side, enable or disable the SOAP message.

      

  • Function Level: Enables or disables specific API functions within a SOAP message.

    • Go to the SOAP Functions section.

    • Select a message and enable or disable specific API functions.

      


 Delete SOAP Messages   

  • To delete an entire WSDL:

    • Click the Delete icon on the top-right of the SOAP message page.

  • To delete a specific API message inside a WSDL:

    • Go to the SOAP Functions section.

    • Select an API message and click the Delete icon on the top-right.

 

Executing Outbound SOAP in Codex   

You can execute the outbound SOAP function using Codex with the following methods:

Execute by ID  

Use the unique ID assigned to the SOAP configuration to trigger the service.

Syntax

OutboundSOAP.execute("<soap_config_id>", <variables>);

Sample Request

let requestData = {};
requestData["inputNumber"] = "100";
OutboundSOAP.execute(31453000002078039, requestData);


Execute by Name  

Use the WSDL name, function name, and required variables to trigger the service.

Syntax

OutboundSOAP.executeByName("wsdl_name", "function_name", "{var1}:{val1}");

Sample Request

let numberToConvert = {};
numberToConvert["number"] = "100";
OutboundSOAP.executeByName("NumberToWordService", "convertNumberToWord", numberToConvert);
Replace placeholders like "number" or "inputNumber" with actual variable names used in your SOAP input configuration. Always ensure the WSDL and function names are exactly as defined during the SOAP API setup in Qntrl.

 


Sample SOAP Execution   

Converting Numbers to Words  

Sample Request:  

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
   <soapenv:Header/>
   <soapenv:Body>
      <num:NumberToWords>
         <num:ubiNum>123</num:ubiNum>
      </num:NumberToWords>
   </soapenv:Body>
</soapenv:Envelope>

 

Sample Response:  

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Body>
      <NumberToWordsResponse xmlns="http://www.dataaccess.com/webservicesserver/">
         <NumberToWordsResult>One Hundred Twenty-Three</NumberToWordsResult>
      </NumberToWordsResponse>
   </soapenv:Body>
</soapenv:Envelope>




Next:



    • Related Articles

    • Configure Inbound SOAP Web Service

      Early Access This feature is not enabled for all users. If you’d like to try it out, please email our support team for early access. Inbound SOAP Web Services allow you to create endpoints that external systems can call to interact with your Qntrl ...
    • Configure Outbound REST Web Service

      Early Access This feature is not enabled for all users. If you’d like to try it out, please email our support team for early access. Outbound REST Web Services enables users to interact with external web services by sending HTTP requests to retrieve, ...
    • Configure Inbound REST Web Service

      Early Access This feature is not enabled for all users. If you’d like to try it out, please email our support team for early access. Qntrl’s Inbound REST Web Service allows you to create custom API endpoints that external users or systems can call to ...
    • Web Services Overview

      Early Access Web Services is not enabled for all users. If you’d like to try it out, please email our support team for early access. Web services enable different applications to communicate with each other over a network using standard protocols, ...
    • Custom Module

      Early Access Custom Module is not enabled for all users. If you’d like to try it out, please email our support team for early access. The predefined modules in a Bridge may help you reach a DB/App server/AD and accomplish your tasks. However, to meet ...

    You are currently viewing the help articles of Qntrl 3.0. If you are still using our older version and require guidance with it, Click here.