Posted: Wed Jan 08, 2003 10:00 pm Post subject: Import messageset from xml schema
Acolyte
Joined: 08 Jan 2003 Posts: 69
Hi All,
We were trying to load a Buiness Object into the Message repository database using a command utility given by IBM.
We are Trying to use the Example XML schema and the configuration file And load the XML schema file by using XML Schema Importer utilities to load the schema file into MQ Integrator MessageSet.Facing the Problem,when we run the importeer utilitis.
The details of which are shown below.
Problem description in detail:
Software installed
* MQSeries for Windows NT and Windows 2000, V5.2
* IBM DB2 Version 7.2 client
* IBM WebSphere MQ Integrator Version 2.1 for windows
* IBM WebSphere Buisness Integrator Adapter 2.0.1 windows (indcludes JDBC adpater)
* IO01: WebSphere MQ Integrator - XML Schema message format importer with e-fix of IY30451
* IO02: WebSphere MQ Integrator - WebSphere Business Integration adapter utility
Operating System
* Windows 2000 profesional with SP2
we tried a simple example given by IBM software but still we encounted error.
-------------------------------------------------------------------------
Folllowing the xml schema file
------------------------------
-----------------------------
Configuration file
--------------------
#
# Parameters file for MQSI V2.1 XML Schema importer
[HEADER]
#
# Name of the message set to import the message into
#
MessageSet=ExampleMsgSet
#
# Name of the MRM database to import into
#
MRM_DB=MQSIMRDB
#
# MRM Database User id - can be overridden on the command line
#
DB_User=db2admin
#
# MRM Database Password - can be overridden on the command line
#
DB_PW=XXX
#
# Name of the top level element in the MRM message
#
RootElement=Example
#
[FILELIST]
#
# Name of the XML Schema file
#
example.xsd
Explanation: The identifier specified is not a valid MRM identifier.
User Response: Check that the element and attribute names in the XML Schema files are valid XML
names.
--------
################## ERROR HERE ##################################
BIP9412S: The identifier ExampleType^field1 is not valid.
The identifier specified is not a valid MRM identifier.
Check that the element and attribute names in the XML Schema files are valid XML names.
Elements Table
elem xmlId typ type mrmId Handle mrmTyp Handle DType flag name ident XML name
0001 00000 000 0001 000000 00000000 000000 00000000 0x10 Example Example Example
0002 00000 001 0000 000000 00000000 000000 0241dae0 0x00 field1 ExampleType^field1 field1
0003 00000 026 0000 000000 00000000 000000 00000000 0x00 field2 ExampleType^field2 field2
0004 00000 010 0000 000000 00000000 000000 00000000 0x00 field3 ExampleType^field3 field3
0005 00000 004 0000 000000 00000000 000000 00000000 0x00 field4 ExampleType^field4 field4
Attributes Table
attr mrmId Handle Typ DType Type flag name
Types Table
type mrmId handle elements attrs base comp flag name
first last first last
0001 100000 02420b20 00001 00004 00000 00000 00000 6 0x00 ExampleType
Type Entries Table
main sub-
type elem attr type next prev min max flags
00001 00001 00002 00000 00000 00002 00000 -0001 -0001 0x02
00002 00001 00003 00000 00000 00003 00001 -0001 -0001 0x02
00003 00001 00004 00000 00000 00004 00002 -0001 -0001 0x02
00004 00001 00005 00000 00000 00000 00003 -0001 -0001 0x02
Values Table
xmlId mrmId handle DType attrId elemId flag role value name
BIP9351S: Errors were detected - import of message set 'ExampleMsgSet2' was unsuccessful - please make corrections and rerun the import
Examine the preceding error messages, correct the problem(s) and rerun the import.
BIP9358W: No changes were made to the repository
Examine the preceding messages, correct the problem(s) and rerun the import.
----------------------------
This examples are given by ibm.I wonderd some configuration settings are missing.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum