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>
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.
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.
Can anyone help what is wrong in the API request to get connection string?