Unable to call HTTPS Webservices in Excel 2010

gsaini

New Member
Joined
Apr 8, 2011
Messages
15
I am using GetSession function to generate the session id as below. The below function is working fine on Excel 2003 but doesn't get the session id while running the macro in Excel 2010.

I have created al the needed certificates and macro runs fine in 2010 with HTTP, only getting problem with HTTPS

Any help or suggestion will be much appreciated.

Function GetSessionId(userName As String, password As String)
'Get the sessionId Dim objSClient As SoapClient30
On Error GoTo loginError

<CODE>Set objSClient = New SoapClient30</CODE></PRE>'Call objSClient.mssoapinit(par_WSDLFile:="https://10.101.20.14:443/wsdl/Query/gurj_web_q")

<CODE>GetSessionId = objSClient.Login(userName, password)</CODE></PRE>Exit Function
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top