03-21-06 08:09 AM
Hi,
When you generate your instance, save it to a location in your project
structure (it's good to create a TestMessages folder for this). You can then
open the properties dialog for your map (right click from the Solution
Explorer), and change the test map instance from Generate Instance to Native
,
and select the saved flat file as the input instance for testing the map. Yo
u
can then test against the generated instance.
It's also good to test the map agianst some sample flat file documents that
you will be processing to double check the map works correctly.
Regards,
Alan
--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith
"Daniel" wrote:
> Hi, in my Flat File Schema,
> i have a Group1 with minOccurs = 10 and maxOccurs = 10.
> When i generate Instance on native mode, the file is generate correctly -
> the Group is repeated 10 times - , but,
> when i test the map i receive the error "incomplete content".
> this happens because i only have 1 occurs of Group1.
>
> if the map use minOccurs and maxOccurs, in the same way that
> "Generate Instace" uses, I believe that I can resolve the problem.
>
> Somebody knows how can i do this ?
[ Post a follow-up to this message ]
|