getVersion

This action returns the build information of ExtraView. The build information identifies the specific build and version number of the ExtraView server.

Input

Class

Name

Type

Required

Details

GetVersionRequest

userId

String

Yes

The callers user name

GetVersionRequest

password

String

Yes

The callers password

Output

Class

Name

Type

Required

Details

GetVersionResponse

success

boolean

Yes

True is succeeded False if failed

GetVersionResponse

returnCode

String

No

See Appendix for details

GetVersionResponse

returnMessage

String

No

Human readable message

GetVersionResponse

revision

String

Yes

The revision of ExtraView

GetVersionResponse

modificationData

String

Yes

The last modification date of the ExtraView code base.

Example

public static void testGetVersion(EVSystemServiceStub stub){
try{
// first we build the request...
GetVersionDocument reqEnvelope =
GetVersionDocument.Factory.newInstance();
GetVersionRequest request =
reqEnvelope.addNewGetVersion().addNewParam0();
request.setUserId(
ServiceClientHelper.ADMIN_USER_ID);
request.setPassword(
ServiceClientHelper.ADMIN_PASSWORD);

GetVersionResponseDocument resEnvelope =
stub.getVersion(reqEnvelope);
GetVersionResponse response =
resEnvelope.getGetVersionResponse().getReturn();

if (response.getSuccess()) {
System.out.println("success: [" +
response.getReturnCode() + "] : " +
response.getReturnMessage());
} else {
System.out.println("failure: [" +
response.getReturnCode() + "] : " +
response.getReturnMessage());
}

} catch (Exception e) {
e.printStackTrace();
System.err.println("nnn");
}
}