ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling stored procedures through Oracle Apps Adapter

Post new topic  Reply to topic
 Calling stored procedures through Oracle Apps Adapter « View previous topic :: View next topic » 
Author Message
keenlearner
PostPosted: Wed Mar 07, 2007 9:13 pm    Post subject: Calling stored procedures through Oracle Apps Adapter Reply with quote

Acolyte

Joined: 24 Aug 2006
Posts: 62

Hi Guys
I am using Websphere Business Integration Oracle Apps Adapter. I want to call a stored procedure through this Can any one help me out out how to do this.
I have generated the BO for the Stored Procedure from ODA and generated a CreateSp from it.
while generatin a XML message i have give the name of the Procedure which i want to call. Please help me with the correct way of doing.
A sample XML message attached below

<?xml version="1.0" encoding="UTF-8"?>
<TESTTABLE xmlns="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/TESTTABLE" xmlns:bx="http://www.ibm.com/websphere/crossworlds/2002/BOSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/TESTTABLE
C:\DOCUME~1\db2admin\Desktop\AdapterPOC\OracleAPI\TESTTABLE.xsd" locale="" verb="Create" version="0.0.0" delta="false">
<ID>999</ID>
<NAME>Nancy</NAME>
<CreateSP>InsertTEST_TABLE</CreateSP>
<ObjectEventId>String</ObjectEventId>
</TESTTABLE>

sample BO is also given below
Code:
[ReposCopy]
Version = 3.0.0
[End]
[BusinessObjectDefinition]
Name = INSERTTESTTABLE
Version = 3.0.0
AppSpecificInfo = TN=INSERTTEST_TABLE;SCN=

   [Attribute]
   Name = PID
   Type = String
   Cardinality = 1
   MaxLength = 22
   IsKey = true
   IsForeignKey = false
   IsRequired = false
   AppSpecificInfo = CN=P_ID
   IsRequiredServerBound = false
   [End]
   [Attribute]
   Name = PNAME
   Type = String
   Cardinality = 1
   MaxLength = 50
   IsKey = false
   IsForeignKey = false
   IsRequired = false
   AppSpecificInfo = CN=P_NAME
   IsRequiredServerBound = false
   [End]
   [Attribute]
   Name = CreateSP
   Type = String
   Cardinality = 1
   MaxLength = 255
   IsKey = false
   IsForeignKey = false
   IsRequired = false
   AppSpecificInfo = SPN=INSERTTEST_TABLE;IP=P_ID:P_NAME
   IsRequiredServerBound = false
   [End]
   [Attribute]
   Name = ObjectEventId
   Type = String
   Cardinality = 1
   MaxLength = 255
   IsKey = false
   IsForeignKey = false
   IsRequired = false
   IsRequiredServerBound = false
   [End]

   [Verb]
   Name = Create
   [End]
[End]
Code:
Code:
Back to top
View user's profile Send private message
mqseries0209
PostPosted: Thu Mar 08, 2007 11:30 am    Post subject: SP Name? Reply with quote

Voyager

Joined: 30 Mar 2006
Posts: 90

In the post you say that you want to call a Stored Procedure and why is the SP name passed as a element in BO?.

So, you are saying that the SP name that needs to be called is not known until the runtime?.

Clarify on this.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Calling stored procedures through Oracle Apps Adapter
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.