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 » IBM MQ API Support » IBM XMS

Post new topic  Reply to topic
 IBM XMS « View previous topic :: View next topic » 
Author Message
FionaF35
PostPosted: Wed Feb 01, 2006 5:02 am    Post subject: IBM XMS Reply with quote

Newbie

Joined: 23 Jan 2006
Posts: 8

Anyone know how to set the Msd format to XML i.e. I want to set the following <mcd><Msd>XML</Msd> .... </mcd>

Thanks,
Fiona.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Feb 01, 2006 6:29 am    Post subject: Re: IBM XMS Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

FionaF35 wrote:
Anyone know how to set the Msd format to XML i.e. I want to set the following <mcd><Msd>XML</Msd> .... </mcd>

Help me out here - what has this got to do with XMS ?
Back to top
View user's profile Send private message
FionaF35
PostPosted: Wed Feb 01, 2006 7:02 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2006
Posts: 8

XMS is the MQ Message Service Client for .NET. It's a beta from IBM. I want to send an XML message but currently the mcd folder contains jms_text
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Feb 01, 2006 7:48 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

FionaF35 wrote:
XMS is the MQ Message Service Client for .NET. It's a beta from IBM. I want to send an XML message but currently the mcd folder contains jms_text

What happens if you just compose a text message containing your XML payload, and send it? This is the way XMS is intended to be used - the XMS app programmer is expected to ignore the details (MQRFH2 etc.) of the actual message contents.
Back to top
View user's profile Send private message
FionaF35
PostPosted: Wed Feb 01, 2006 7:55 am    Post subject: Reply with quote

Newbie

Joined: 23 Jan 2006
Posts: 8

It gets rejected by our MQ Broker. We have java code that uses the same MQ Broker. I compared the messages generated by .NET and java and the java messages have the mcd field set to XML whereas the .NET messages have jms_text.
Back to top
View user's profile Send private message
briancop
PostPosted: Wed Feb 01, 2006 9:36 am    Post subject: Use the JMS_IBM_Format property Reply with quote

Apprentice

Joined: 04 Apr 2005
Posts: 28
Location: Hursley, UK

I'm pretty sure that this field is controlled by the JMS_IBM_Format property of the Message. By default, it contains a value to reflect the type of JMS message, but can be application-defined.

Take another look in your Java application code - I would expect to see a line that sets a property on the message with name JMS_IBM_Format and value XML. You should be able to do the same in XMS .NET.
Back to top
View user's profile Send private message
saketr
PostPosted: Fri Jul 28, 2006 6:45 am    Post subject: Reply with quote

Apprentice

Joined: 08 Feb 2006
Posts: 41

A new version of XMS .NET has just been released, v1.2.2.0 which includes fixes in the area you are referring to. Please see:

http://www.mqseries.net/phpBB2/viewtopic.php?t=30968

Warm regards,
Saket
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 » IBM MQ API Support » IBM XMS
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.