03-17-06 10:52 PM
Yes this code would execute in a Message Assignment shape in an
orchestration. It is XLANGs code so can only be used in an orchestration.
You might be able to do this in a map. The Xml needs to be escaped, so some
scripting functoid will be required.
You will need something like this
<sqlmessage>
<parameter><root><record><field>Data</field></rec
ord></root></parameter>
</sqlmessage>
The updategram approach would require a simpler map.
One of the problems with a message only approach using SQL adapter will be
error handling.
Greg
<docnyc@gmail.com> wrote in message
news:1142632231.502657.124770@e56g2000cwe.googlegroups.com...
> Thanks for your response. A clarification question. where are u
> executing the following script
> xmlDocVar = inputmessage
> xpath(SQL_SP_Message, "parameter xpath") = xmlDoc.Var.OuterXml;
>
> in a Orchestration?
> .
> Our solution is a message only solution, so should I execute this in a
> pipeline?
> .
> Thanks
> Derek
>
[ Post a follow-up to this message ]
|