ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   SSL Web Service Access (https://www.excelbanter.com/excel-programming/372158-ssl-web-service-access.html)

heikonolte

SSL Web Service Access
 
Hi,

I'm using the SOAP Client 3.0 to access a Web Service. The access works for
http. When I try to access the service using https, I get the message that
the server requires a client authentication. The service is available via
http basic authentication (user/pw) and my client performs a user/pw
authentication.

Accessing the service using the Java http commons library works fine with
https.

Could anybody give me a hint what is wrong here?

Thank you in advance and kind regards,

Heiko


===============

Code:

Dim str_WSML As String
str_WSML = ""

Set sc_EONOIrmsexposuredataS = New SoapClient30

sc_EONOIrmsexposuredataS.MSSoapInit2 c_WSDL_URL, str_WSML, c_SERVICE,
c_PORT, c_SERVICE_NAMESPACE
'Verwenden Sie den Proxyserver, der in den LAN-Einstellungen von
Internet Explorer festgelegt ist,
'indem Sie für "ProxyServer" den Wert <CURRENT_USER festlegen.
sc_EONOIrmsexposuredataS.ConnectorProperty("ProxyS erver") =
"<CURRENT_USER"
'Proxyeinstellungen werden automatisch erkannt, wenn für Internet
Explorer die automatische Erkennung für
' aktiviert ist, indem für "EnableAutoProxy" der Wert "True" festgelegt
wird.
sc_EONOIrmsexposuredataS.ConnectorProperty("Enable AutoProxy") = True

'h16650: Manuell hinzugefügt
sc_EONOIrmsexposuredataS.ConnectorProperty("AuthUs er") = "****"
sc_EONOIrmsexposuredataS.ConnectorProperty("AuthPa ssword") = "****"
sc_EONOIrmsexposuredataS.ConnectorProperty("WinHTT PAuthScheme") = 1
sc_EONOIrmsexposuredataS.ConnectorProperty("Connec tTimeout") = 20000


All times are GMT +1. The time now is 02:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com