BizTalk Server Orchestration - Reading message and envelope promoted properties from within a BTS2004 orchestration..

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2004 > Reading message and envelope promoted properties from within a BTS2004 orchestration..





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Reading message and envelope promoted properties from within a BTS2004 orchestration..
news.ntlworld.com

2004-03-26, 9:44 pm

In order to read promoted properties on a message from within an
orchestration I can create a component containing a method with the
following signature:

MyMethod (Microsoft.XLANGs.BaseTypes.XLANGMessage m)

The XLANGMessage class has a GetProperty method that will return a promoted
property given the correct type reference. This works fine and returns the
built in properties such as e.g. BTS.ReceivePortName and also custom
properties which were promoted in the message itself.

However, does anyone know if it is possible to read properties that were
promoted from the ENVELOPE using the same technique? According to the
documentation, envelope properties are also promoted onto the message
context if a property schema is provided....I can't get this to work. Is
there any way to read envelope properties in an orchestration either
directly in an expression shape or from a helper component?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com