The RPM Web Services currently supports the Java API from the WSDL2Java utility.
Java environments access the RPM Web Services API through Java objects that serve as proxies for the server-side counterparts. Before using the RPM Web Services API, the objects must first be generated from the WSDL files.
Before running WSDL2Java, the Apache Axis must be installed on your system and all of its component JAR files must be referenced in your classpath. With MS-DOS command line, the classpath variable can be viewed using the following command line:
echo %classpath%;
Generating the API using Apache Axis WSDL2Java:
In the previous procedure, "yourwsdlfilename.wsdl" can be one of the following.
RPC/Encoded | Document/Literal |
---|---|
Authenticate.wsdl | AuthenticateLiteral.wsdl |
Application.wsdl | ApplicationLiteral.wsdl |
You can now start using the API and begin development.