on 03-15-2008 10:05 AM
Hi,
In my scenario Proxy to JDBC - synchronous call.
In the receiver side using JDBC adapter a stored procedure is invoked and that returns some values say... IndentNumber,EmployeeNumber and ResumeNumbers (Which is array type.), Status(which is again array) -- ResumeNumbers may have multiple resume numbers and status has status flag corresponding to each resume.
How do I go about this in XI mapping.
Please guide me on this.
Regards,
chem
Edited by: Chemmanz on Mar 15, 2008 3:39 PM
Hi,
For this you need to make the occurance of the proxy structure as 1...unbounded.
If the fields have to mapped then make the Unbouded occurance and map it as it is.
OR for mulitple records....
For e.g.
Your JDBC side structure will be as
<root>
<StatementName5>
<storedProcedureName action= EXECUTE>
<table>realStoredProcedureeName</table>
<param1 [isInput=true] [isOutput=true] type=SQLDatatype>IndentNumber</param1>
</storedProcedureName >
</StatementName5>
</root>
Here make the occurance of IndentNumber as Unbounded so you will get whole array.
Now On Proxy side make the related structure and try to map the any one internal field i.e. array to root node
i.e. if proxy structure is
<root>
<IndentNumber></IndentNumber>
</root>
Then map JDBC response field IndentNumber -
> Root
This will create the multiple records for proxy.
Then all fields map as one to one mapping
IndentNumber (JDBC)->splitByValue>IndentNumber (Proxy)
Thnaks
Swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.