Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Unable to get connection String

Solved1.63K views18th July 2023
1
Jeyaram Sumanthiran30 16th July 2021 2 Comments

Hi Team,

I am trying to get connection string  through the blow API request.

Method: POST

Request:

POST /api/v1/soap.asmx HTTP/1.1

Host: https://dataminer.tatamediaservices.com

Content-Type: application/soap+xml; charset=utf-8

Content-Length: 5

<?xml version="1.0" encoding="utf-8"?>

<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">

<soap12:Body>

<ConnectApp xmlns="https://dataminer.tatamediaservices.com/api/v1">

<host>dataminer.tatamediaservices.com</host>

<login>myusername</login>

<password>mypassword</password>

<clientAppName>dataminer</clientAppName>

<clientAppVersion>9.6.9</clientAppVersion>

<clientComputerName>mycomputername</clientComputerName>

</ConnectApp>

</soap12:Body>

</soap12:Envelope>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023
Jeyaram Sumanthiran commented 16th July 2021

Can anyone help what is wrong in the API request to get connection string?

Marieke Goethals [SLC] [DevOps Catalyst] commented 18th July 2023

As this question has been inactive for a long time, we will now close it. If you want further assistance, feel free to post a new question or contact techsupport@skyline.be.

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Ive Herreman [SLC] [DevOps Enabler]13.52K Posted 16th July 2021 3 Comments

Hi Jeyaram,

Can you please confirm if you made the required changes to allow external API requests?
In order to make a web API request from an external machine using HTTP POST instead of SOAP, uncomment a section in the web.config file (C:\Skyline DataMiner\Webpages\API).

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2023
Jeyaram Sumanthiran commented 19th July 2021

Hi Ive,

I did uncomment the Protocol section, but still no luck.

After changes in web.config file do we need to restart the DMA agent?

Note: we have 5 active DMA, and public URL pointed to the user DMA. Where I have uncomment the Protocol section in web.config file.

Ive Herreman [SLC] [DevOps Enabler] commented 19th July 2021

Hi Jeyaram,

You don’t need to restart the DataMiner server to apply the configuration changes.
The changes only need to be made on the server where you perform your API call (the user dma).

Looking at your system in more detail, I notice there is a license restriction.
I’ll reach out through mail for further follow-up.

Jeyaram Sumanthiran commented 27th July 2021

Hello Ive,

I did restart the dataminer server and you confirmed that you have applied the license file.

But still, I am unable to get connection ID, getting same response.
Can you please help?

1
Baptiste Pattyn [SLC] [DevOps Advocate]5.70K Posted 16th July 2021 1 Comment

Hello Jeyaram,

Can you show us some output? Are you getting a response from the WebAPI's and what would be the content of that response?

Wkr

Jeyaram Sumanthiran Posted new comment 16th July 2021
Jeyaram Sumanthiran commented 16th July 2021

Getting 404 not found message.

0
Joachim Ally [SLC] [DevOps Enabler]1.57K Posted 25th May 2023 0 Comments

If someone in the community comes across this question during a search for the connection string, note that there is now an easier way to get it.

Every GQI query should be saved as JSON format into a separate file. To get a correctly configured query, you can make use of the DataMiner Dashboards app:

  1. In the DataMiner Dashboards app, create a dashboard and create a query.
  2. Visualize this query on the dashboard.
  3. Open the developer tools (F12) and go to the Network tab.
  4. Refresh the dashboard and find the OpenQuerySession network call.
  5. Under payload (or request body), you can copy two values: right-click query: select Copy value and do the same for connection.

Source: DataAggregator | Skyline Docs .

Joachim Ally [SLC] [DevOps Enabler] Answered question 25th May 2023
0
Gellynck Jens [SLC]2.71K Posted 16th July 2021 0 Comments

Hi Jeyaram, I tried this and the only difference is that I have a SOAPAction header in my request, also note how the username is starting with .\ for local users. For domain users, you'll need to use domain\username instead.

If that still wouldn't fix your problem, do you receive an HTTP error code (for example 403, 404)? You can also check the IIS logs on the DataMiner server, these are usually located in C:\inetpub\logs\LogFiles\W3SVC1.

Gellynck Jens [SLC] Answered question 16th July 2021
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

How to implement bearer token refresh? 0 Answers | 3 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 2 Votes
Redundancy Groups and Alarming – Duplicate Alarms 1 Answer | 1 Vote

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin