Accessing Message attribute in expression shape
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 > Accessing Message attribute in expression shape




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

    Accessing Message attribute in expression shape  
Neil Hewitt


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


 
03-09-05 10:50 PM

whenever i try to assign a variable the value from a message in an expressio
n
i get illegal dotted name whenever i try to assign an attributes value to a
defined variable.

the attribute from the message schema is an integer and the variable is of
int16.  i pomoted the property in the schema and ithougth taht was all that
was required.  is there something else i am missing ?





[ Post a follow-up to this message ]



    RE: Accessing Message attribute in expression shape  
Neil Hewitt


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


 
03-09-05 10:50 PM

Seems to have corrected itself .. not terribly sure what i did  - but now 
i
get the errpr cannot implicitly convert system.decimla to system.int16.
Curious because i have defined the variable that i am assigning the value to
as Int16 and the Message attribute is off type integer.

what could cause this ?

"Neil Hewitt" wrote:

> whenever i try to assign a variable the value from a message in an express
ion
> i get illegal dotted name whenever i try to assign an attributes value to 
a
> defined variable.
>
> the attribute from the message schema is an integer and the variable is of
> int16.  i pomoted the property in the schema and ithougth taht was all tha
t
> was required.  is there something else i am missing ?





[ Post a follow-up to this message ]



    RE: Accessing Message attribute in expression shape  
Ben Cuttriss


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


 
03-11-05 01:48 AM

Neil - not sure why you are getting your decimal error, but try using the
System.Convert class whenever doing type conversions.  Pass it the variable
on the ToInt16 function and voila - it will do it.

Regards
Ben Cuttriss.

"Neil Hewitt" wrote:
[vbcol=seagreen]
> Seems to have corrected itself .. not terribly sure what i did  - but no
w i
> get the errpr cannot implicitly convert system.decimla to system.int16.
> Curious because i have defined the variable that i am assigning the value 
to
> as Int16 and the Message attribute is off type integer.
>
> what could cause this ?
>
> "Neil Hewitt" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





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