Hi Unifacers,
we succesfully called in the past many webservices both using UHTTP/SEND and SOAP 2.0
now we are facing an authentication issue on a customer where Uniface seem to try to use certificates while not necessary/present in this installation, as a basic user and password authentication is needed here. steps done and tryed:
1) imported WSDL
2) cheched the endpoint
3) checked SOP U2.0 in [DRIVER_SETTING]
4) added basc auth in [SERVICES_EXEC] details for our webservice like: SERVICENAME $SOP:SERVICENAME scheme=B euser=the_username epass=the_password
5) tryed to add ign switch in previous step so ign=HP
6) downloaded ca-bundle.crt from
curl - Extract CA Certs from Mozilla and placed both in working directory and common\usys folder
7) duplicated that file in personal.crt
still get this error:
MESSAGE=HTTP transport error·!·;DETAIL=Request::handleRequest HTTPTransportException:Client attempted to use SSL functions without the proper prerequisites - Verifying SSL certicate for: blablabla.hana.ondemand.com failed: unable to use client certificate (no key found or wrong pass phrase?)"
first question is why uniface tryes anyway to use certificate where there's not
second question if there is a limit for length username/password as they are very long and also contain weird characters like =!| that maybe placed in .ASN could do some problem
third question if username and password need to be encrypted (base64?) or not
we can succesfully call this webservice from the same laptop using SOAPUI+basic authentication
thank you
Simone
------------------------------
Simone Pecchenino
Labinf Sistemi Srl
IT
------------------------------