Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call to Web Service fails
Message
 
To
14/05/2004 10:44:05
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00903714
Message ID:
00904146
Views:
24
>>I'll give it a shot, but while it may be easy for you, don't forget that I'm a newbie at this.< g >
>>FWIW, I'd imagine that it will fail with C# as well. However, ya don't know until ya try. Time to dig out Kevin's book.:-)

>
>I'm about to shut down now and get ready to head to the office. It'll be a coupla hours until I'm back online. If you haven't figured it out by then, give me a holler and I'll give you some help. =)
>
Bonnie,

If you've looked at some other of the posts on the thread, you may have noticed that this was a situation that, it works sometimes and not others in VFP.

What I did was to create a table and populate it with one of the keys that was returned by a successful call. Afterwards, using this key, I was able to successfully encrypt and decrypt any string I sent to it.

I'm surmising that the problem is with the SOAP toolkit not accepting the value being returned by the GenerateKey() function because of the characters being returned. Once you have a key that will be accepted, the Encrypt() and UnEncrypt() functions work fine.

In looking over the web page used, I (finally) noted that it was using the HTTP POST protocol rather than SOAP. To me, this would explain why it always worked in .NET and only worked sometimes in VFP.

Anyway, thanks to you and everyone else for the assistance.

PS - Like my new picture?< s >
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform