RE: webReference.SetURL method with https connections

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



{\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 }

















Relevant Pages

  • Re: Webservice package over https with authorization
    ... I try to access a sample webservice provided for me via https. ... Is there any way to use the Webservice package over https? ... package require tls ...
    (comp.lang.tcl)
  • Re: Switching Forms
    ... project is on a tight time table and I don't really have time to ... the default.aspx consumes a Logon Webservice over Https. ... The https / http split is because I have read that Https has ...
    (microsoft.public.dotnet.framework.aspnet)
  • Webservice package over https with authorization
    ... I try to access a sample webservice provided for me via https. ... My guess would be, that I need to establish a connection over https to the server, and authorize myself before I invoke the GetAndParseWsdl command. ...
    (comp.lang.tcl)
  • ServicePointManager does not support proxies of HTTPS scheme
    ... I have a VB.Net application that consumes an WebService. ... to consume the WebService I get the following error message: ... ServicePointManager does not support proxies of https scheme." ... Why I can add the WebReference and cannot consume the WebService? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Correct pattern of methods invocation on WSDL-generated type
    ... Therefore I advise you to use the DTO pattern. ... generate the webservice proxy in the normal way ... > A WSDL-generated proxy class on the client side, ...
    (microsoft.public.dotnet.framework.webservices)