문제

I have an orchestration that receives any document type in BizTalk (System.Xml.Document). It looks like Bizmonade always wants to use an orchestration that specifies a type of schema that is different from ANY.

OrchestrationSimulator.Test<Dummy__Simulated>()
.When(MessageReceived.FromFile<CanonicalInvoice>(
 Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Test.Files\CanonicalInvoice.xml")))
.ExpectCompleted<Dummy__Simulated>()
.ExecuteTest();  

Any thoughts how to make it work with something similar to:

OrchestrationSimulator.Test<Dummy__Simulated>()
.When(MessageReceived.FromFile<XmlDocument__Simulated>( // or not to specify at all?
 Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"Test.Files\CanonicalInvoice.xml")))
.ExpectCompleted<Dummy__Simulated>() 
.ExecuteTest();
도움이 되었습니까?

해결책

Version 1.0.0.2 (just released) should be able to do it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top