If the optional XML programming interface is selected, the generation and installation process creates everything you need to invoke a Java Proxy sample XML test application. The \samples\XML directory contains a Test<method-name>.jar file along with a sample import XML file and the generated XML schema (XSD) file.
When the JAR file is created, all of the generated code and runtime files needed to execute the sample application are incorporated into it. This means that the proxy JAR, the runtime JAR files are copied there. If any one of them changes, the Build Tool rebuilds the proxy and subsequently repackages the sample JAR files.
The JAR file created is considered an executable JAR file. The JAR file can be launched automatically with the -jar parameter to the JVM. Therefore, to execute the sample Application, launch the executable from Windows Explorer or execute the following from a command line:
java -jar Test<method-name>.jar <method-name>Sample.xml
The parameter is required and must be the input XML file. A sample import XML file is generated and contains the syntax structure and where possible default values for the import view. If needed, the sample import XML file for the server can be modified. The resulting errors or export view data is the standard output of the command.
Note: BLOB data in XML is represented by base 64 format.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|