vb.net写的Web Service在java调用出现的问题
Public Structure ReturnStruc
Public return_flag As Integer '成功失败标志
......
End Structure
Public Structure StrucEmployee
Public xinbie As Short '性别
Public cengyongming As String '曾用名
Public chushengriqi As Date '出生日期
......
End Structure
<WebMethod()> _
Public Function InsertEmployee(ByVal EmployeeType As Short, ByVal RYSX As String, ByVal Name As String, ByVal Company As String, ByVal Department As String, ByVal Pinyin As String, ByVal GZNumber As String, ByVal employee As StrucEmployee) As ReturnStruc
{ ......
}
java这样调用
......
StrucEmployee se2 = new StrucEmployee();
se2.setXinbie((short)2);
rs = hsoap.updateEmployee("A00001","ljsnew","34920440002010101",se2);
......
出这样的错误:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server was unable to read request. --> There is an error in XML
document (10, 35). --> String was not recognized as a valid DateTime.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: Server was unable to read request. --> There is an error in
XML document (10, 35). --> String was not recognized as a valid DateTime
.
faultActor:
faultNode:
faultDetail:
是啥问题?
好像是一个字符串与日期类型转换的问题。请指点