Promoted properties to envelope in xmlassembler pipeline
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 General > Promoted properties to envelope in xmlassembler pipeline




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

    Promoted properties to envelope in xmlassembler pipeline  
Nick Doyle


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


 
10-25-04 10:49 PM

Hi All,
My setup is :
* Envelope message received by XmlReceive pipeline
* Fields promoted from envelope
* Body transformed
* Body sent to outbound port, using sendpipeline from project (described
below)

Sendpipeline has just one XmlAssembler component, with envelope schema set
to the same as incoming envelope, body as the transformed body.

All works as expected - fields promoting and available in orchestration,
transformation works, outbound message packaged in envelope and passed out.
HOWEVER
Promoted fields in envelopes of outbound messages (constructed by pipeline)
are not getting set to those from the inbound envelope.

(before it is suggested please note promoted properties available+correct in
orch, Property Schema Base=MessageContextPropertyBase)

Any help much appreciated,
Nick





[ Post a follow-up to this message ]



    RE: Promoted properties to envelope in xmlassembler pipeline  
DW


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


 
10-25-04 10:49 PM

Thank you Nick
You have described our problem exactly.
If you get any answer please send it to us as well.

Regards DW

"Nick Doyle" wrote:

> Hi All,
> My setup is :
> * Envelope message received by XmlReceive pipeline
> * Fields promoted from envelope
> * Body transformed
> * Body sent to outbound port, using sendpipeline from project (described
> below)
>
> Sendpipeline has just one XmlAssembler component, with envelope schema set
> to the same as incoming envelope, body as the transformed body.
>
> All works as expected - fields promoting and available in orchestration,
> transformation works, outbound message packaged in envelope and passed out
.
> HOWEVER
> Promoted fields in envelopes of outbound messages (constructed by pipeline
)
> are not getting set to those from the inbound envelope.
>
> (before it is suggested please note promoted properties available+correct 
in
> orch, Property Schema Base=MessageContextPropertyBase)
>
> Any help much appreciated,
> Nick





[ Post a follow-up to this message ]



    Re: Promoted properties to envelope in xmlassembler pipeline  
Matt Milner


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


 
10-25-04 10:49 PM

You might need to copy the values from the inbound message to the outbound
message.

MyOutboundMessage(contextproperty) = MyInboundMessage(contextproperty).

I don't believe these values get copied from context to context
automatically for you like the rest of the things you described.

You'll need to do this in a message assignment shape contained in the
construct shape for your outbound message.

Matt


"Nick Doyle" <Nick Doyle@discussions.microsoft.com> wrote in message
news:D78D9A92-7E58-4744-B089-53CFC6B8BEA5@microsoft.com...
> Hi All,
> My setup is :
> * Envelope message received by XmlReceive pipeline
> * Fields promoted from envelope
> * Body transformed
> * Body sent to outbound port, using sendpipeline from project (described
> below)
>
> Sendpipeline has just one XmlAssembler component, with envelope schema set
> to the same as incoming envelope, body as the transformed body.
>
> All works as expected - fields promoting and available in orchestration,
> transformation works, outbound message packaged in envelope and passed
> out.
> HOWEVER
> Promoted fields in envelopes of outbound messages (constructed by
> pipeline)
> are not getting set to those from the inbound envelope.
>
> (before it is suggested please note promoted properties available+correct
> in
> orch, Property Schema Base=MessageContextPropertyBase)
>
> Any help much appreciated,
> Nick







[ Post a follow-up to this message ]



    Re: Promoted properties to envelope in xmlassembler pipeline  
Greg Forsythe


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


 
10-25-04 10:49 PM

As you have the same envelope inbound and outbound you can use

MyOutboundMessage(*) = MyInboundMessage(*)

to copy all the context properties from one message to another.
Slightly less verbose if you have a number of context properties.

Greg


"Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
news:%23XwMbVquEHA.3524@tk2msftngp13.phx.gbl...
> You might need to copy the values from the inbound message to the outbound
> message.
>
> MyOutboundMessage(contextproperty) = MyInboundMessage(contextproperty).
>
> I don't believe these values get copied from context to context
> automatically for you like the rest of the things you described.
>
> You'll need to do this in a message assignment shape contained in the
> construct shape for your outbound message.
>
> Matt
>
>
> "Nick Doyle" <Nick Doyle@discussions.microsoft.com> wrote in message
> news:D78D9A92-7E58-4744-B089-53CFC6B8BEA5@microsoft.com... 
set[vbcol=seagreen] 
available+correct[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: Promoted properties to envelope in xmlassembler pipeline  
Nick Doyle


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


 
10-26-04 12:46 PM

Thanks for the help guys, am looking at ways to duplicate context properties
.

"Greg Forsythe" wrote:

> As you have the same envelope inbound and outbound you can use
>
> MyOutboundMessage(*) = MyInboundMessage(*)
>
> to copy all the context properties from one message to another.
> Slightly less verbose if you have a number of context properties.
>
> Greg
>
>
> "Matt Milner" <matt.milner@m3technologypartners dot com> wrote in message
> news:%23XwMbVquEHA.3524@tk2msftngp13.phx.gbl... 
> set 
> available+correct 
>
>
>





[ Post a follow-up to this message ]



    Re: Promoted properties to envelope in xmlassembler pipeline  
Nick Doyle


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


 
10-28-04 10:49 PM

Works fine, just had to ensure the outbound body message used the same
property schema as the inbound. Thanks!





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:56 PM.      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