Mass Copy Functoid Issue (BTS04)
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 General > Mass Copy Functoid Issue (BTS04)




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

    Mass Copy Functoid Issue (BTS04)  
GAT


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


 
09-24-04 10:49 PM

Hi,

I'm trying to use the Mass Copy Functoid to map a message substructure to an
<any> element within the destination schema. However, when I test the
mapping, error messages are returned. Even if I reproduce the example given
in BTS2004 Documentation article "Mass Copy Functoid" and test the mapping
(within orchestration designer), it fails with errors similar to "Could not
find schema information for element 'Element1'....", "The element
'CustomerOrder' has invalid content" and "The 'Element2' element is not
declared". It's simple to reproduce the problem. My input schema looks like
this:

<Root>
<CustomerOrder>
<Element1>Hello</Element1>
<Element2>HelloAgain</Element2>
.... zero or more subsequent elements
</CustomerOrder>
</Root>

and my output schema is:

<Root>
<CustomerOrder>
<any>
</CustomerOrder>
</Root>

Within BizTalk mapper, I map the CustomerOrder node of the input schema to
the CustomerOrder node of the output schema via the Mass Copy Functoid. But 
I
can't seem to avoid errors, even if I reproduce the example mapping in Help.

Can anyone suggest what the problem might be? Are there any rules or gotchas
with mapping to an <any> element which are not mentioned in the Documentatio
n?

Many thanks!

GAT








[ Post a follow-up to this message ]



    RE: Mass Copy Functoid Issue (BTS04)  
Tatyana Yakushev [MSFT]


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


 
09-24-04 10:49 PM

Set "Process Content" to Skip on the <Any> node. (This is covered in documen
tation).

Tatyana
--------------------
>Thread-Topic: Mass Copy Functoid Issue (BTS04)
>thread-index: AcSiSG90ARPL1BaKQY2hwiHAL0xwZA==
>X-WBNR-Posting-Host: 217.140.1.140
>From: examnotes <GAT@discussions.microsoft.com>
>Subject: Mass Copy Functoid Issue (BTS04)
>Date: Fri, 24 Sep 2004 08:09:06 -0700
>Lines: 41
>Message-ID: <2552FAAA-C570-42B6-996E-99DC91B417F5@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
>	charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.biztalk.general:19843
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hi,
>
>I'm trying to use the Mass Copy Functoid to map a message substructure to a
n
><any> element within the destination schema. However, when I test the
>mapping, error messages are returned. Even if I reproduce the example given
>in BTS2004 Documentation article "Mass Copy Functoid" and test the mapping
>(within orchestration designer), it fails with errors similar to "Could not
>find schema information for element 'Element1'....", "The element
>'CustomerOrder' has invalid content" and "The 'Element2' element is not
>declared". It's simple to reproduce the problem. My input schema looks like
>this:
>
><Root>
>   <CustomerOrder>
>        <Element1>Hello</Element1>
>        <Element2>HelloAgain</Element2>
>        ..... zero or more subsequent elements
>   </CustomerOrder>
></Root>
>
>and my output schema is:
>
><Root>
>    <CustomerOrder>
>          <any>
>    </CustomerOrder>
></Root>
>
>Within BizTalk mapper, I map the CustomerOrder node of the input schema to
>the CustomerOrder node of the output schema via the Mass Copy Functoid. But
 I
>can't seem to avoid errors, even if I reproduce the example mapping in Help
.
>
>Can anyone suggest what the problem might be? Are there any rules or gotcha
s
>with mapping to an <any> element which are not mentioned in the Documentati
on?
>
>Many thanks!
>
>GAT
>
>
>
>


--

This posting is provided "AS IS" with no warranties, and confers no rights. 
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note:  For the benefit of the community-at-large, all responses to this mess
age are best directed to the newsgroup/thread from which they originated.






[ Post a follow-up to this message ]



    RE: Mass Copy Functoid Issue (BTS04)  
GAT


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


 
09-25-04 12:46 PM

Thanks Tatyana. I'd already set the Process Content to Skip, but upon
double-checking, realised that the Max Occurs property of the <any> element
needed to be set to Unbounded. Nice 'n easy solution... for once. Thanks
again for your help!





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:55 AM.      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