BizTalk Server Tools - How to map multiple fields to a record

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > October 2004 > How to map multiple fields to a record





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 How to map multiple fields to a record
Ian

2004-10-15, 9:09 pm

I have an input xml file that contain elements a1, a2, a3, b1, b2, and
b3 (see below). Elements a1, a2, and a3 map directly to elements on a
web service input. However elements b1, b2, and b3 are optional and
are needed to map to a repeating record on the web service (see
below). Any ideas on how to solve this issue in a map?

<InputXMLFile>
<a1 />
<a2 />
<a3 />
<b1 />
<b2 />
<b3 />
</InputXMLFile>


<WebService>
<a1 />
<a2 />
<a3 />
<OptionalFields>
<OptionalField Name="b1" Value="">
<OptionalField Name="b2" Value="">
<OptionalField Name="b3" Value="">
</OptionalFields>
</WebService>


Thanks in advance

- Biztalker IJ
Tracy Liveoak

2004-10-15, 9:09 pm

You have to use the "looping" functiod along with the "Value Mapping"
functiod to do this. I have a map for this, but I don't know how to attach a
file here. If you will give me a way to send it to you, I will be glad to
forward it to you.

Tracy

"Ian" wrote:

> I have an input xml file that contain elements a1, a2, a3, b1, b2, and
> b3 (see below). Elements a1, a2, and a3 map directly to elements on a
> web service input. However elements b1, b2, and b3 are optional and
> are needed to map to a repeating record on the web service (see
> below). Any ideas on how to solve this issue in a map?
>
> <InputXMLFile>
> <a1 />
> <a2 />
> <a3 />
> <b1 />
> <b2 />
> <b3 />
> </InputXMLFile>
>
>
> <WebService>
> <a1 />
> <a2 />
> <a3 />
> <OptionalFields>
> <OptionalField Name="b1" Value="">
> <OptionalField Name="b2" Value="">
> <OptionalField Name="b3" Value="">
> </OptionalFields>
> </WebService>
>
>
> Thanks in advance
>
> - Biztalker IJ
>

Ian

2004-10-15, 9:09 pm

Tracy,

If you could email that map file to me, that would be great.

Thank you very much

Ian


"Tracy Liveoak" <Tracy Liveoak@discussions.microsoft.com> wrote in message news:<29E25412-D2D8-4036-A60C-F52B0A40E80F@microsoft.com>...[vbcol=seagreen]
> You have to use the "looping" functiod along with the "Value Mapping"
> functiod to do this. I have a map for this, but I don't know how to attach a
> file here. If you will give me a way to send it to you, I will be glad to
> forward it to you.
>
> Tracy
>
> "Ian" wrote:
>
Tracy Liveoak

2004-10-15, 9:09 pm

I have e-mailed this information to your hotmail account...

"Tracy Liveoak" wrote:
[vbcol=seagreen]
> You have to use the "looping" functiod along with the "Value Mapping"
> functiod to do this. I have a map for this, but I don't know how to attach a
> file here. If you will give me a way to send it to you, I will be glad to
> forward it to you.
>
> Tracy
>
> "Ian" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com