RE: webReference.SetURL method with https connections
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Wed, 02 Nov 2005 12:10:28 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Jason,
\par
\par Welcome to webservice newsgroup.
\par From your description, you've creating webservice proxy in C++ application to consume a certain webservice. It works well when through normal http protocol. However, when the service switch to use https , the client side will fail, yes?
\par
\par As for the C++ application, is it a managed c++ application or pure unmanaged c++ app? Based on my local test, the autogenerated unmanaged proxy class seems hasn't provide the SetUrl function. Or maybe there has something different from my setting?
\par
\par In addition, have you tried cosuming some other webservice protected through SSL? Just to confirm whether it is a service specific issue. Also, we can try hard coding the https url in the proxy and compiled it and test again.
\par
\par Please feel free to let me know if there're anything else I missed.
\par
\par Thanks,
\par
\par Steven Cheng
\par Microsoft Online Support
\par
\par Get Secure! www.microsoft.com/security
\par (This posting is provided "AS IS", with no warranties, and confers no rights.)
\par
\par
\par
\par
\par
\par \pard\li720 --------------------
\par Thread-Topic: webReference.SetURL method with https connections
\par thread-index: AcXfJxcxIqIdX3GRRruJi930mi7alA==
\par X-WBNR-Posting-Host: 66.237.208.195
\par From: "=?Utf-8?B?SmFzb24gUA==?=" <lucidiom@xxxxxxxxxxxxx>
\par Subject: webReference.SetURL method with https connections
\par Date: Tue, 1 Nov 2005 12:59:03 -0800
\par Lines: 19
\par Message-ID: <324DD670-E712-4ADA-B445-A5335E73A80D@xxxxxxxxxxxxx>
\par MIME-Version: 1.0
\par Content-Type: text/plain;
\par \tab charset="Utf-8"
\par Content-Transfer-Encoding: 7bit
\par X-Newsreader: Microsoft CDO for Windows 2000
\par Content-Class: urn:content-classes:message
\par Importance: normal
\par Priority: normal
\par X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
\par Newsgroups: microsoft.public.dotnet.framework.webservices
\par NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
\par Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
\par Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.framework.webservices:8441
\par X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
\par
\par Basically we have a web method with a dynamic URL. The client is developed
\par in C++ and I've been using the webReference.SetUrl(
\par "http://test.example.com..." ) method successfully with various web method
\par URLs.
\par
\par However, when we switched to using a secure connection, the call to
\par webReference.SetUrl( "https://test.example.com..." ) no longer functions.
\par The SetUrl() method is actually successful, but any following calls in to the
\par web reference fail.
\par
\par I created a test app in C# and used the webRefence.URL property to
\par successfully set the url to both non-secure and secure URLs. Both work fine.
\par So the problem resides specifically with using https:// in the C++ client.
\par It's either a bug or I'm missing a step.
\par
\par Any ideas?
\par
\par Thank you very much,
\par Jason
\par \pard
\par
\par }
- Follow-Ups:
- RE: webReference.SetURL method with https connections
- From: Jason P
- RE: webReference.SetURL method with https connections
- Prev by Date:
RE: Web Service Architecture question - Next by Date:
Re: Confused about role based security configuration. - Previous by thread:
RE: Web Service Architecture question - Next by thread:
RE: webReference.SetURL method with https connections - Index(es):
Relevant Pages
|