Click here to Skip to main content
12,350,143 members (25,564 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

8.7K views
3 bookmarked
Posted

Message Debatching – Values not being mapped in a Transformation – Null Values in Destination Schema

, 30 May 2009 CPOL
Rate this:
Please Sign up or sign in to vote.
Message Debatching – Values not being mapped in a Transformation – Null Values in Destination Schema

Last week I was getting a response from a service which returned a record. I was simply using xpath function and assigning each record into a destination message. Then I used a transformation shape to map 3 source messages to the response message. One of the messages was assigned a record from the response and the message was being constructed successfully as I was logging the message and saw it in the Orchestration Debugger. But after the Transformation, the values were NULL.

map_problem

All that was missing was the namespace in the message and my message type wasn't correct. If the message types are not correct, you will get the following exceptions if you are sending a message to a port. But in my case, I wasn't.  :)

Inner exception: Received unexpected message type does not match expected type http://Namespace#RootNode. Exception type: UnexpectedMessageTypeException

Well just give your message the appropriate type and you are done. Well it was simple and it wasted 2 hours of mine. :(


technorati tags:
Posted in Tips & Tricks Tagged: Message Debatching - Values not being mapped in a Transformation - Null Values in Destination Schema

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Abdul_Rafay
Architect
Qatar Qatar
I am a BizTalk Server MVP for 2010 and an active blogger and a participant on the MSDN BizTalk Server Forums. I am currently working as a BizTalk Architect at a Bank in Qatar. Before this position I worked as a Sharepoint Consultant in UAE , BizTalk Architect in Bank Saudi Fransi in Saudi Arabia and United Bank Ltd in Pakistan.

I also achieved MCTS certification in BizTalk Application development in June 2008.

Click here to check out my Blog.

SQL Server Query Notification with BizTalk Server 2009 WCF SQL Adapter.

Envelope Wrapper.

Aggregator (Sequential Convoy)

Splitter (Debatching multiple records)
Resequencer
Recipient List
Scatter and Gather using Self Correlating Port

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160621.1 | Last Updated 30 May 2009
Article Copyright 2009 by Abdul_Rafay
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid