how to read constructed message as string in expression shape

Home Page Forums BizTalk 2004 – BizTalk 2010 how to read constructed message as string in expression shape

Viewing 1 reply thread
  • Author
    Posts
    • #25881

      Hi All,

      I’m new to biztalk, started learning and practicing few concepts.

      I need to  read constructed message as string in expression shapes. In expression shapes, I’ve called .net method to insert xml data to sql database.

      is that possible ? else, please guide me on above issue..

      here the code added in expression shape.

      Insertinfodll.insertdata(OutMSG);

      OUTMSG // is constucted message.

      Thanks and Regards,

      Karthick

    • #25882

      First off, you want to use caution loading the message into a string.  Just make sure it isn’t “too big”.

      The easiest way I can think of is setting the message to an XML Document message.  Then, so mySting = xDoc.OuterXML.  

      That will give you a message as a String.

      Hope this helps.

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