06-09-05 10:51 PM
Hello.
Another way to do it is to copy the processing instructions from your first
message to your final message using message context. After you complete you
r
final map, inside the same message construct shape add a message assignment
shape.
Use this code:
// 1 = Add New 0 = Append
OutputMessage(XMLNORM.ProcessingInstructionOption) = 1;
OutputMessage(XMLNORM.ProcessingInstruction) =
FirstMessageReceived(XMLNORM.ProcessingInstruction) ;
Also, I think you will need to use the Xml pipeline on the Send side to
demote the processing instructions into the message.
FYI: Setting values like this inside the Orchestration will override any
properties you might set inside the pipeline.
Hope this helps.
Stephen W. Thomas
http://www.biztalkgurus.com
"Ellen Deak" wrote:
> Hello,
>
> I have a scenario where I receive a message that contains processing
> instructions, do some processing and then send a message back that needs t
o
> also contain the processing instructions.
>
> In my orchestration, I do the following.
>
> 1. Receive in the message
> 2. Map the message to format needed by adapter. On map, Copy Processing
> Instructions is yes.
> 3. Invoke 3rd part request-response adapter. Send message generated in ste
p
> 2 and receive back a response message.
> 4. Map the response message from step 3 to final message. On map, Copy
> Processing Instructions is yes.
> 5. Send final message.
>
> The problem I have is that the response message I get back from the adapte
r
> no longer has the processing instructions with it. I'm trying to figure ou
t
> another way to copy the processing instructions from the inital message to
> the final message before I send it.
>
> Does anyone have any suggestions?
>
> Thanks
> --
> Ellen Deak
> using BizTalk 2004
[ Post a follow-up to this message ]
|