This function retrieved the metadata related to the fields and their fixed values.
Class |
Name |
Type |
Required |
Details |
GetFieldMetaDataRequest |
userId |
String |
Yes |
The callers user name |
GetFieldMetaDataRequest |
Password |
String |
Yes |
The callers password |
GetFieldMetaDataRequest |
fieldIds |
String[] |
No |
The array of field id's the meta data is requested for. |
GetFieldMetaDataRequest |
getAllFields |
boolean |
No |
An overriding flag to return all the possible fields. |
Class |
Name |
Type |
Required |
Details |
GetFieldMetaDataResponse |
Success |
boolean |
Yes |
True is succeeded False if failed |
GetFieldMetaDataResponse |
returnCode |
String |
No |
See Appendix for details |
GetFieldMetaDataResponse |
returnMessage |
String |
No |
Human readable message |
GetFieldMetaDataResponse |
FieldMetaData |
String |
Yes |
The report in XML format |
public static void getFieldMetaData(EVSystemServiceStub stub) {
try{ GetFieldMetaDataDocument reqEnvelope = GetFieldMetaDataDocument.Factory.newInstance(); GetFieldMetaDataRequest request = request.setUserId(ServiceClientHelper.ADMIN_USER_ID); GetFieldMetaDataResponseDocument resEnvelope = if (response.getSuccess()) { } catch (Exception e) { |