A
adden_lian
Unregistered / Unconfirmed
GUEST, unregistred user!
接口函数:
function QueryClientIntroInfo(var APageDataInfo: TPageDataInfo;
AClientId: WideString): TIntroClientInfoArray;
stdcall;
调用方法:
IHgWsservice service = new IHgWsserviceLocator();
try {
IHgWs ihgws = service.getIHgWsPort();
TPageDataInfoHolder PageDataInfoHolder = new TPageDataInfoHolder(new TPageDataInfo());
PageDataInfoHolder.value.setPageNo(1);
PageDataInfoHolder.value.setPageSize(15);
PageDataInfoHolder.value.setRecordCount(0);
List result = new ArrayList();
TIntroClientInfo[] clist = (TIntroClientInfo[])ihgws.queryClientIntroInfo(PageDataInfoHolder, "C00000000000000001"
System.out.println(PageDataInfoHolder.value.getPageNo());
System.out.println(PageDataInfoHolder.value.getPageSize());
System.out.println(PageDataInfoHolder.value.getRecordCount());
} catch (ServiceException e){
e.printStackTrace();
}
错误信息:
java.lang.ClassCastException
at org.tempuri.IHgWsbindingStub.queryClientIntroInfo(IHgWsbindingStub.java:1715)
at JustText.main(JustText.java:48)
Exception in thread "main"
IHgWsbindingStub.java:1715中出错的代码:
try {
APageDataInfo.value = (HgWsDataType.TPageDataInfo) _output.get(new javax.xml.namespace.QName("", "APageDataInfo");
} catch (java.lang.Exception _exception) {
APageDataInfo.value = (HgWsDataType.TPageDataInfo) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "APageDataInfo"), HgWsDataType.TPageDataInfo.class);
}
function QueryClientIntroInfo(var APageDataInfo: TPageDataInfo;
AClientId: WideString): TIntroClientInfoArray;
stdcall;
调用方法:
IHgWsservice service = new IHgWsserviceLocator();
try {
IHgWs ihgws = service.getIHgWsPort();
TPageDataInfoHolder PageDataInfoHolder = new TPageDataInfoHolder(new TPageDataInfo());
PageDataInfoHolder.value.setPageNo(1);
PageDataInfoHolder.value.setPageSize(15);
PageDataInfoHolder.value.setRecordCount(0);
List result = new ArrayList();
TIntroClientInfo[] clist = (TIntroClientInfo[])ihgws.queryClientIntroInfo(PageDataInfoHolder, "C00000000000000001"
System.out.println(PageDataInfoHolder.value.getPageNo());
System.out.println(PageDataInfoHolder.value.getPageSize());
System.out.println(PageDataInfoHolder.value.getRecordCount());
} catch (ServiceException e){
e.printStackTrace();
}
错误信息:
java.lang.ClassCastException
at org.tempuri.IHgWsbindingStub.queryClientIntroInfo(IHgWsbindingStub.java:1715)
at JustText.main(JustText.java:48)
Exception in thread "main"
IHgWsbindingStub.java:1715中出错的代码:
try {
APageDataInfo.value = (HgWsDataType.TPageDataInfo) _output.get(new javax.xml.namespace.QName("", "APageDataInfo");
} catch (java.lang.Exception _exception) {
APageDataInfo.value = (HgWsDataType.TPageDataInfo) org.apache.axis.utils.JavaUtils.convert(_output.get(new javax.xml.namespace.QName("", "APageDataInfo"), HgWsDataType.TPageDataInfo.class);
}