Construct Message
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Construct Message




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Construct Message  
Raj


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-09-05 07:47 AM

Hi,
How do I pass variables to the construct method?
For.e.g if i wanna construct a message by name InMsg, I can build an
expression as below
construct Inmsg
{
}
but how do I pass a variable to the construct?
Thanks
Raj





[ Post a follow-up to this message ]



    Re: Construct Message  
Chad


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-09-05 10:49 PM

If I am understanding your questions, you need to make values
accessible by promoting the values in your defined schema.  I believe
only promoted values are accessible in your orchestration.






[ Post a follow-up to this message ]



    Re: Construct Message  
Raj


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-09-05 10:49 PM

Thanks for the response,Chad
I didnt quite explain clearly what I needed in my previous message.
I have declared a variable (System.String) and I need that variable to be
passed to my construct statement in expression shape instead of hardcoding
Construct <MessageName>.By that way I can dynamically create different
messages without using decide shape & construct shapes and  I will obtain th
e
same behavior just by using one expression shape!
Hope it makes sense
Raj



"Chad" wrote:

> If I am understanding your questions, you need to make values
> accessible by promoting the values in your defined schema.  I believe
> only promoted values are accessible in your orchestration.
>
>





[ Post a follow-up to this message ]



    Re: Construct Message  
Dejan Petkovic


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-14-05 12:50 PM

As far as I know you can't do it on this way. For the matter of the fact you
can't pass anything to the Transformation as well. Creating a message is
very tricky part in BT as far as I experienced.

Regards
Dejan
"Raj" <Raj@discussions.microsoft.com> wrote in message
news:72296E65-2E2C-4F94-A00B-A4504CD57ACE@microsoft.com...
> Thanks for the response,Chad
> I didnt quite explain clearly what I needed in my previous message.
> I have declared a variable (System.String) and I need that variable to be
> passed to my construct statement in expression shape instead of hardcoding
> Construct <MessageName>.By that way I can dynamically create different
> messages without using decide shape & construct shapes and  I will obtain
the[vbcol=seagreen]
> same behavior just by using one expression shape!
> Hope it makes sense
> Raj
>
>
>
> "Chad" wrote:
> 







[ Post a follow-up to this message ]



    Re: Construct Message  
AnthonyO


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-14-05 10:50 PM

You need to create a .Net class if you intend to do what you just explained.
You can instantiate your .Net class within a construct shape. You an pass
arguments to your .Net class, and you can return various message types from
your .Net class based on the string argument you passed into your class.
This is a bit complex but I hope this will resolve the issue

Anthony O.


"Dejan Petkovic" <pdeki.remove.me.jos.jednom@saga.co.yu> wrote in message
news:Oo9kRuoEFHA.1932@TK2MSFTNGP14.phx.gbl...
> As far as I know you can't do it on this way. For the matter of the fact
you
> can't pass anything to the Transformation as well. Creating a message is
> very tricky part in BT as far as I experienced.
>
> Regards
> Dejan
> "Raj" <Raj@discussions.microsoft.com> wrote in message
> news:72296E65-2E2C-4F94-A00B-A4504CD57ACE@microsoft.com... 
be[vbcol=seagreen] 
hardcoding[vbcol=seagreen] 
obtain[vbcol=seagreen]
> the 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:32 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register