SOAP over SSL? NotSupportedException in generated client proxy code

N

NewsGroups

Hi all,

I used the wizards in VC.NET to generate code to generate a client proxy for
a web service in the usual manner. The .WSDL file is published on the web,
the only slightly unusual thing about the site is it happens to be an
SSL-only and authenticated.

When I invoke the generated code, I get this exception:

System.NotSupportedException: The ServicePointManager does not support
proxies of https scheme.
at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy
proxy)
at System.Net.HttpWebRequest.FindServicePoint(BooleanforceFind)
at System.Net.HttpWebRequest.set_InternalProxy(IWebProxy value)
at System.Net.HttpWebRequest.set_Proxy(IWebProxy value)
at System.Net.Service.Protocols.HttpWebClientProtocol.GetWebRequest(Uri
uri)
at System.Net.Service.Protocols.SoapHttpClientProtocol.GetWebRequest(Uri
uri)
at System.Net.Service.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
....


Which, hard as it is to believe, seems to be telling me the code cannot
support SOAP/SSL througha proxy server. (Note the "The ServicePointManager
does not support proxies of https scheme." above)

The generated code is currently 99% unmodified, the only change is to attach
the default credentials to get past the proxy server.

Any ideas?

Platform is 1.1 framework, VC.NET 2003, Win2000 SP3


Thanks,
DWL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top