I have a simple batch file that executes BTSTask ImportBindings on a previously exported binding file. There don’t seem to be any errors thrown. The send / receive ports and orchestrations are created ok. The problem is that the orchestrations are not bound and the hosts are not set.
I’ve examined the binding file and it looks ok. Within BindingInfo\ModuleRefCollection\ModuleRef\Services\Service I have the orchestrations and these have Ports\Port elements which contain valid values for SendPortRef / ReceivePortRef.
What’s the best way to troubleshoot this problem? As I’ve said. there’s no error thrown at the command line when I run the BTSTask ImportBindings.
Many thanks
Rob.
Thanks for your answer Richard but I did try importing the binding file manually through the BizTalk admin console and this worked fine.
After further investigation, my colleague (thanks Brad) discovered that the only significant difference between the binding file which was failing and a previous working version was in the node of the send ports. It seems that I had opened the Binding File in XML Spy and hit the pretty-print button, this inserts spaces into the ordinarily messy node and those spaces seem to cause the problem