on 02-08-2007 4:51 PM
Dear SDN,
A message mapping is raising the following error:
RuntimeException in Message-Mapping transformatio~
The reason is that the inbound payload has not namespace therefore mapping raises a not well formed inbound message error. My guess!
The inbound message is generated by an external system without explicit namespace:
<root>
.....
</root>
when manually editing the message and adding to it namespace, message process successfully:
<ns0:root xmlns:ns0="...">
...
</ns0:root>
How can I omit this namespace check, o can I create a message type without namespace?
Hi Gustavo -
<i>>>>How can I omit this namespace check, o can I create a message type without namespace?</i>
If you're using a Message Type, you can exclue the namespace by blanking out the <b>XML Namespace</b> in the Message Type screen.
Regards,
Jin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gustavo,
r u using sm external definitions or so...i mean is ur source msg structure an xternal definition...try to check in SXMB_MONI he trace of the pipeline step in which u r getting this error. U will get the exact error occuring.
Regards,
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just found a way to solve it.
Yes you're right, I am not using an external definition, I created a data type importing the xsd file, and then created a message type referencing such data type.
How I solved it was quite simple. I just export the message type to an xsd archive, edited it to remove namespace definition, and then imported it as source structure into the message mapping. Now the scenario works fine.
Thanks a lot.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.