Possible Bug - Maps - Testing

Greetings,

I am observing a peculiar behavior in the mapper in VS.Net with respect to EDI files.

I have the following:

A map to convert a 4010-856 to 5010-856.

I have right clicked on the map, and selected properties.

I have set the properties in the dialog as follows:

Validate TestMap Input: True

Validate TestMap Output: True

TestMap Input Instance: E:\temp\messages\856_TestFile.edi

TestMap Input: Native

TestMap Output: XML

TestMap Output instance: <blank - default>

Now, when I right click on the map and select Test Map, I get the following error:

Invoking component...

Test Map used the following file:<file:///C:\Documents and Settings\cbeuker\Local Settings\Temp\inputfile.xml>as input to the map.

C:\Documents and Settings\cbeuker\Local Settings\Temp\inputfile.xml: error btm1044: Input validation error: Root element is missing.

Test Map failure for map file.........

Why is it looking forInputFile.xml in my local settings temp directory? I specified a proper existing file.

If I change theTestMap Input to XML from Native, it looks at the file in the right place, but gives an error as it is expecting XML Where the file is actually the EDI of the 856 want to map.

If I change teTestMap Input to generate instance, I get

Invoking component...

C:\Documents and Settings\cbeuker\Local Settings\Temp\inputfile.xml: error btm1037: Specified input file does not exist: The path is not of a legal form.

Test Map failure for map file ..............

Is this a bug? Am I missing something.

Thoughts, comments?

Thanks in advance

Craig B.

[2151 byte] By [CraigBeuker] at [2008-2-10]
# 1

From the generate instance statement, it looks like you are using Vista. Is that correct? Could you send out the instance and schema used in your test? I will try to repro this for you and get back to you soon.

Thanks

Mohsin

MohsinKalam–MSFT at 2007-10-11 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...
# 2

HI

I think there is a problem while your are setting the properties u need to set these also look at these and try

Typename:

Namespace:

Filename:

If not Firstly change these in map and then validate the instance and use that sample as input to map and test the map this

should work

santhoshkk

SantoshKK at 2007-10-11 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...
# 3

Greetings,

No, I am working on Windows XP.

Where would you like me to send the bundled files or should I just post them?

CraigBeuker at 2007-10-11 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...
# 4
You can zip the project and mail it to me. My email is in my profile. Thanks
MohsinKalam–MSFT at 2007-10-11 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...
# 5
I haven't heard back from the customer and I am unable to repro the above scenario hence closing this issue as resolved
MohsinKalam–MSFT at 2007-10-11 > top of Msdn Tech,BizTalk Server,BizTalk EDI and AS2...