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 » Send a String to MQ Output

Post new topic  Reply to topic
 Send a String to MQ Output « View previous topic :: View next topic » 
Author Message
pereira.allan1992
PostPosted: Fri Nov 13, 2015 7:46 am    Post subject: Send a String to MQ Output Reply with quote

Novice

Joined: 21 Oct 2015
Posts: 12

Hello guys,

Please, I'm Trying to send a XMLNSC to a field in a Table Queue,but when it write in queue table, the XMLNSC is in Hexadecimal...how can I convert to string/character ?

Thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 13, 2015 7:53 am    Post subject: Re: Send a String to MQ Output Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pereira.allan1992 wrote:
a Table Queue


What exactly is one of those? In specific MQ terms?

pereira.allan1992 wrote:
but when it write in queue table


What exactly is one of those? In specific MQ terms?

MQ is not a database, and doesn't contain either of those things that I'm aware of.

pereira.allan1992 wrote:
how can I convert to string/character ?


You can't. The MQOutput node (the normal way of putting something into an MQ object) does this for you.

If this is not happening:

- you're doing something fairly unusual to present the XMLNSC domain to the MQOutput node
- you're not using the MQOutput node which is an illegal operation and can cause your broker to crash.

I repeat my comments made on your earlier epic post here about getting some training. In both MQ and IIB by the sound of it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
pereira.allan1992
PostPosted: Fri Nov 13, 2015 8:31 am    Post subject: Reply with quote

Novice

Joined: 21 Oct 2015
Posts: 12

Yes, I believe that's the same problem that I found...

I have one database, that the IBM Integration Bus process and take data, so it can mount a XML file...no problems

but now, i'm trying to send this XML to MQ output...I can do this, but the integration bus convet my XML to hexadecimal when I record in my queue table.


I ll try to find a way to put in MQ object..

Its not easy find a cia that sell trainning in Brazil...

Thank you
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Nov 13, 2015 8:33 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What is a queue table?

Is it some thing inside a database?

What are you passing to this "queue table", why do you think that it is IIB that is converting it to hexadecimal?

What are you doing to convert the logical message tree into something you can insert into this "queue table"?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 13, 2015 8:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pereira.allan1992 wrote:
when I record in my queue table.


Again I ask what is this thing? MQ does not have tables

pereira.allan1992 wrote:
I ll try to find a way to put in MQ object..


You don't need to try - there is exactly one supported way for IIB to output a message to MQ.

I still suspect you're doing something else.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
timber
PostPosted: Fri Nov 13, 2015 8:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1292

I think it is best if you start by explaining this statement:
Quote:
the integration bus convert my XML to hexadecimal when I record in my queue table
Please take some time before answering - remember that we cannot see your screen, and we do not know what problem you are trying to solve.
Back to top
View user's profile Send private message
pereira.allan1992
PostPosted: Fri Nov 13, 2015 9:08 am    Post subject: Reply with quote

Novice

Joined: 21 Oct 2015
Posts: 12

Im using Integration Bus To send messages to Oracle Retail Integration Bus (ORIB) The ORIB have queue tables...

when I put a test message, in MQ, It send to my queue Table in ORIB....But its sending my message (XML) in hexadecimal...i d like to send like character/string.

Don't worry guys, I Need trainning...

Sorry
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 13, 2015 9:20 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pereira.allan1992 wrote:
Im using Integration Bus To send messages to Oracle Retail Integration Bus (ORIB) The ORIB have queue tables...


And we were supposed to know this how? Exactly? As regular contributors will confirm, I'm psychotic not psychic.

pereira.allan1992 wrote:
when I put a test message, in MQ, It send to my queue Table in ORIB


And for those of us without knowledge of ORIB, how is this miracle achieved? Is ORIB reading the MQ queue and consuming it? Do an army of trained squirrels cut and paste the data in real time? What?

pereira.allan1992 wrote:
But its sending my message (XML) in hexadecimal...i d like to send like character/string.


How do you know it's in hexadecimal? All character / string values are nothing but a series of hex values that some tools automatically convert into their ASCII representations. If you look directly at the MQ message stored in a queue (or any other data file) you'll see nothing but a series of hex values.

So is it hex because it looks like hex in whatever ORIB tooling you're using to view it? Is it hex because ORIB chokes trying to read it so you've jumped to the conclusion it's hex? Is it hex because some guy in the local coffee shop said it was hex? Is it hex because the ORIB forum you posted this question on said it was hex?

pereira.allan1992 wrote:
Don't worry guys, I Need trainning...


No contact admin.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Nov 13, 2015 9:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also please understand that there are are two different kinds of training that you might want to look at.

One is, as you have mentioned, training on IIB and MQ. Hopefully you can work with local resources to get assistance on this. Otherwise, even without paid training, there's a lot of material available, including the product samples.

The other kind of training is general purpose troubleshooting. This is a skill applicable to all parts of working with software and computers. It's what allows you to look at each piece of a problem and determine where the first issue occurs.

There should absolutely be local people you can work with to learn and apply this skill.
_________________
chmod -R ugo-wx /
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 » Send a String to MQ Output
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.