How to uncompress an xml Export with option compress=true (Doc ID 559408.1)

Last updated on OCTOBER 24, 2016

Applies to:

Oracle Communications IP Service Activator - Version 5.2.3 to 7.2.0 [Release 5.2 to 7.2]
Information in this document applies to any platform.
OSS Integration Manager (OIM)
*** Checked for Currency 05-APR-2013 ***

Goal

This document shows how to uncompress a compressed xml export from the OIM interface

The user can run an xml export of a given object or number of objects from the OIM interface. This can be ran at the root level too to give a complete dump of the object model. Because of the potential size of the exported information, the output can be compressed, the examples below show two exports, one with and one without compression;

no compression

/>file /export/home/orchadm/xmlexport.out xmlExport


with compression

/>file /export/home/orchadm/xmlexport.out xmlExport compress=true


However a compressed output must be decoded in a certain way. In order to achieve this there are certain 3rd party packages that need to be installed first and available. The packages listed below will need or have dependencies on other packages too, the brackets show the actual versions used for this example and the indents show the dependencies;

The packages can be obtained from the following links;

base 64: http://www.fourmilab.ch/webtools/base64/
gcc, libiconv, make and zlib: http://sunfreeware.com/programlistsparc10.html
python: this is installed with IPSA

The examples used in this document have been carried out on a system running on Solaris 10. Note with the base64 package only a pre-compiled windows executable is available, for unix / linux systems it will need compilation (hence the dependencies)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms