02-25-05 10:49 PM
1. Call the Stored Procedure (see details below)
2. Life is easier if your promote or distinguish the elements to compare in
both the SQL Response Schema and the Incoming Schema. Or you can use the
XPATH keyword in an expression shape instead.
3. Use a simple decision shape to compare two values.
4. You could terminate or throw exception or just do nothing when values
don't match
To call a Stored Procedure:
1. Build your SP with "for xml elements, xmldata"
2. Run SQL adapter (ignore the dummy orchestration it builds)
(remove ", xmldata" from SP after running adapter)
3. Create send/receive shapes in orchestration
4. Associated Request/Response schemas from SQL Adapter (to send/receive
shapes)
5. Create a physical Two Way Send Port - Request/Response with transport
type SQL
(match the target schema namespace and root element with the ones you
specified when you ran the adapter in step 2 above).
6. Create an two-way orchestration port that you will bind to your physcial
Two Way Send Port.
7. After the receive shape, you can then add your decide shape and compare
the two values.
Neal Walters
http://Biztalk-Training.com - SQL Videos now available
"Atjeh" wrote:
> I'm a newbie in BTS 04.
> I want to ask about Orchestration. Could I make some query from database f
or
> conditional in Orchestration ?
> So when a schema is received, the orchestration check a value of the field
> of that schema and compare it with the value in a table of database. If th
e
> value is available, the orchestration will accept that request.
>
> Thank you for your attention
>
>
[ Post a follow-up to this message ]
|