Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 2 Jahren, 7 Monaten
Letzter Beitrag:
vor 2 Jahren, 7 Monaten
Beteiligte Autoren:
Arie, Jan de Bruin, Paulo Oliveira

WD19 - webservice and https

Startbeitrag von Arie am 09.11.2015 15:47

Hi everyone,

I need to communicate with a webservice over https. In this case both sides need a certificate. We already changed and installed the necessary certificates. At least i think so.

When I use a webbrowser all seems to work.

I did an import of the wsdl and put in the right address for the endpoint.

But when I try to use a webservice call from my WD-application, I get an error saying "Security Alert: the security certificate assigned to this site has not been released by a recognized or trusted company"

How can I get this to work?

Antworten:

you can try to ignore the errors of the certificate in the Properties associated with the Webservice.

check IgnoreError in this help page:
http://doc.windev.com/en-US/?3086001

von Paulo Oliveira - am 09.11.2015 17:19
Paulo,
I tried that with no luck before, but you put me in the right direction.
I read the help again (which I should have in the first place) and came across some other hints.
Like htis one

Quote
If the server that is hosting the Webservice requires a Windows authentication in HTTP, HTTPParameter must be called before consuming the Webservice (in order for Internet Explorer to be used for the HTTP requests).


Maybe it is also a combination of settings, I can't tell exactly. At least it works now.
Thanks!

von Arie - am 09.11.2015 18:41
Arie

Maybe a stupid question but do you import using , http of https??

Jan

von Jan de Bruin - am 09.11.2015 18:57
Hi Jan,

the import was also through httpS.
But I did also try with a local copy of the wsdl file.
I don't think it has something to do with that, because afaik I put in all login-credentials, endpoint, etc at runtime.

von Arie - am 09.11.2015 19:21
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.