cancel
Showing results for 
Search instead for 
Did you mean: 

Message mismatch in Moni and IR while testing

Former Member
0 Kudos

HI ,

while testing my Multi mapping scenario from JDBC sender,found that there is an mismatch in IR (Message Mapping)--> test --> view source and the MONI(SXMB_moni > inbound messages> paylod) which leads to mapping exception .

Wen i copied the paylod from Message Mapping tab and send from RWB,It's working fine.

Message in IR(Message Mapping TAB : By removing overloaded message tag)

=========================================================

<?xml version="1.0" encoding="utf-8" ?>

<ns1:MT_XXXXX xmlns:ns="XXXXXX">

<row>

XXXXXXXXXX

</row>

</ns1:MT_XXXXX>

Message in MONI got from SQL Sender

===================================

<?xml version="1.0" encoding="utf-8" ?>

<ns:MT_XXXXX xmlns:ns="XXXXXX">

<row>

XXXXXXXXXX

</row>

</ns:MT_XXXXX>

PLease fidn the structures below and guide me any suggestions .

Thanks and Regards,

Kiran.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The fact the there are different namespace variables used (ns and ns1) does not matter as long as they both equal the same value (xmlns:ns="xxxxx" and xmlns:ns1="xxxxx"). In XML these messages are the same.

Former Member
0 Kudos

Thanks for the response.Actually the problem is caused due to invalid Namespace in configueration and due inconsistency in the CACHE.

I just recreated the scenario and and is working fine.

Thanks and regards,

Kiran.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI

Message in IR(Message Mapping TAB : By removing overloaded message tag)

=========================================================

<ns1:MT_XXXXX xmlns:ns="XXXXXX">

<row>

XXXXXXXXXX

</row>

</ns1:MT_XXXXX>

Here the reference to ns1 namespace is missing. So instead use..

<ns1:MT_XXXXX xmlns:<b>ns1</b>="XXXXXX">

<row>

XXXXXXXXXX

</row>

</ns1:MT_XXXXX>

Hope that helps

Vijendra

Former Member
0 Kudos

Hi Kiran,

If you are using the message source as any .xsd from external definations, remove definition of targetNamespace and rework the mapping.

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="">

Then it will not generate any "ns" in the target structure.

Regards,

Suraj Kumar