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 » Problems with XML -> MRM -> XML

Post new topic  Reply to topic
 Problems with XML -> MRM -> XML « View previous topic :: View next topic » 
Author Message
neval
PostPosted: Wed Nov 20, 2002 9:23 am    Post subject: Problems with XML -> MRM -> XML Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi there,

we use WS MQ Integrator 2.1 (CSD03) and trying to convert
a XML message (XML domain) into a MRM message. The MRM message set is based on an imported COBOL copybook. The outgoing message
is send to host/CICS and the reply message must be reconverted into XML.

The problem is that the request message body is empty when it arrives
at the host side. We tried to put the message directly in to a local queue but we get the same problem even we set the properties like MessageSet,
MessageType etc.

Could somebody give use some hints.
Back to top
View user's profile Send private message
kwelch
PostPosted: Wed Nov 20, 2002 10:17 am    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 255

Do you see any error messages in the event viewer? Could you post a code sample?

Karen
Back to top
View user's profile Send private message Send e-mail
neval
PostPosted: Wed Nov 20, 2002 11:52 am    Post subject: Reply with quote

Novice

Joined: 20 Nov 2002
Posts: 14

Hi Karen,

below is a fragment of the code. In this way no message could be written
in the output node. If I comment every SET OutputRoot.MRM Statement the message can be written. Any ideas?

Regards

DECLARE C INTEGER;
SET C = CARDINALITY(InputRoot.*[]);
DECLARE I INTEGER;
SET I = 1;
WHILE I < C DO
SET OutputRoot.*[I] = InputRoot.*[I];
SET I=I+1;
END WHILE;
-- Geben Sie den SQL-Ausdruck unterhalb dieser Linie ein. SQL-Ausdrücke oberhalb dieser Linie werden unter Umständen erneut generiert und führen zu einem Verlust eventuell vorgenommener Änderungen.

-- Message-Set konfigurieren
SET OutputRoot.Properties.MessageDomain = 'MRM';
SET OutputRoot.Properties.MessageSet = 'DRHU9B807A001';
SET OutputRoot.Properties.MessageType = 'KDNR_VERSNR_ANFO';
SET OutputRoot.Properties.MessageFormat = 'CWF';

-- Reply-Resourcen konfigurieren
SET OutputRoot.MQMD.ReplyToQ = 'CC.SF0100WBINFO1.REPLY.MQSI.IN ';
SET OutputRoot.MQMD.ReplyToQMgr = 'XVT50013 ';
SET OutputRoot.MQMD.Format = 'MQSTR ';

SET OutputRoot."MRM"."CC_HEADER"."MAGIG" = InputBody."REQUEST"."CC_HEADER"."CCMagic";
SET OutputRoot.MRM."CC_HEADER"."VERSION" = InputBody."REQUEST"."CC_HEADER"."CCHeaderversion";
SET OutputRoot.MRM."CC_HEADER"."ANZ_AUFTR_TEILE_ANFO" = InputBody."REQUEST"."CC_HEADER"."AnzahlAuftragsteile";
Back to top
View user's profile Send private message
lung
PostPosted: Wed Nov 20, 2002 4:56 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

neval,

Usually if your message consists of an empty MRM after it came out of the RCD node, that means your RCD node does not parses your message correctly.

I agree with gaussspg to put a trace node before and after your RCD node. Then you can compare your message just before it goes into the RCD node with the message as defined in your message set.


_________________
lung
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problems with XML -> MRM -> XML
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.