Question

eliassal on Tue, 28 Oct 2014 11:31:06


Hi, I have generated a flat file schema from an exisitng txt file, when I do "Validate instance", it seems that it is OK, I get

File 'E:\mydirectory\Dev\Azure Biztalk Services\WABS Integration Patterns\OrderFFSampleNotepad.txt' is a valid instance of schema file 'orderffmps.xsd'.

I map this FF to an xml schema, when doing "Test Map", i get

Error 3 Test map failed. 'TransformRuntimeException' raised during map execution : Data at the root level is invalid. Line 1, position 1. e:\mydirectory\dev\azure biztalk services\wabs integration patterns\content based routing\wabs-cbr\orderff_to_order.trfm 1 1 

So why I am getting this invalid data whereas it is a valid instance.

2nd, can we debug maps as it is the case in on premise Biztalk projects/

Thanks


Sponsored



Replies

cry8 on Thu, 30 Oct 2014 22:42:52


Hi,

I also requested the debugging feature here:

http://feedback.azure.com/forums/216276-biztalk-services/suggestions/6367404-improve-test-map-capacities

you can vote for that

eliassal on Fri, 31 Oct 2014 11:37:49


HI, I voted. In the meantime, what can I do as problem persist and not able to see what is the problem.

cry8 on Fri, 31 Oct 2014 18:03:10


Please upload both XSD and your map file.

eliassal on Fri, 31 Oct 2014 20:51:43


Hi, I uploaded map, 2 xsds and a sample file on my onedrive

http://1drv.ms/1u2q92u

http://1drv.ms/1u2qwKi

http://1drv.ms/1u2r4Qu

http://1drv.ms/1u2rfew

cry8 on Sun, 02 Nov 2014 09:33:38


Hm, my assumption is that Test Map can't handle native files as input yet.

eliassal on Sun, 02 Nov 2014 14:56:35


How then one can validate his code?

this is not good especially WABs seems, according to MS, geared toward B2B , EAI and EDI.....In EDI world there is onlt native and not xml.

I donm²t understand, it is easy, if I am not mistaken, to replicate the map debugging functionality in Biztalk server 2010 and 2013 in WABs.

I think that non-availability of robust tools behind the pltaform will hinder its adoption by the community and new comers

Shailesh Agre on Tue, 04 Nov 2014 06:50:05


The feedback passed on to the product group.

The map engines in BizTalk on premise and BizTalk Services are different.

So currently in your scenario, the only option is to push the file to the service - apply the map on the bridge and test the output.

Regards,
Shailesh

ravi kanaparthi on Mon, 14 Sep 2015 12:33:20


I faced similar issue. It looks like the BizTalk Services Map does not support TestMap functionality when the input is in 'native' format. Only way to test the map is to deploy the bridge and test the result