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

Create and Configure Outbound SOAP Message

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.

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

    • Create and configure an Outbound REST API

      Outbound REST Web Services enables users to interact with external web services by sending HTTP requests to retrieve, create, update, or delete data on REST-compliant servers. This functionality is designed to integrate seamlessly with external APIs ...
    • Configure an Inbound SOAP Web Service

      Inbound SOAP Web Services allow you to create endpoints that external systems can call to interact with your Qntrl instance. When a SOAP request is sent from an external system, Qntrl processes the request and sends back a response based on ...
    • Custom Function: Create_Job

      This custom function can be used to create a new card in any board. It can also be configured to carry forward necessary field values from the former card to the latter. Business Scenario Helen is the head of Procurement Management in her ...
    • Troubleshooting Outbound SOAP

      1. WSDL URL fetch failure Invalid WSDL URL: Verify the WSDL URL and ensure it is accessible. Test the URL in a browser. Authentication required: If authentication is needed, provide the correct credentials. 2. Cannot modify WSDL contract Downloaded ...
    • Step 1: Create Form

      Forms are used to capture requests from users that help you collect the data required to kickstart workflows and perform tasks in Qntrl. There are different departments in an organization providing different solutions. For instance, the finance team ...

    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.