cancel
Showing results for 
Search instead for 
Did you mean: 

Call Commerce OData (for POST) from C4C ABSL - SSL Verification failure

former_member814776
Discoverer
0 Kudos

Hi,

Scenario : Create a B2B unit in Commerce using the below Odata "https://XX.X.XXX.XX:XXXX/odata2webservices/InboundB2Bunit/B2BUnits" from C4C ABSL script.

Steps followed in C4C:

1) Created an external webservice in SDK.

2) Created a communication arrangement (Authentication Type - Basic) corresponding to the communication scenario from Step 1.

3) ABSL Script used to call this webservice is attached as an image - 'ABSL_Code' at the end.

4) Triggered the service.

Issue faced:

Encountering the below error:

<html><head><title>Application Server Error</title></head><body>\r\n<H2><b>404 Connection refused</b></H2><br> \nError is logged with Tag: {0024c411}<br><hr>

Steps followed from Postman: (Call was successful and a B2B unit was created at Commerce End)

1) Added the POST service.

2) Connected to the relevant VPN (of the commerce system).

3) Turned Off the SSL Validation from Settings. Refer to the image attached 'SSLValidation_Postman'.

Result > Successful

Possible Cause for the error when called from the ABSL script of C4C:

Not sure how to turn off the SSL validation during the webservice call from C4C.

Questions:

1) Is there a way to turn the SSL validation off while calling from C4C?

2) Any other alternative to achieve a successful call?

Any response would be highly appreciated.

Thanks,
Krishna

Tue Jul 2sslvalidation-postman.pngabslcode.png6 12:02:09 2022

</body></html>

Accepted Solutions (0)

Answers (0)