Probably not the answer you are looking for, but I'd bet you could save a lot of time by writing a wrapper for the web service call in VB.NET (or C#), and exposing this to your foxpro project through COM interop.
Eyvind. -----Opprinnelig melding----- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Aida I. Rivera-Benítez, MSMIS Sendt: 9. november 2007 04:10 Til: 'ProFox Email List' Emne: RE: VFP9 SOAP/WSDL Blues revisited Well ...I have my webservices and they are almost working but... still have the certificate problem when sending the actual file It says the "SSL Certificate common name (home name field) is Incorrect". They send me the following code to bypass the certificate apparently In Visual Basic. Create a class like the following: Public Class MyPolicy Implements ICertificatePolicy Public Function CheckValidationResult(ByVal srvPoint As ServicePoint, _ ByVal cert As X509Certificate, ByVal request As WebRequest, _ ByVal certificateProblem As Integer) _ As Boolean Implements ICertificatePolicy.CheckValidationResult Return True End Function End Class When you proceed to call the web service, before creating the web reference instance, Create an instance of the web reference, create an intance of the class: System.Net.ServicePointManager.CertificatePolicy = New MyPolicy And then proceed to use the web service. I tried to translate this to VFP but is giving errors everywhere. Can somebody help me with this code? Regards, AiR [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

