>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.