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

 Search found 7 matches
Author Message
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Wed Aug 31, 2011 12:52 pm   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
The issue is resolved. I have added the BOM bytes manually to the message. Here is the solution


objMessage.WriteByte(Convert.ToByte(&HFF))
objMessage.WriteByte(Convert.To ...
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Tue Aug 30, 2011 8:35 am   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
Removing the CStr and removing the CCSID setting to 1200 is not helping.
The XML string is constructed in the .Net application. Here I have created a sample application to read the xml string from fi ...
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Tue Aug 30, 2011 5:07 am   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
1202 and 1204 are not valid CaracterSets for .Net. I am getting MQRC_UNEXPECTED_ERROR exception (rason code 2195) with 1202 and 1204.
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Mon Aug 29, 2011 4:38 pm   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
Here is the code I am using to put the MQMessage.


Dim sInputMsg As String
Dim sr As New StreamReader("C:\OUT\JustSavedinNotepad.xml", Encoding.UTF8)
sInputMsg = sr.ReadToE ...
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Mon Aug 29, 2011 12:48 pm   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
I am using MQMessage.writestring with CharacterSet as 1208. string posted without BOM.
If I use MQMessage.writeUTF and CharacterSet as 1208 then it is adding 0xA7 0xF3. It is not adding BOM.

I am ...
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Mon Aug 29, 2011 12:16 pm   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
The problem is in .Net. I have the xml message in the string variable "<?xml version="1.0" encoding="utf-16"?><LName>mohan.mmm</LName>" .Net understands ...
  Topic: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
mohan.mmm

Replies: 18
Views: 26059

PostForum: IBM MQ API Support   Posted: Fri Aug 26, 2011 9:01 am   Subject: IBM.WMQ.MQQueue.Put() is removing BOM while sending message
I am using amqmdnet.dll 1.0.0.2 to send the messages to MQ. I am using VB.Net 1.1.
The problem is it is stripping the Byte Order Mark (BOM) while sending the XML message to MQ. The other application ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.