Sample scienario on JMS to JDBC/File
Hi,
Can any one send me the sample scenario on JMS to JDBC or FILE. Any suggestions for how to configure JMS with MQ will be helpful for me .
Thanking you with anticipation
Regards
Ramesh.
Hi Ramesh,
Go thru these links :
http://help.sap.com/saphelp_nw04/helpdata/en/ca/e7673c86d19b35e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/33/e6fb40f17af66fe10000000a1550b0/frameset.htm
And these threads
JMS and MQ Series (sender and receiver)
SAP XI and JMS for WebSphere MQ
JMS - MQ Series
Hope these will be helpful.
Regards
Suraj
Similar Messages
-
Hi Friends,
This is Bhavya.Right now I am working with the interface i.e. JMS to JDBC.
Can anybody send me the sample scenario?
Thanks,
Bhavya...Hi Bhavya,
First you need to install the external drivers for JMS and JDBC adpater.
You can check the following link for that.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf4b1055-0d01-0010-32a3-b3848d77a6b9">How to Install and Configure External Drivers for JDBC JMS</a>
Now your sender service is an JMS server, the details of which you must have..which you will provide it in the channel...it is not that complicated....
For JDBC side..
Check the following blog for the same.
<a href="/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30">FILE to JDBC Adapter using SAP XI</a>
<b>*Reward points if helpful*</b>
Regards,
Sushil -
Hi All:
I need to create one JMS to JDBC Scenario. For Sender side i.e JMS what I need to do.
Like I dont have any messaging System like MQ series etc. I have JMS client and I know how to use JMS adapter, but where should I create Queue? In there any way like we can
create Test queue in XI and can send the data from JMS client to that Queue?
Also if the and Messaging Sysytem that I can download as a trial version please let me know with the required setting in XI.
Thanks & Regards,
Farooq.Hello Farooq,
Instead of creating a queue in visual admin, I would suggest you to use the default queue provided by XI.
Please have a look at the parameters(Sender/Receiver):
Select the <b>Transport Protocol as 'Access JMS Provider with JNDI'</b>
JNDI Lookup Name of QueueConnectionFactory: jmsfactory/default/QueueConnectionFactory
JNDI Lookup name of JMS Queue: jmsqueues/default/sapDemoQueue
Name of JNDI Initial Context Factory: com.sap.engine.services.jndi.InitialContextFactoryImpl
JNDI Server Address: <Host Name of your XI server>:<J2EE Port>
JNDI Logon User and Password are not mandatory.
Please note that you will not be able to monitor the sapDemoQueue. However you can test your scenario by doing a File to JMS scenario first and then a JMS to File scenario.
Before granting points please let me know if this helped you out.
Thanks,
Pritish -
How do I find, at-a-glance, the sample size used in several music files?
How do I find, at-a-glance, the sample size used in several music files?
Of all the fields available in a FInder Search, "Sample Size" is not available. Finder does offer a "Bits per Sample" field, but it only recognized graphic files and not music files.
Running 10.8.5 on an iMac i5.
I did search through a couple of communities but came up empty.
Thank you,
CraigC-squared,
There is no View Option to allow display of a column of sample size.
For WAV or Apple Lossless files, it is available on the Summary tab (one song at a time, as you know). For MP3 and AAC it is not available at all.
You can roughly infer it from the files that are larger than expected for their time.
99% of the music we use is at the CD standard of 16-bit, so I can guess that displaying it has never been a priority. However, if you want to make a suggestion to Apple, use this link:
http://www.apple.com/feedback/itunesapp.html -
JMS and JDBC Adapter in PI7.1
Hi All,
Kindly tell me about the blogs for JMS and JDBC adapter.
Please tell me about the Message Types in JMS adapter.
Thanks in advance.Hi Shwetambari,
Thanks for the reply.
We need to mention the Adapter Modules while configuring the communiucation channels in JMS
e.g. Adapter/ConvertJMSMessageToBinary,Adapter/ConvertBinaryToXMBMessage etc.
So please tell me whether we need to write the cide for the same in JAVA or it is already there ?If it is there then whre can we get it?Do we need to decompile the archeve ?If so, then how to do it?
Can you give me the Adaqpter Modules for which the code is already there?
The JMS adapter (Java Message Service) enables you to connect messaging systems to the Integration Engine or the PCK.
What are the different types of Messaging Systems?Or what is meant by the Messaging System in JMS?
What are the different types of Messages used?
Thanks in advance.
Edited by: Shweta Kullkarni on Sep 4, 2009 5:22 AM -
Can yu sedn me a sample step by step rfc to file scenarion
can yu sedn me a sample step by step rfc to file scenarion
Hi,
Please see the below links , use target side is File instead SOAP/webservice..
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
Troubleshooting - RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
RFC -> XI -> WebService - A Complete Walkthrough (Part 2) -/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
RFC to SOAP
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/piers.harding/blog/2004/07/18/you-dont-need-to-use-soap-to-keep-your-rpc-clean
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/david.halitsky/blog/2006/08/25/soa-vs-rfc-it-doesnt-have-to-be-charles-bronson-vs-henry-fonda
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfc%20to%20soap%20scenario&cat=sdn_weblog
Regards
Chilla.. -
Hi y'all,
We are in a JDBC FILE scenario and the JDBC connects to a SQL SERVER 2000. What is the apt JDBC driver for this and do these drivers depend on the OS of the XI system?
-TeresaHi
To add on
How to deploy the Drives:https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fxi%2farchive-xi_ppts_internal_etc%2fhowToInstallandConfigureExternalDriversforJDBCandJMS+Adapters.doc
http://www.microsoft.com/downloads/details.aspx?familyid=6D483869-816A-44CB-9787-A866235EFC7C&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyID=86212D54-8488-481D-B46B-AF29BB18E1E5&displaylang=en
Hope this helps,
Rgds,
Moorthy -
Sample Webdynpro Applications in details pdf files r documents
hi Experts ?
i want the Sample Webdynpro Applications in details pdf files r documents
plz send it plz
Regards,
ChanduArmin
-
Any socket programming sample program or API for transfer file?
Do there any java socket programming sample program or API for transfer file ,list file and make directory from client side?
Thank youhttp://forum.java.sun.com/thread.jspa?threadID=603685&tstart=0
-
I have recently tried using the JMS interface for AQ and I have discovered that the queue connection is a separate JDBC connection even if you create a queue connection using an OracleConnection. Is there a workaround for this? It seems a bit strange to have two connections open to the database and be forced to use an XA session in order to get the commits synchronized. Any ideas ? Below is some sample code I am using:
queueConnection = AQjmsQueueConnectionFactory.createQueueConnection((OracleConnection)connection);
queueConnection.start();
QueueSession queueSession = queueConnection.createQueueSession(true, Session.CLIENT_ACKNOWLEDGE);
AQjmsSession aqs = (AQjmsSession)queueSession;
Queue queue = aqs.getQueue("TEST_SCHEMA", "TEST_QUEUE");Hello,
What version are you using of the jar files? What version of the database are you using?
From what I recall the example in <Note:301434.1> successfully reused an existing JDBC connection.
I would be interested to see a more complete code example if this is not helpful.
Thanks
Peter -
Hi,
Im trying to get my java program to connect to MSSQL but the drivers dont want to work.
Basically what I did is installed the drivers from MS, and also tried to set Classpath to
C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\
But it doesnt work. Is there anything I should know besides this? Also can someone please give me sample code to send and recieve data? It is so hard to find a simple working code online.
ThanksHi,
Im trying to get my java program to connect to MSSQL
but the drivers dont want to work.
Basically what I did is installed the drivers from
MS, and also tried to set Classpath to
C:\Program Files\Microsoft SQL Server 2000 Driver for
JDBC\lib\Install and CLASSPATH aren't going to cut it. Use "java -classpath <path to JAR>" YourClass to run on the command line. If it's a Java EE app, put the JAR in the appropriate place (e.g., WEB-INF/lib for web apps).
% -
Sample scenarios using JMS Adapters
Hi Experts,
Can anyone send me sample step by step scenarios using JMS adapters e.g one scenario using JMS in the sender side and another scenario using JMS in the receiver side.
Thanks
AyanMost of the job is to be done in the Channel Adapter module for content conversion.
There's much more documentation about the File Content Conversion but most of it apply to JMS.
Can you be more specific in what you're looking for?
Content Conversion:
http://help.sap.com/saphelp_nw04/Helpdata/EN/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Martin -
Hi,
I have a typical scenarion like this.
Request coming from JMS queue into SOAP which is synchronous , and getting a response from webservice which should be routed through JDBC as a asynchronous.
Other question is that i am getting response from webservice in the format of CSV,which needs to be routed through jdbc, what approach used to convert the same.Look into the thread. I have achieved the same concept with File adapters.
Asynch - Synch Bridge will work with all adapter running on the Central Adapter Engine. It will work for your case as well.
1. Sender Adapter JMS adapter --> This changes the QOS to BE and forwards it to the IE.
2. The webservice call is made and response is returned to the Sender JMS adapter. Using the parameter of the sender JMS adapter you mention the actual receivr adapter to be used .( the name of the Receiver JDBC adapter ). and this will be forwarded to the receiver JDBC adapter.
It will work.
regards
Bhavesh -
Sample Applescript: scraping values from numbers files into a master file
Hi, I have programming experience in c and other languages, but am new to applescript and so am learning a lot from this forum.
My goal is to make a timesheet system for my Dad (for a bday present) where every time he helps a client, he fills out a newly created numbers file - and after a week or so, he can run a script that scrapes certain values from each numbers file and places it into a master numbers file. Then saving and closing the file.
Vince, it sounds like you've written a script that does this feature of looping through all numbers files in a folder and putting select values from each numbers file into a master numbers file (after clearing the previous values of the master file).
Specifically, I'm looking for a sample script that opens up a numbers file, clears its table, then fills this table by scraping one value from a particular cell in every numbers file in a folder.
If anyone has a similar script they would be willing to post or email to me, for me to use as a foundation and to learn from, I would be very very very grateful. My email is forman.jq at gmail dot com.I guess that this script may be a good starting point.
--[SCRIPT fromfolder_2spreadsheet1]
The target spreadsheet must be open at front and must contain the sheet sheet_destination which much contain the table table_destination.
Choose the folder supposed to store the source sopreadsheets.
Yvan KOENIG (VALLAURIS, France)
2010/08/18
--=====
(* Edit these height properties to fit your needs *)
property destination : "destinationDoc.numbers"
property sheet_destination : "destination"
property table_destination : "insert here"
property premierelignedestination : 2
property colonne_destination : 2
property ledossierhabituel : "Macintosh HD Maxtor:Users:yvan_koenig:Desktop:dossier habituel:"
property ligne_source : 2
property colonne_source : 2
--=====
on run
my activateGUIscripting()
Select the folder storing the spreadsheets from which we will extract values *)
set dossier_source to choose folder with prompt "Choose folder storing the Numbers documents…" default location (ledossierhabituel as alias)
Build a list of disk items available in the selected folder *)
tell application "System Events"
set les_elements to every disk item of folder (dossier_source as text) --whose (get type identifier) is in
set les_tableurs to {}
Extracts the list of the Numbers spreadsheets available in the selected folder *)
repeat with refsurelement in les_elements
if type identifier of refsurelement is in {"com.apple.iwork.numbers.numbers", "com.apple.iwork.numbers.sffnumbers"} then
copy path of refsurelement to end of les_tableurs
end if
end repeat
end tell -- System Events
if les_tableurs is {} then
No Numbers documents available so we stop the process. *)
set rapport to "The folder “" & dossier_source & "” doesn’t contain Numbers documents !"
else
set rapport to {}
end if
Check that the target Numbers document is open at front
and that it embed the defined sheet embedding the defined table. *)
tell application "Numbers"
activate
set existants to name of documents
if destination is not in existants then
copy "The document " & destination & " is not open !" to end of rapport
else
tell document destination
if sheet_destination is not in (name of sheets) then
copy "the sheet " & sheet_destination & " is unavailable in the document " & destination & " !" to end of rapport
else
tell sheet sheet_destination
if table_destination is not in (name of tables) then copy "The table " & table_destination & " is unavailable in the sheet " & sheet_destination & " of the document " & destination & " !" to end of rapport
end tell -- sheetSource
end if
end tell --document destination
end if
If target document is not at front or if it doesn't match the defined requirements,
we quit the process. *)
if rapport is not {} then error my recolle(rapport, return)
Clean the target table, minus row 1 supposed to be storing columns headers *)
tell document destination to tell sheet sheet_destination to tell table table_destination
set selection range to range ("A2 : " & name of last cell)
end tell --document destination
end tell -- Numbers
my selectMenu("Numbers", 4, 9) (* Suppress *)
set liste_valeurs to {}
tell application "Numbers"
repeat with un_tableur in les_tableurs
Open the spreadsheets and extract from each of them the wanted value *)
open un_tableur
tell document 1 to tell sheet 1 to tell table 1
set une_valeur to value of cell 2 of column 2
end tell
if une_valeur is 0.0 then
copy "empty" to end of liste_valeurs
else
copy une_valeur as text to end of liste_valeurs
end if
close document 1
end repeat
Now, it's time to insert the values in the target table *)
set ligne_destination to premierelignedestination
tell document destination to tell sheet sheet_destination to tell table table_destination
repeat with une_valeur in liste_valeurs
if not (exists row ligne_destination) then add row below last row
if une_valeur is not "empty" then
set value of cell ligne_destination of column colonne_destination to une_valeur
end if
set ligne_destination to ligne_destination + 1
end repeat
end tell -- document destination
save document destination
end tell -- Numbers
end run
--=====
on recolle(l, d)
local oTIDs, t
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to oTIDs
return t
end recolle
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
my selectMenu("Pages",5, 12)
==== Uses GUIscripting ====
on selectMenu(theApp, mt, mi)
tell application theApp
activate
tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
tell menu bar item mt to tell menu 1 to click menu item mi
end tell -- application theApp
end selectMenu
--=====
--[/SCRIPT]
I apologize, I'm too busy to write more explanations.
Yvan KOENIG (VALLAURIS, France) mercredi 18 août 2010 21:38:04 -
MessageTransformBean in sender JMS Adapter flat file to xml conversion
Hi All,
The scenario is MQ (Flat File ) --->PI -
>Idoc
The flat file structure is
112233
AABBCC
The expected XML Structure after using MessageTransformBean in the sender JMS adapter is
<Record>
<Row>
<f1>11</f1>
<f2>22</f2>
<f3>33</f3>
</Row>
<Row>
<f1>AA</f1>
<f2>BB</f2>
<f3>CC</f3>
</Row>
</Record>
But I am getting 2 SEPARATE xml messages each with only one Row in it like the following
1st XML:
<Record>
<Row>
<f1>11</f1>
<f2>22</f2>
<f3>33</f3>
</Row>
</Record>
2nd XML:
<Record>
<Row>
<f1>AA</f1>
<f2>BB</f2>
<f3>CC</f3>
</Row>
</Record>
I would like to have one xml message with all rows in it.It seems the MessageTransformBean is not recognizing the end of line in the flat file.Do i need to use endSeparator explicitly.
I followed the "How to use Content Conversion in JMS Adapter " and configured the adapter,still no luck..
Any Help greatly Appreciated
Thanks,
CHi Chirag,
The parameter name sequence changes alphabetically by itself when I save and activate it eventhough I enter as it is in the document.How to stop changing this sequence or put it the order as required in the Module Processor.
Currently my sequence is
Transform.Class
Transform.ContentType
xml.conversionType
xml.documentName
xml.documentNamespace
xml.fieldFixedLengths
xml.fieldNames
xml.processFieldNames
xml.structureTitle
Let me know how to change the sequence ,if that is the issue.
Thanks,
C
Maybe you are looking for
-
Dear Fellas: I received "database error #2002 can not connect local mysql server to socket through '/var/run/mysqld/mysqld.sock'(2)" on mac os x 10.9.2. mysql info: ps -ef | grep mysql 0 66 1 0 11:06AM ?? 0:00.04 /bin/sh /usr/loc
-
How to supress SLQ loader exit status 2
Hi All, I am loading a file through sql loader and control file has the condition as below. INTO TABLE XXX WHEN (256:256) != 'Y' and (1:2)=X'C4C4' Now the problem is that if a value 'Y' comes in the position specified, the sqlloader exit status becom
-
Complete My Album for Metallica's "Death Magnetic"
Since last night's release of Metallica's new album "Death Magnetic", I would have expected to see this album listed under my "Complete My Album" feature, as I purchased the single releases leading up to last night's launch. According to the iTunes s
-
My new Lenovo G560 laptop (2 weeks old) has a folder (1.3GB) with office 14 oem ready to be installed but I need a serial key and cannot find one either on the laptop or in the 'box'. Is this a normal occurrence? Could it be trial software?, it
-
How to use execute immediate for character string value 300
how to use execute immediate for character string value > 300 , the parameter for this would be passed. Case 1: When length = 300 declare str1 varchar2(20) := 'select * from dual'; str2 varchar2(20) := ' union '; result varchar2(300); begin result :=