This function does a check to see if the item provided in itemId exists in ExtraView. It returns a simple Boolean result.
Class |
Name |
Type |
Required |
Details |
ItemExistsRequest |
userId |
String |
Yes |
The callers user name |
ItemExistsRequest |
password |
String |
Yes |
The callers password |
ItemExistsRequest |
itemId |
int |
? |
The int item id. This field is optional if itemIdStr is given, else it is required. It is recommended that you use itemIdStr |
ItemExistsRequest |
itemIdStr |
String |
? |
The String item Id. This field is optional if itemId is used. It is recommended that you use itemIdStr |
Class |
Name |
Type |
Required |
Details |
ItemExistsResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
ItemExistsResponse |
returnCode |
String |
No |
See Appendix for details |
ItemExistsResponse |
returnMessage |
String |
No |
Human readable message |
ItemExistsResponse |
exists |
boolean |
Yes |
The item in XML format |
public static void testItemExists(EVItemServiceStub stub) {
try { ItemExistsRequest request = request.setUserId(ServiceClientHelper.ADMIN_USER_ID); ItemExistsResponseDocument resEnvelope = ItemExistsResponse response = if (response.getSuccess()) { } catch (Exception e) { |