Tech Tip: Using CALL WEB SERVICE with SSL
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: July 8, 2004
Using SSL encryption with Web services is as easy as it can get with the CALL WEB SERVICE command. All you need to do is pass in "https" instead of "http" in the endpoint URL location.
For example, the following call is made to a Web service in standard HTTP mode:
CALL WEB SERVICE("https://www.soapservice.com";"Service#Action";"SoapMethod";"urn:soap:schema";Web Service Manual)
And here's how you do it using secure http mode:
CALL WEB SERVICE("https://www.soapservice.com";"Service#Action";"SoapMethod";"urn:soap:schema";Web Service Manual)
Notice that the only difference is that an "s" has been appended to "http" This automatic configuartion makes calling Web services under SSL a very simple process.