Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to test Biztalk application it has Wcf rcv port and Send port as my IIS is not working cannot host it. SO need to create file send port but how do I test it without change in code in orchestration.
Posted

1 solution

You can create a WCF stub with two Operation Contracts Publish() and Subscribe() to test your application. All you need to do is, host this WCF service stub in Console Application. (Check the link[^] to figure out how).

The stub should work in the following fashion:
-Publish(): This stub's Operation will publish messages to BizTalk by reading a file location where you can place your input files.
-Subscribe(): This Stub's Operation will accept/capture messages from BizTalk and save it on a file location.

You can then use BizUnit[^] to check the output file if it is compliant with your output or not.

Note: Replace Publish() and Subscript() with the operations on Receive and Send ports respectively.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900