BizTalk Server Orchestration - Received Message but cannot map values

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > Received Message but cannot map values





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Received Message but cannot map values
Nicato

2005-12-26, 5:54 pm

Hi
I have an orchestration, where I have an input port and an output port.
Actually I simply was getting a message and saved it 1:1 through that dummy
orchestration.
Aftre that, I added a map, where I took one value out of the source schema
and mapped it to the value on the target schema (the target has one field
only).

Funny thing is, that in my target XML on the file system, I do not get any
value! Just an empty element. Even though that the message was created onand
in the 1:1 shown to be filled with values. How can that be??

Here my BT Soultion
1. I have a message containing multiple sub-messages. I did this via an own
pipeline with envelope/document.
2. The orchestration gets that messages in, and sends it to a file output
(for debugging purposes). I see that the message is created correctly.
3. I have a map which does something like
Element1
Element2
.....
Element n

is mapped fix to Element1 in the target message.

That's it.

Nicato

2005-12-28, 5:57 pm

Solved the problem.
This was because i had a file (and schema) like this:
<Message>
<Trans>
<Customer>
</Trans>
</Message>

and <Trans> and <Customer> do build actually one record. So I had to set on
the schema at the level of <trans> the property "Group Max Occurs" = 1 and
"Group Min Occurs"=1
This sovlved it, I think because now BT knows that there is only one <Trans>
and knows exactly where to match it.

"Nicato" wrote:

> Hi
> I have an orchestration, where I have an input port and an output port.
> Actually I simply was getting a message and saved it 1:1 through that dummy
> orchestration.
> Aftre that, I added a map, where I took one value out of the source schema
> and mapped it to the value on the target schema (the target has one field
> only).
>
> Funny thing is, that in my target XML on the file system, I do not get any
> value! Just an empty element. Even though that the message was created onand
> in the 1:1 shown to be filled with values. How can that be??
>
> Here my BT Soultion
> 1. I have a message containing multiple sub-messages. I did this via an own
> pipeline with envelope/document.
> 2. The orchestration gets that messages in, and sends it to a file output
> (for debugging purposes). I see that the message is created correctly.
> 3. I have a map which does something like
> Element1
> Element2
> ....
> Element n
>
> is mapped fix to Element1 in the target message.
>
> That's it.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com