BizTalk Server Orchestration - SQL Adapter Stored Procedure Call - Referencing Results

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > April 2005 > SQL Adapter Stored Procedure Call - Referencing Results





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 SQL Adapter Stored Procedure Call - Referencing Results
Wolfram1

2005-04-20, 2:57 am

I have an orchestration that calls a SP via the SQL Adapter using a field
from an inbound message as a parameter. The SP always returns a single row
with a single column. This works fine. I need to assign the returned data
to a variable but I cannot find the correct syntax to reference it within the
expression editor. Would be grateful for some help.
Scott Colestock

2005-04-20, 5:49 pm

When you get the message back from the sql adapter, use an expression shape
with the "xpath" function to extrac the value you want and assign it to a
variable, as in somevar = xpath(myMessage,"/somepath/somevalue");

Scott Colestock
www.traceofthought.net

"Wolfram1" wrote:

> I have an orchestration that calls a SP via the SQL Adapter using a field
> from an inbound message as a parameter. The SP always returns a single row
> with a single column. This works fine. I need to assign the returned data
> to a variable but I cannot find the correct syntax to reference it within the
> expression editor. Would be grateful for some help.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com