Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Message Mapping Error .

$
0
0

Hi,


While executing Message Mapping I am getting LastName data in wrong Node on Target Side.

eg.
<root>
<Source> /* Data 1 */
<FirstName>FName1</FirstName>
<LastName>LName1</LastName>
</Source>
<Source> /* Data 2  - Here from Source I am not getting last name in XML Paylaod*/
<FirstName>Name2</FirstName>
</Source>
<Source> /* Data 3 */
<FirstName>Name3</FirstName>
<LastName>LName3</LastName>
</Source>
</root>


Where as on response side, I am getting target XML as this.

<Target>/* Data 1 */
<FirstName>FName1</FirstName>
<LastName>LName1</LastName>
</Target>
<Target>/* Data 3 */
<FirstName>FName2</FirstName>
<LastName>LName3</LastName>  -- Wronge data here ---
</Target>
<Target>/* Data 3 */
<FirstName>FName3</FirstName>
</Target>

How to handle such case

I have attached following for your reference.

1. Screenshot of MessageMapping .
2. XSD of Source side Structure.   - Sorry not able to attach
3. Sample XML Payload.


Regards
PS


Viewing all articles
Browse latest Browse all 6719

Trending Articles