How to map multiple fields to a record
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Tools > How to map multiple fields to a record




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to map multiple fields to a record  
Ian


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

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





[ Post a follow-up to this message ]



    RE: How to map multiple fields to a record  
Tracy Liveoak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

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
>





[ Post a follow-up to this message ]



    Re: How to map multiple fields to a record  
Ian


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

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-D2
D8-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 attac
h 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:
> 





[ Post a follow-up to this message ]



    RE: How to map multiple fields to a record  
Tracy Liveoak


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-16-04 02:09 AM

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 attac
h 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:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:32 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register