Saturday, September 22, 2012

IBM Sterling B2B Integrator Code List Deployment through Command Prompt

C:\Sirish\SterlingIntegrator\install\tp_import>import.cmd -update -passphrase passphrase -input C:\Sirish\bpml_coding\Sirish.xml

This is the format requires to import from command prompt.

Sirish.xml

<?xml version="1.0" encoding="UTF-8"?>
<SI_RESOURCES xmlns="http://www.stercomm.com/SI/SI_IE_Resources" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" GISVersion="6000" FrameworkVersion="2">
            <CODE_LISTS>
                        <CODE_LIST_XREF>
                                    <LIST_NAME>Sirish</LIST_NAME>
                                    <SENDER_ID/>
                                    <RECEIVER_ID/>
                                    <LIST_VERSION>2</LIST_VERSION>
                                    <SIResourceDefaultVersion>true</SIResourceDefaultVersion>
                                    <STATUS>1</STATUS>
                                    <COMMENTS/>
                                    <USERNAME>Sirish Reddy Gongal Reddy</USERNAME>
                                    <CREATE_DATE>2012-09-21 14:43:16.087</CREATE_DATE>
                                    <CODE_LIST_XREF_ITEMS>
                                                <CODE_LIST_XREF_ITEM>
                                                            <SENDER_ITEM>Sirish Reddy</SENDER_ITEM>
                                                            <RECEIVER_ITEM>Gongal Reddy</RECEIVER_ITEM>
                                                            <TEXT1>Target System - One</TEXT1>
                                                            <TEXT2>Target System - Two</TEXT2>
                                                            <TEXT3>Target System - 3</TEXT3>
                                                            <TEXT4>Target System - 4</TEXT4>
                                                            <TEXT5>Target System - 5</TEXT5>
                                                            <TEXT6>Target System - 6</TEXT6>
                                                            <TEXT7>Target System - 7</TEXT7>
                                                            <TEXT8>Target System - Eight</TEXT8>
                                                            <TEXT9>Target System - Nine</TEXT9>
                                                            <DESCRIPTION>Just Testing the Auto Import</DESCRIPTION>
                                                </CODE_LIST_XREF_ITEM>
                                    </CODE_LIST_XREF_ITEMS>
                        </CODE_LIST_XREF>
            </CODE_LISTS>

</SI_RESOURCES>