Yossi Dahan [BizTalk]


Tuesday, December 12, 2006

Enum as a message part

...Does not seem to be supported.

When I created a multipart message and for one of the parts used the .net type selector to pick up an enum declared in one of our classes I got all sorts of wierd compile time errors about missing ) and ] all refering to the source code behind the orchestration.

The way around it is quite obvious and that is to pass the data as an int and keep casting from one to the other, but of course you loose the benefit of having an enum....



Post a Comment

<< Home