Dot Net Dunk

Wandering in the land of .NET
posts - 42, comments - 22, trackbacks - 187

My Links

News

Archives

Post Categories

Blog Roll

Obscure BizTalk Mapper Bug

If anyone can explain this bug to me I'd be really grateful! :-)

I have defined a Web Service, one of the parameters to which is XML data confirming to a schema. The schema includes an abstract element, as described in this excellent article by Dare Obasanjo, as well as defining a valid subtype for the abstract element.

I construct my message to the web service in the normal way: From my BTS project, I successfully add a web reference to the web service. In my orchestration I define a message of the correct type to pass in to the web service. I drop a message transform onto my orchestration to populate that message, select the source & destination messages, and click "Launch BizTalk mapper" in the Transformation Configuration dialogue box.

This is where we hit the bug:

When the mapper opens, my element with the abstract type shows up, but cannot be expanded to show the expected "Equivalent" expansion along with the root type and the derived type underneath it.

After a bit of investigation, I found the problem. The map is initially created with the target schema defined as:

<TrgTree RootNode_Name="AlertReport">
<Reference Location=".\web references\datawarehouse\reference.xsd" />
TrgTree>

Note the lowercase "reference.xsd". If you change this to match the actual filename of "Reference.xsd" (either by hand, or use the "Replace schema" menu option) then the abstract node correctly opens out into the expansion showing your alternative sub types and hence allowing you to map to them.

Strange!

Update: This should be fixed in SP1. Please see my blog entry about the fix.

Print | posted on Wednesday, June 09, 2004 12:46 PM | Filed Under [ BizTalk Server ]

Feedback

Gravatar

# re: Obscure BizTalk Mapper Bug

That is very odd, Dunc. Here's a Wild Ass Guess. BTS2004 is written in C# and C# is case sensitive. Now, the file system isn't case sensitive but stranger things have happened.

email brian.loesgen@ineta.org

He's a BTS2004 guru.

Dave
6/9/2004 2:51 PM | David Totzke
Gravatar

# re: Obscure BizTalk Mapper Bug

Cheers for the thought Dave ... I don't think that's (directly) the issue, as the rest of the schema defined in that file is all present and correct. It's only the abstract element which is deep in the document that is wrong.
6/9/2004 2:55 PM | Duncan Millard

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 8 and 1 and type the answer here:

Powered by: