Author |
Message
|
pan_khandar |
Posted: Tue Jul 02, 2002 10:07 am Post subject: getting error with multi line message |
|
|
Novice
Joined: 21 Jun 2002 Posts: 17
|
Hi,
when i send a message in one line like
(<tag1> <tag2>123</tag2></tag1>
It works, but when i send it like
<tag1>
<tag2>
123
</tag2>
</tag1>
It dosen't work... why? following is the exception
BIP5004E: An error has been reported by the BIPXML4C component: code '65652'; public id ''; line number '1'; column number '7'; current element 'tag1'; error text 'The input ended before all started tags were ended. Last tag started was 'Proof''.
Thanks
Pankaj
--------------------------------------------------------------------- |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 02, 2002 10:53 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
how are you putting messages on queue? _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
pan_khandar |
Posted: Tue Jul 02, 2002 11:02 am Post subject: |
|
|
Novice
Joined: 21 Jun 2002 Posts: 17
|
i am putting message using file
like
amqsput MQSI_INQ MQSI_SAMPLE_QM < sample.txt
File having single line wrks fine
but if file have multiple lines, it show exception
Thanks
Pankaj |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 02, 2002 11:07 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Pankaj,
amqsput utility will put each line as one message on the queue. This is the reason you are getting above error. If you want to put multiple lines as single message, you will have to modify the program.
SupportPac IH02 - MQSI Put Utility might help you with this.
http://www-3.ibm.com/software/ts/mqseries/txppacs/ih02.html _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
pan_khandar |
Posted: Tue Jul 02, 2002 11:33 am Post subject: |
|
|
Novice
Joined: 21 Jun 2002 Posts: 17
|
Hi,
Is this support pack available on aix??
Thanks
Pankaj
------------------------------------------------------------------ |
|
Back to top |
|
 |
kirani |
Posted: Tue Jul 02, 2002 12:39 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
This supportpac runs in WindowsNT environment. They have a client version of MQSIPUT utility which makes Client connection to the queue manager. you could setup MQServer variable to connect to your AIX queue manager.
You also have another option where you define a remote queue on NT queue manager, which maps to local queue on AIX. This involves some administration steps, like defining channels between two queue managers. Not sure if you have authorizations for this or not. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
kirani |
Posted: Fri Nov 22, 2002 8:31 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
How big is your input XML message and which utility are you using to put this message on the queue? XML Element names with space char are valid element names, in ESQL you should refer to these elements using "". For example if your tag is <First Name>, in your ESQL you should refer to this tag as InputRoot.XML."First Name" _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|