Cisco Cisco Prime Collaboration 10.5 Developer's Guide

Page of 81
 
 
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. 
66 
The documentation describes all complex objects used by the Prime Collaboration Provisioning NBI. For top level 
objects, it discusses which attributes are the keys and which attributes must be set in the create request for that 
object. There are also graphic representations of the objects. 
•  productcatalog—Contains the XML file version of the complete Prime Collaboration Provisioning product 
catalog. In the product catalog directory, there are two subdirectories: the schema subdirectory that has 
an XSD file that defines all products supported by Prime Collaboration Provisioning, and the metadata 
subdirectory that contains XML definitions for every product that can be ordered using Prime 
Collaboration Provisioning. 
•  sample—Contains the Java, bat, and XML files for building and running sample clients. Also included are 
sample create requests for configuration objects. 
•  wsdl-xsd—Contains all WSDL and XSD files that define the Prime Collaboration Provisioning NBI. 
Setting Up the Sample Java Clients 
After setting up your environment, either on your Prime Collaboration Provisioning system or on another system, 
go to the CUPM\sep\ipt\nbi-sdk\sample directory. 
The build.xml file in this directory creates the subdirectories output and image. The output directory contains all 
generated class, jar, zip, and other targets. The image directory is the installable image that can be run from here 
when referenced with the environment variable CUPM_NBI_SDK_COMMAND_HOME. The image directory is also 
what is condensed into the zip file for installation on other platforms. 
Use the build-install-all target to run all the Ant targets required to prepare the clients and to prepare and deploy 
the notification consumer service. 
The build.xml file provides the following targets: 
•  build-install-all—Compiles and builds clients, and compiles, builds, and installs notification consumer. 
•  build-clients—Only builds clients. 
•  compile-clients—Java compilation. 
•  lib-clients—Creates jar files for clients. 
•  image-clients—Adds the clients to the installable image directory. 
•  build-consumer—Builds only the notification consumer service. 
•  compile-consumer-schema 
•  compile-consumer-src 
•  lib-consumer