The MapHelper Class
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
By using the MapHelper class, you can perform transformations directly without using the transformation Web service. The MapHelper class is part of the project named ESB.Transform.csproj, located in the \Source\Core\Source\ESB.Transform** **folder. The ESB Guidance Core installer installs and registers the MapHelper class in the global assembly cache.
The MapHelper class exposes two public methods:
- TransformMessage. This method takes as parameters a String containing the message to transform and a String containing the fully qualified name of a map deployed within BizTalk. The method returns a String containing the transformed document.
- TransformMessageStream. This method takes as parameters a Stream containing the message to transform and a String containing the fully qualified name of a map deployed within BizTalk. The method returns a String containing the transformed document.