Wizard generation of DB2 Receive adapters, in Biztalk Adapters

BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

Recent Biztalk Adapters posts

EDI Recive failure
Ordered Delivery using DB2 Receive Adapter
HostFile Adapter - Data Access Tool
Internal Queuing
Converting custom adapter from BT2004 to BT2006
BizTalk EDI Adapter: old edi variation
Sending HTML-based email with SMTP adapter
Processing Word documents
Trouble Moving SSO Master Secret Server
EntSSO capabilities with adapters (SOAP, mySAP)

 
 

Biztalk Adapters

View :   

Latest Topics

Table Of Contents


Post Reply

Wizard generation of DB2 Receive adapters

All posts: microsoft.public.biztalk.appintegration
Source: microsoft.public.biztalk.appintegration
Sent date: 05/20/2008
From: Mark Brimble
Message:

Does anyone know where the name of Table1 element in the resulting generated
schemas comes from? Do you have any control over this or is it it all
determined by the wizard? I am involved in my first project integrating an
AS400 system with other systems using BizTalk. Everything is going amazingly
well but I am trying to understand what the DB2 generation wizards are doing
in a bit more detail.

I get a xml like;

<WorkAssignments xmlns="http://DTA.BT_GET_WORKASSIGNMENTS">
<Table1 QUEUE="01" ASSIGNMENT="201729" DIRECTIVE="1" />
</WorkAssignments>

when I generate a DB2 receive adapter from a stored procedure of the general
pattern;
CREATE PROCEDURE DTA.BT_GET_WORKASSIGNMENTS ( )
LANGUAGE SQL
MODIFIES SQL DATA
BEGIN

--Get some work assigments and remember them

--Get all the next Work assignments and associated directives
P1 : BEGIN
DECLARE wa_CURSOR CURSOR WITH RETURN TO CLIENT FOR

SELECT BT . QUEUE ,
BT . ASSIGNMENT ,
BT . DIRECTIVE
FROM DTA . WA2PD AS BT

P2 : BEGIN
/*
--Delete some rows so we don't pick them up again
*/

OPEN wa_CURSOR;
END P2;
END P1;

END;








Post Reply

Related Messages

Table Of Contents



Other groups

WCF LOB

WSCF/WCF

BizTalk Rule Engine

BizTalk BPM, process

BizTalk BAM, activity

Biztalk Adapters

BizTalk Orchestration

BizTalk Server

WS WSDL

 

    Email TopXML