Bizmonade-ドキュメントを受信するオーケストレーションのテスト

StackOverflow https://stackoverflow.com/questions/3191586

  •  02-10-2019
  •  | 
  •  

質問

biztalk(system.xml.document)のドキュメントタイプを受信するオーケストレーションがあります。 Bizmonadeは、常に異なるスキーマの種類を指定するオーケストレーションを常に使用したいと考えているようです。

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

どんな考えでも、次のようなものでそれを機能させる方法

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();
役に立ちましたか?

解決

バージョン1.0.0.2(リリースされたばかり)ができるはずです。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top