Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

SOAP connection Json

Suresh1
New Contributor
New Contributor

Hello Team,

I am trying to establish a connection between Saviynt and SAP system using a SOAP connector. While testing the connection getting below error Error in test connection for SOAP:
java.lang.Exception: Unrecognized SSL message, plaintext connection?

Suresh1_0-1704485688863.png

below sample json has been used in connection json

{
    "authentications": {
        "samplewebservice": {
            "properties": {
                "SOAP_ENDPOINT" : "https://<domain>",
                "USERNAME" : "XXXXXXXX",
                "PASSWORD" : "XXXXXXXX",
                "REQUESTPARAMS" : {
                    "Content-Type" : "text/xml"
                }
            }
        }
    }
}

could you please help me in this ?

Regards,

Suresh V

7 REPLIES 7

Dhruv_S
Saviynt Employee
Saviynt Employee

Hi @Suresh1 

From the error message, it seems that this is a certificate issue. Could you please check if a valid SSL Certificate is selected while creating the connection.

Also please check if you can connect using SOAP UI.

Regards,

Dhruv Sharma

rushikeshvartak
All-Star
All-Star

It is due to the fact that you are talking to an HTTP server, not an HTTPS server. Probably you didn't use the correct port number for HTTPS.

 

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

I have tried with both https and http, getting below errors

With http and port 1443

Suresh1_0-1704821431742.png

With Https and port 1443

Suresh1_3-1704826202295.png

 

 

 

Did you imported certificate 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi @Suresh1 

Could you please check if a valid SSL Certificate is selected while creating the connection.

Regards,

Dhruv Sharma

Hey @Dhruv_S , Thank you for the update.

Just wanted to understand do we require an SSL certificate for this connection ? Because we already have this connection configured in prod (pointing to a production instance of SAPGRC)and i dont see any cert configured there in the prod connection.

Regards,

Suresh V

Dhruv_S
Saviynt Employee
Saviynt Employee

Please go step by step

Check if you can access the same URL/Port using SOAP UI/Postman. 

What is the behavior with http and https ? Is the port you are using is correct?

Then please crosscheck the SSL certificates and import select the SSL certificates. 

Also crosscheck other configurations with the environment where it is working.

Regards,

Dhruv Sharma