getClients(LoginInfo user, long sysId, java.lang.String accNum, java.lang.String ClientNum, java.util.Calendar fromTime, java.util.Calendar toTime, boolean showDeactivated, boolean showDetails).
以上是我从 C# 代码调用的 java webservice 方法。
我使用以下值传递 fromTime 和 ToTime 参数
DateTime from = new DateTime(2012, 3, 1, 1, 1, 1, DateTimeKind.Unspecified);
DateTime to = new DateTime(2012, 4, 1, 1, 1, 1, DateTimeKind.Unspecified);
发现错误date string can not be less than 19 charactors
编辑_ _ __ _ __ _ __ _ __ _ __ _ __ _ ___
*以下是代理中的方法*
getClients([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
LoginInfo user, long sysId, [System.Xml.Serialization.XmlIgnoreAttribute()] bool sysdSpecified,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string accNum,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
string ClientNum, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
System.Nullable<System.DateTime> fromTime, [System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
[System.Xml.Serialization.XmlIgnoreAttribute()] bool fromTimeSpecified,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] System.Nullable<System.DateTime> toTime,
[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
[System.Xml.Serialization.XmlIgnoreAttribute()]
bool toTimeSpecified,
bool showDeactivated, [System.Xml.Serialization.XmlIgnoreAttribute()]
bool showDeactivatedSpecified, bool showDetails,
[System.Xml.Serialization.XmlIgnoreAttribute()] bool showDetailsSpecified) {
}