Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: How to convert this .net code in VFP-wwDotNetBridge

$
0
0
Re: How to convert this .net code in VFP-wwDotNetBridge
West Wind Client Tools
Re: How to convert this .net code in VFP-wwDotNetBridge
04/21/2012
01:48:20 PM
3HG0TLB0M Show this entire thread in new window
Gratar Image based on email address
From:
Rick Strahl
To:
Attachments:
None
Hi Paul,

Did you try the code i sent you in the last message? HttpLogin *uses NetworkCredential* to do this... It's a helper so you don't need to bother with Network credential.

I apologize for the code error I posted off the top of my head - I missed the last parameter of PreAuthenticate, but Intellisense or the help file will tell you what the proper signature is...

Aloha,

+++ Rick ---



Hi Rick,

I found the solution myself. I have to use NetworkCredential for this webservice

locred = lobridge.createinstance("System.Net.NetworkCredential","WS4SNTRC","ed5R#CK5") loService.OSERVICE.Credentials = locred loService.OSERVICE.Url="http://qas.sanitrace.be/int/QAS_Sanitel_ExtInterfacingSvcs/SanitelServices.asmx"

Regards, Paul


With the logon code included I get: OLE error code, the parameter is incorrect

loService.oService.HttpLogin("WS4SNTRC","ed5R#CK5")

Paul





Rick Strahl
West Wind Technologies

Making waves on the Web

from Maui, Hawaii

Viewing all articles
Browse latest Browse all 10393

Trending Articles