BizTalk Server General - Re: how to call a .NET based method from an orchestration in BTS

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > December 2005 > Re: how to call a .NET based method from an orchestration in BTS





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 Re: how to call a .NET based method from an orchestration in BTS
Yoss Dahan

2005-12-17, 7:47 am

Mateo wrote:
> Have you any idea about how to call a .NET method from within a expression
> shape in an orchestration?
>
> thanks a lot.
>
> Mateo

You need to create your class with the method as public.
build and GAC it.
Add a reference to the project with that class from the project
containing your orchestration.
Add a variable of .net class in your orchestration, decide whether to
use the default constructor.
from an expression shape you can now access you variable which is an
instance of your class and will have it's public members.
(if you did not use the default constructor in the variables properties
you'll need to instantiate the class)

Yossi Dahan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com