Stuart Brierley
Stuart Brierley

Reputation: 11

Test Map Output Schema wrong

This is a bit of a strange one, but I was wondering if anyone might have seen it before and know of a cure.

Basically, we have updated a schema and the format has radically changed. The schema was used in a number of maps, so these have also been updated.

When testing one of the maps (Visual Studio right click, test map) it claims that the test suceeds, but the resultant xml is in the old schema format and not the new updated format.

The mapper shows the correct schema, I have tried rebuilding and even redeploying just in case something was holding on to the old schema somehow, but it still maps to the old format.

Any suggestions welcome.

Cheers Stu.

Upvotes: 1

Views: 296

Answers (1)

StuartLC
StuartLC

Reputation: 107367

This is a bug feature of Visual Studio BizTalk projects.

In your BizTalk solution, ensure that "show all files" (at the top) is set, and then manually run through your affected Schemas, and delete the generated .xsd.cs files.

Do the same for your updated maps (btm.cs) as well, and then rebuild the project. (BizTalk will rebuild the *.cs files)

Also, at deployment / import time, ensure that you:

  • Re-GAC your assemblies
  • Re start the BizTalk host processes

Upvotes: 1

Related Questions