on 10-16-2007 11:48 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.