BTS.MessageType problem in Receive Shape Filter expression. Need urgent Help

Home Page Forums BizTalk 2004 – BizTalk 2010 BTS.MessageType problem in Receive Shape Filter expression. Need urgent Help

Viewing 2 reply threads
  • Author
    Posts
    • #17201

      Hi I  am creating a receive shape at the beginning of a Orchestration. I want to filter some messge based on their type and proceed further.

      In the filter Expression I am giving  BTS.MessageType ="<Schema Name>". While compiling the application , I am getting the error as

      The type or namespace name 'MessageType' does not exist in the namespace 'SHMC.BTS' (are you missing an assembly reference?) 

      e:\Projects1\SHMC\RASB\Test\SHMC.BTS.RASBInterfaceTest\SHMC.BTS.RASBInterfaceTest\BizTalk Orchestration1.odx.cs 419 29 

      The next error is

       cannot find symbol 'BTS.MessageType' 

      Please help.

       thanks

      Jit

       

       

       

       

    • #17205

      Hi,

      THis may be obvious but the schema name ofr a message type is 2 parts namespace#rootnode.

      Slan

      Gar

      • #17213

         

        HI Gar,

         I have given the schema name for message type in 2 parts. Here is the sample

          BTS.MessageType == "http://microsoft.com/HealthCare/HL7/2X#ORM_O01_23_GLO_DEF" where "http://microsoft.com/HealthCare/HL7/2X" is the schema name and "ORM_O01_23_GLO_DEF" is the root node. Please let me know where am I making mistakes.

         I am getting the following error messages

        Error 10    identifier 'MessageType' does not exist in 'SHMC.BTS'; are you missing an assembly reference? E:\Projects1\SHMC\RASB\SHMC.BTS.RASBInterface\SHMC.BTS.RASBInterface\ORM_O01_23_TO_SQL_ORCH.odx 502 29 

        Error 11 cannot find symbol 'BTS.MessageType' E:\Projects1\SHMC\RASB\SHMC.BTS.RASBInterface\SHMC.BTS.RASBInterface\ORM_O01_23_TO_SQL_ORCH.odx 502 29 

        thanks

        Jit

    • #17208

      Here is the problem – you made your project name SHMC.BTS.RASBInterfaceTest – this turns into your .NET namespace.  Since BizTalk takes the odx and turns it into C# – you have a C# namespace with BTS in it.  This is cause the compiler to look into your namesapce for MessageType – and its not there.  The only fix is to go into the project properties and remove BTS. from your namespace

      Jon Flanders

      http://www.masteringbiztalk.com/

      • #21495

        This is true with both ‘BTS’ & ‘EDI’ (‘CompanyX.BTS.Project’ or ‘CompanyX.EDI.Project’) Avoid creating any of your namespaces with those in it – Lame, but it will save you many headaches.

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.