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 ]
|