ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Import messageset from xml schema

Post new topic  Reply to topic
 Import messageset from xml schema « View previous topic :: View next topic » 
Author Message
gobi_nathan
PostPosted: Wed Jan 08, 2003 10:00 pm    Post subject: Import messageset from xml schema Reply with quote

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
------------------------------

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<xsd:element name="Example" type="ExampleType"/>

<xsd:complexType name="ExampleType">
<xsd:sequence>
<xsd:element name="field1" type="xsd:string"/>
<xsd:element name="field2" type="xsd:integer"/>
<xsd:element name="field3" type="xsd:decimal"/>
<xsd:element name="field4" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>

</xsd:schema>


-----------------------------
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


-----------------------------------------------------------------


we ran Mqsiimpxmlschema -f example.txt

and got


----------------------

BIP9412S The identifier &1 is not valid.

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.

################## ERROR ##################################

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.

Any help is appreciated.



Thanks & Regards
Gobi
Back to top
View user's profile Send private message
gobi_nathan
PostPosted: Sat Jan 11, 2003 1:07 am    Post subject: Solved using CSD4 for MASI Reply with quote

Acolyte

Joined: 08 Jan 2003
Posts: 69

Guys,

This Problem is solved by installing the CSD4 for MQSI.

Gobi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Import messageset from xml schema
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.