Apache Axis2 provides a utility (WSDL2Java) that generates the client code to invoke OM Web Services. WSDL2Java receives the name of the WSDL file for the Web service as an input parameter. The WSDL2Java utility generates Java programs that access the web services that are defined in the WSDL. The generated code can then be used to invoke the OM Web Services.
Apache Axis2 generates the following files when processing the CA OM WSDL file:
|
File Name |
Description |
|---|---|
|
ExtensionMapper.java |
Helper class for nested parameter types |
|
OmIndexListParameter.java |
Index list request parameter |
|
OmReportDataParameter.java |
Report data request parameter |
|
OmReportSelectionArray.java |
Array of selection criteria |
|
OmReportSelectionItem.java |
Selection criteria type |
|
OmReportSelectionParameter.java |
Report list request parameter |
|
OmResponse.java |
All operations response type |
|
OmStringArray.java |
Nested response type |
|
OmVector.java |
Nested response type |
|
OmWebServiceServiceStub.java |
Client-side service stub |
Programmers writing code in Java to access OM Web Services can choose to use the automatic code generation using Apache Axis2 or generate these classes. They can then use these classes in their code.
An alternative to automatic code generated using Apache Axis2 is a set of classes and wrapper classes that are provided with the OM Web Services. A wrapper class invokes each OM Web Services. The wrapper classes and the classes from the previous table are in the client.jar installed during the OM Web Services installation. Classes in the client.jar file facilitate writing Java code to access the CA OM Web Services.
Note: For more information about these wrapper classes, see the chapter, "Wrapper Classes" in this document.
|
Copyright © 2013 CA.
All rights reserved.
|
|