|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SAP to MQ output (special characters) |
« View previous topic :: View next topic » |
Author |
Message
|
swethabala |
Posted: Tue Nov 22, 2011 10:35 pm Post subject: SAP to MQ output (special characters) |
|
|
Apprentice
Joined: 25 Aug 2009 Posts: 44
|
HI,
We have scenario where SAP Adapter is connected to MQ output directly. from SAP we are receiving special characters. MQ output is unable to accept special characters in the file and an exception is thrown.
Could you please advice how to send data to MQ output with special charasters.
Message structure is XML
Message type definition is DataObject
please help as this is a critical priority task.
Thanks
Swetha |
|
Back to top |
|
 |
smdavies99 |
Posted: Wed Nov 23, 2011 12:18 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
This is MQ Application Programming 101.
Send a message that HAS NO SPECIAL CHARACTERS. This should work
Then look at the MQMD of that message.
What does the CCSID (CodedCharacterSet) field look like?
Can that character set handle the characters (viz the special ones) you are trying to send. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Nov 23, 2011 7:03 am Post subject: Re: SAP to MQ output (special characters) |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
swethabala wrote: |
We have scenario where SAP Adapter is connected to MQ output directly. from SAP we are receiving special characters. MQ output is unable to accept special characters in the file and an exception is thrown. |
WMQ doesn't care about the payload of data unless you tell it to. WMQ does not "output" anything. I assume that you mean whatever application is outputting the WMQ message can't handle the special characters?
I suspect the real problem is this:
swethabala wrote: |
Message structure is XML
Message type definition is DataObject |
XML is a CHARACTER based format. If you want it to include data objects they should be base 64 encoded. If they're not, how do you know (in terms of what steps have you take to ensure) that the tag content of your XML (this data object) conforms to the rules of the XML specification and is therefore a well formed XML document?
If you want more focused assistance, you might want to post something more focused than "an exception is thrown". Is it a WMQ reason code, a XML parser expection, a SAP error, an out of memory error or a dialog box indicating the cheese is out of range?
Better information, better advice. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|