Wednesday, May 27, 2015

Error into Disassembler component: The published message could not be routed because no subscribers were found.

This error happens if in disassembler component you missed  outgoing message type specification.
This could be fixed by following code:


    
            // this schema is required to have routing working correctly.
            outMsg.Context.Promote("MessageType",
                "http://schemas.microsoft.com/BizTalk/2003/system-properties",
                "http://SampleImport.InternalSampleImportSchema#Root");


            outMsg.Context.Promote("SchemaStrongName",
              "http://schemas.microsoft.com/BizTalk/2003/system-properties",
              "SampleImport.dll");

No comments:

Post a Comment

counter