Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you pass a datetime param. calling a .net ws?
Message
From
10/09/2019 09:53:36
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01670728
Message ID:
01670732
Views:
56
>Hi
>I am trying to consume a .net web service, where one of the parameters is a datetime. Tried all sorts of formats, but they all fail in this field. Any ideas how should i format it?
>
>TIA
>Jaime

ttoc(datetime, 3) is the correct XML format for a date time as Antonio already said.

FWIW I would write a C# wrapper for the service (with SOAP, it was always problematic for me to consume a service from within VFP).

Maybe you can share the wsdl address of the service.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform