11-22-06 12:23 PM
Hi there guys
I know there was a old Post on this subject but it has since been
closed, I know this method can be called from a Orchestration as
Highlighted in the example below found in the other post aswell as the
Biztalk Help.
What I however would like to know is there anyway to call
Microsoft.XLANGs.Core.Service.RootService.ApplyTransform() from a
dot.net assembly?
Example:
----------
if (condition)
{
MapType = Type.GetType("NameSpace1.Map1, AssemblyName1,
Version=1.0.0.0,Culture=neutral, PublicKeyToken=111111111111");
}
else
{
MapType = Type.GetType("NameSpace2.Map2, AssemblyName2,
Version=1.0.0.0,Culture=neutral, PublicKeyToken=111111111111");
}
// use the map type in the transform
construct _responseMessage
{
transform (responseMessage.x1, _responseMessage.x2) =
MapType(requestMessage.s1, _requestMessage.s2);
}
// or you can use the fully-qualified map name in the transform
construct _responseMessage
{
transform (_responseMessage.x1, _responseMessage.x2) =
NameSpace.MapName (requestMessage.s1, _requestMessage.s2);
}
[ Post a follow-up to this message ]
|