BizTalk Server Orchestration - Message Construction Question

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > November 2004 > Message Construction Question





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 Construction Question
anand kumar

2004-11-18, 8:47 pm

Hi,
I have schema A, Schema B, Schema C.
Declared two messages of type Schema B.
schema A Transforms Schema B.
Schema B Transforms Schema C
Schema C is sent to web service and returns with an XML result
The results are assigned to orchestration variables.
I want the values of the variables assigned back to Schema B
I have constructed message and assigned the values in Message Assignment
shape.
I am performing as follows.

MsgCopy = MsgOriginal (Schema B)
MsgCopy.FirstName = variable1
MsgCopy.LastName = variable 2.
.....
I am getting the error "value cannot be null" in the event log.

Are the contents of schema B being lost?
How can keep the instance of schema B through the process of orchestration.

Any input is appreciated.

Thanks,

--
Anand
Denis Demont

2004-11-19, 7:46 am

Hi,

I need to get more information to give you some solutions.

First where did you declare your Variable1 and variable2 ? where did you
set the value in this variable ?

secondly, you access on this value MsgCopy.FirstName but did you promote it
in the schema ?

Regards
Denis



"anand kumar" wrote:

> Hi,
> I have schema A, Schema B, Schema C.
> Declared two messages of type Schema B.
> schema A Transforms Schema B.
> Schema B Transforms Schema C
> Schema C is sent to web service and returns with an XML result
> The results are assigned to orchestration variables.
> I want the values of the variables assigned back to Schema B
> I have constructed message and assigned the values in Message Assignment
> shape.
> I am performing as follows.
>
> MsgCopy = MsgOriginal (Schema B)
> MsgCopy.FirstName = variable1
> MsgCopy.LastName = variable 2.
> ....
> I am getting the error "value cannot be null" in the event log.
>
> Are the contents of schema B being lost?
> How can keep the instance of schema B through the process of orchestration.
>
> Any input is appreciated.
>
> Thanks,
>
> --
> Anand

anand kumar

2004-11-19, 5:48 pm

Hi Denis,
Appreciate your reply.

variable1 and variable 2 are assigned in the expression shape.
example:
variable1 = schemaC.firstname;
variable2 = schemaC.lastname;

Yes, the firstname for SchemaB has been promted as a distinguished field.

After the expression shape I have constructor shape embedded with message
assignment shape and it contains the following .

MsgCopy = MsgOriginal (Schema B)
MsgCopy.FirstName = variable1
MsgCopy.LastName = variable 2.

Please let me know if you need any further information.

Thanks,
Anand

"Denis Demont" wrote:
[vbcol=seagreen]
> Hi,
>
> I need to get more information to give you some solutions.
>
> First where did you declare your Variable1 and variable2 ? where did you
> set the value in this variable ?
>
> secondly, you access on this value MsgCopy.FirstName but did you promote it
> in the schema ?
>
> Regards
> Denis
>
>
>
> "anand kumar" wrote:
>
Denis Demont

2004-11-23, 7:51 am


Hi Anand,

Did you solve your problem ?

If the answer is no than i have some issue for you.

regards,
Denis


"anand kumar" wrote:
[vbcol=seagreen]
> Hi Denis,
> Appreciate your reply.
>
> variable1 and variable 2 are assigned in the expression shape.
> example:
> variable1 = schemaC.firstname;
> variable2 = schemaC.lastname;
>
> Yes, the firstname for SchemaB has been promted as a distinguished field.
>
> After the expression shape I have constructor shape embedded with message
> assignment shape and it contains the following .
>
> MsgCopy = MsgOriginal (Schema B)
> MsgCopy.FirstName = variable1
> MsgCopy.LastName = variable 2.
>
> Please let me know if you need any further information.
>
> Thanks,
> Anand
>
> "Denis Demont" wrote:
>
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com