使用delphi6开发一个基于webservices的客户端,在向服务端发送数据时提示如下:
server was unable to read request,---->There is an error in XML document(2, 1038),---> Input string was not in a correct format.
这种问题如何处理,用到的服务端方法为下:
function  TaxRegister(const TaxNO: String; const phoneno: String; const organization: Smallint; const deposit: TXSDecimal; const admissiondate: TXSDateTime; const guarantoramount: TXSDecimal): String; stdcall;
其中的两个类型  TXSDecimal和TXSDateTime如何赋值?我的方法:
TXSDecimal(0)
DateTimeToXSDateTime(date)
程序编译虽然没有错误,但是不知道用法是否正确?