|
Home > Archive > BizTalk Server General > October 2005 > Message not intialized issue
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 |
Message not intialized issue
|
|
| Jayendra 2005-10-06, 2:48 am |
| I am having simple orch with transform and const message shapes.
Iam giving transform o/p as input to the const message shape,and inside it
am consructing another message and values are intilized,
But it is throwing error "Uninitilized Message".
Wt amy be the problem...
Among the values that i hv initilized,one of the parmater accepts xml Doc
type(o/p of trnasform) as ntext and other parms will accept string data.
if u r having any sample code which passes xml doc as string parm to
messsage .pls send me
Jayendra
| |
| Pankaj 2005-10-06, 2:48 am |
| Just initialise the message to be constructed
by passing a dummy value to the whole message(dummy xml).
Then initialise the other values.
Regards
Pankaj
| |
| Jayendra 2005-10-06, 2:48 am |
| HI pankaj,
Here is message assignment statements..
//Message1 is incoming xml file
//Message2 is message to be constructed
var1=Message1;//var1 is xmldocuemtn type
Message2.name="fsf";
Message2.xmldocfile=var1.innertext;
Message2.city="jd";
error :use of unconstructed message
Note: above are the parmeters to be passed as parmerters to SP.
Is this way of passing xml doc as parmeteris correct.
Thanks & Regards,
Jayenrdra
"Pankaj" wrote:
> Just initialise the message to be constructed
> by passing a dummy value to the whole message(dummy xml).
> Then initialise the other values.
>
> Regards
> Pankaj
>
| |
| carlos 2005-10-06, 7:50 am |
|
hi jayendra....
before you assign any value to a Message, first you must "construct" it..
there are a number of ways to construct messages in orchestration (using
Message Assigment, Transform, etc), in this post you can find more
information:
http://objectsharp.com/Blogs/matt/a...11/09/1009.aspx
"Jayendra" wrote:
[vbcol=seagreen]
> HI pankaj,
>
> Here is message assignment statements..
>
>
> //Message1 is incoming xml file
> //Message2 is message to be constructed
>
> var1=Message1;//var1 is xmldocuemtn type
>
> Message2.name="fsf";
> Message2.xmldocfile=var1.innertext;
> Message2.city="jd";
>
> error :use of unconstructed message
>
> Note: above are the parmeters to be passed as parmerters to SP.
>
> Is this way of passing xml doc as parmeteris correct.
>
> Thanks & Regards,
>
> Jayenrdra
>
>
>
> "Pankaj" wrote:
>
| |
| Jayendra 2005-10-06, 5:57 pm |
| Hi,
I hv gone through ur link and did it .Thanks alot
Jay..
"carlos" wrote:
[vbcol=seagreen]
>
> hi jayendra....
>
> before you assign any value to a Message, first you must "construct" it..
> there are a number of ways to construct messages in orchestration (using
> Message Assigment, Transform, etc), in this post you can find more
> information:
>
> http://objectsharp.com/Blogs/matt/a...11/09/1009.aspx
>
> "Jayendra" wrote:
>
|
|
|
|
|