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 » Mapping node (WMB6) evaluate fields as NULL

Post new topic  Reply to topic
 Mapping node (WMB6) evaluate fields as NULL « View previous topic :: View next topic » 
Author Message
mnarduche
PostPosted: Tue Oct 10, 2006 12:50 pm    Post subject: Mapping node (WMB6) evaluate fields as NULL Reply with quote

Newbie

Joined: 10 Oct 2006
Posts: 1

Hi

I imported a WBIA Business Objects definition (XSD) using Toolkit (created message set, created message definition using the XSD of the Business Objects). After that I added an XML physical format CwXML.

The message generated by the adapter is below:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<Q1:BO_SQL1_INET_AREA_ENTREGA
xmlns:Q1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BO_SQL1_INET_AREA_ENTREGA" version="3.0.0" verb="Create" locale="en_US" delta="false">
  <Q1:COD_AREA_SERVICO_ENTREGA>34</Q1:COD_AREA_SERVICO_ENTREGA>
  <Q1:NUM_SEQUENCIAL_REGIAO>97</Q1:NUM_SEQUENCIAL_REGIAO>
  <Q1:NOM_AREA_SERVICO_ENTREGA>ES SUL              </Q1:NOM_AREA_SERVICO_ENTREGA>
  <Q1:COD_UF>ES</Q1:COD_UF>
  <Q1:NOM_MUNICIPIO>VITORIA</Q1:NOM_MUNICIPIO>
  <Q1:NUM_CEP_INICIO>29000000</Q1:NUM_CEP_INICIO>
  <Q1:NUM_CEP_FIM>29000001</Q1:NUM_CEP_FIM>
  <Q1:ObjectEventId>JDBCConnector_100017xworlds_events20061010170316.7</Q1:ObjectEventId>
</Q1:BO_SQL1_INET_AREA_ENTREGA>


The header MQRFH2 for the message is also below:

Code:

<mcd>
  <Msd>mrm</Msd>
  <Set>D6PC69K002001</Set>
  <Type>BO_SQL1_INET_AREA_ENTREGA</Type>
  <Fmt>CwXML</Fmt>
</mcd>

<jms>
  <Dst>queue:///JDBC_MSSQL/DELIVERYQUEUE</Dst>
  <Tms>1160510599719</Tms>
  <Dlv>2</Dlv>
</jms>


I used a mapping node to transform this to another XML message set.

The output only contain the fixed values I wrote in the Map. All the attributes from the source message are evaluated as NULL, for example:
$source/BO_SQL1_INET_AREA_ENTREGA/COD_AREA_SERVICO_ENTREGA
$source/BO_SQL1_INET_AREA_ENTREGA/NOM_AREA_SERVICO_ENTREGA

Can someone please help me? All the message sets are configured to use the MRM RunTime Parser.

Thanks a lot!
Marcelo
Back to top
View user's profile Send private message Send e-mail
Edde
PostPosted: Tue Oct 10, 2006 10:35 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Oct 2006
Posts: 67
Location: Moscow, Russia

This can be namespace problem.

Have you "Use namespaces" option enabled in your message set?
Try to enable it and then create message definition from xsd.

In similar message mapping i have smth about this:
$source/tns3:SWIFT_REQ/tns3:swiftrnum
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 » Mapping node (WMB6) evaluate fields as NULL
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.