assign value to a message's distinguished property
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 > assign value to a message's distinguished property




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

    assign value to a message's distinguished property  
lyndon hughey


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


 
07-09-04 08:33 PM

I would like to do this:
Message.Property1 = "hello world";

Is this possible to do or will have to have an external .dll that will break
the message into a xmlDocument, assign the value, and return it to biztalk?

thanks,
Lyndon







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
Matt Milner


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


 
07-09-04 08:33 PM

If the property is marked as distinguished or promoted in the schema and you
have created an instance of the message already, then you should be able to
do this with no problem.

Matt


"lyndon hughey" <lyndon_h@hotmail.com> wrote in message
news:OVNCEPTZEHA.1980@TK2MSFTNGP09.phx.gbl...
> I would like to do this:
> Message.Property1 = "hello world";
>
> Is this possible to do or will have to have an external .dll that will
break
> the message into a xmlDocument, assign the value, and return it to
biztalk?
>
> thanks,
> Lyndon
>
>







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
lyndon hughey


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


 
07-09-04 08:33 PM

thanks for your reply.
I when I try to assign a value to a distinguished property, I get this error
" message contruction must be done in a construction block".  but i'm not
trying to constuct the messsage.  It has already been contructed.  I'm
trying to assign a value to a   distinguished property.

Thanks
"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:%23EBIkYTZEHA.2340@TK2MSFTNGP09.phx.gbl...
> If the property is marked as distinguished or promoted in the schema and
you
> have created an instance of the message already, then you should be able
to
> do this with no problem.
>
> Matt
>
>
> "lyndon hughey" <lyndon_h@hotmail.com> wrote in message
> news:OVNCEPTZEHA.1980@TK2MSFTNGP09.phx.gbl... 
> break 
> biztalk? 
>
>







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
Matt Milner


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


 
07-09-04 08:33 PM

this is part of the construction process and needs to happen within the
construct shape as well.  You can do this in a message assignment shape
within your construct shape.

Matt


"lyndon hughey" <lyndon_h@hotmail.com> wrote in message
news:%23et61iTZEHA.3012@tk2msftngp13.phx.gbl...
> thanks for your reply.
> I when I try to assign a value to a distinguished property, I get this
error
> " message contruction must be done in a construction block".  but i'm not
> trying to constuct the messsage.  It has already been contructed.  I'm
> trying to assign a value to a   distinguished property.
>
> Thanks
> "Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
> news:%23EBIkYTZEHA.2340@TK2MSFTNGP09.phx.gbl... 
> you 
> to 
>
>







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
lyndon hughey


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


 
07-09-04 08:33 PM

You save my sanity.  Thanks for you help.

Lyndon
"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:uhTlOpTZEHA.2576@TK2MSFTNGP10.phx.gbl...
> this is part of the construction process and needs to happen within the
> construct shape as well.  You can do this in a message assignment shape
> within your construct shape.
>
> Matt
>
>
> "lyndon hughey" <lyndon_h@hotmail.com> wrote in message
> news:%23et61iTZEHA.3012@tk2msftngp13.phx.gbl... 
> error 
not[vbcol=seagreen] 
message[vbcol=seagreen] 
and[vbcol=seagreen] 
able[vbcol=seagreen] 
will[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
Martin Marinov


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


 
07-09-04 08:33 PM

1. You have to create a new message for the same type
2. Create message assignment block and initialize the new message, like
newmessage = oldmessage
3. Assiign the distinguished filed
newmessage.Property1 = "Hello world";

Regards
Martin

"lyndon hughey" <lyndon_h@hotmail.com> wrote in message
news:OVNCEPTZEHA.1980@TK2MSFTNGP09.phx.gbl...
> I would like to do this:
> Message.Property1 = "hello world";
>
> Is this possible to do or will have to have an external .dll that will
break
> the message into a xmlDocument, assign the value, and return it to
biztalk?
>
> thanks,
> Lyndon
>
>







[ Post a follow-up to this message ]



    Re: assign value to a message's distinguished property  
Btvn


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


 
09-27-04 07:47 AM

I do the same way. But no exprected result. Can you show me the detail...?
Thanks





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:58 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