Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

Hi All,

SQL Anywhere server 12.0.1. There is a third-party (external) web service that is called via the https protocol

To begin with, I am making a simpler version - nttp

CREATE PROCEDURE "DBA"."WebTest2"(in nID integer ,in cDocDate char(10)) 
result (cAttribute long varchar, cValue long varchar) 
dynamic result sets 1
url '!nID&pDocDate=!cDocDate' 
type 'HTTP:POST'

Here everything is working fine.

Now I need to call this service using the https protocol.

As for https - there is a keyword CERTIFICATE, it can specify a file with a certificate or a certificate key. But is a third-party web-service and I accordingly do not have its file with the certificate or the key of its certificate.

Question: What should I do ?

asked 28 Sep '17, 14:03

Stalker's gravatar image

accept rate: 11%

See that question, it applies to the newer 12.0.1 EBFs, as well, starting with, IIRC.

In short: You need to trust the root certificate of the web server's certificate chain.

permanent link

answered 28 Sep '17, 17:00

Volker%20Barth's gravatar image

Volker Barth
accept rate: 34%

edited 28 Sep '17, 17:04

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Sep '17, 14:03

question was seen: 2,155 times

last updated: 28 Sep '17, 17:04