Click here to Skip to main content
16,004,927 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Should COM+ interface be dispatchable ? Pin
Anonymous20-Jun-05 17:11
Anonymous20-Jun-05 17:11 
GeneralWindow Title disappears when changing focus Pin
retro_coder20-Jun-05 1:10
retro_coder20-Jun-05 1:10 
GeneralUsing Context Free Grammers Pin
fordge19-Jun-05 22:09
fordge19-Jun-05 22:09 
GeneralRe: Using Context Free Grammers Pin
Stuart Dootson21-Jun-05 21:49
professionalStuart Dootson21-Jun-05 21:49 
GeneralRe: Using Context Free Grammers Pin
Jörgen Sigvardsson22-Jun-05 8:08
Jörgen Sigvardsson22-Jun-05 8:08 
GeneralUsing WTL in Win32 Pin
daydremer19-Jun-05 17:34
daydremer19-Jun-05 17:34 
GeneralGetting the caret position of a running IE Pin
Member 77730117-Jun-05 5:05
Member 77730117-Jun-05 5:05 
GeneralAccessing HTTPS Webservice using VC++ 7.1 Pin
arun140517-Jun-05 3:33
arun140517-Jun-05 3:33 
Hi Folks,

I have a webservice written in Java successfully deployed on Tomcat 5.5.9. I have updated the server configuration file of Tomcat to support SSL communication on port 8443. After restarting the tomcat server, I am able to access the webservice also on the following URL through web-browser.

https://localhost:8443/mywebservice

As before, it is also accessible on http://localhost:8080/mywebservice.

Now, I am developing a COM client in Microsoft Visual Studio (Visual C++ 7.1) that uses this webservice. The stubs are automatically created using the tool SPROXY of Visual Studio. Everything works fine as long as I give the URL of the webservice as http://localhost:8080/mywebservice.

But, if I try to give the HTTPS URL "https://localhost:8443/mywebservice", the method invocation on the webservice fails. Infact, the call does not reach at all to the webservice. The call reaches the corresponding method in the stub file (the file generated by sproxy). In the method, it fails while executing "SendRequest" method.

While debugging, I found that SendRequest is actually routed to atlsoap.h from where it goes to "Navigate" function in atlhttp.inl. Here, it fails while executing SetDefaultURL function. The exact line where it fails is Line 2142 of atlhttp.inl, which is following:

if ( currScheme != ATL_URL_SCHEME_HTTP && !TSocketClass::SupportsScheme(currScheme) )<br />
	return false; // only support HTTP



Could anyone suggest what changes I might have to make to successfully access HTTPS URL from my COM client in the similar way I access HTTP URL ?

Thanks & Regards,
Arun Gupta
GeneralRe: Accessing HTTPS Webservice using VC++ 7.1 Pin
Ed K18-Jun-06 18:01
Ed K18-Jun-06 18:01 
GeneralSingle Application Instance Pin
retro_coder16-Jun-05 18:58
retro_coder16-Jun-05 18:58 
GeneralRe: Single Application Instance Pin
Jack Puppy16-Jun-05 19:08
Jack Puppy16-Jun-05 19:08 
GeneralRe: Single Application Instance Pin
retro_coder16-Jun-05 21:47
retro_coder16-Jun-05 21:47 
GeneralRe: Single Application Instance Pin
Jack Puppy17-Jun-05 2:13
Jack Puppy17-Jun-05 2:13 
GeneralRe: Single Application Instance Pin
retro_coder19-Jun-05 15:21
retro_coder19-Jun-05 15:21 
Generalgeneric file streams Pin
RChin15-Jun-05 0:54
RChin15-Jun-05 0:54 
GeneralRe: generic file streams Pin
Joaquín M López Muñoz15-Jun-05 11:00
Joaquín M López Muñoz15-Jun-05 11:00 
GeneralRe: generic file streams Pin
rhdunn22-Jun-05 10:38
rhdunn22-Jun-05 10:38 
GeneralCreating a COM instance Pin
dittygrail13-Jun-05 18:49
dittygrail13-Jun-05 18:49 
GeneralRe: Creating a COM instance Pin
sherton14-Jun-05 15:56
sherton14-Jun-05 15:56 
GeneralRe: Creating a COM instance Pin
reachjsk24-Jun-05 0:51
reachjsk24-Jun-05 0:51 
GeneralCom object Pin
dittygrail13-Jun-05 18:46
dittygrail13-Jun-05 18:46 
GeneralATL Maps Pin
Anonymous12-Jun-05 23:38
Anonymous12-Jun-05 23:38 
GeneralRe: ATL Maps Pin
Kevin McFarlane21-Jun-05 9:07
Kevin McFarlane21-Jun-05 9:07 
Generalold db provider in vc++ by ATL Pin
sherton10-Jun-05 22:12
sherton10-Jun-05 22:12 
Generalproblem with CRichEditCtrl Pin
nadilie9-Jun-05 8:51
nadilie9-Jun-05 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.