Get data from a JMS XML queue and save it in a file
Hi,
Here I come with my issue again.
I'm trying to test a JMS XML implementation with ODI 10.1.3.4.0 and my target is a single delimited file.
I made simple things, my XML contains the following code :
+<?xml version="1.0" encoding="UTF-8"?>+
+<test><id>456</id><value>789</value></test>+
In the target file, I specified that I wanted a header line, the id and the value, separated by a tab.
I send only one message, before executing the ODI interface or package. The queue is persistant. There's no problem from the queue, I manage to read JMS messages with a little program I made.
The result is also simple : there's no data in the file (not even the header), though it's well created by ODI, and there's no error in the opertor, it's as everything went well.
Here is the settings I did in ODI :
Topology : JMS XML Queue config
Name : JMSXML_TEST
Technology : JMS XML Queue
I've a user and password set.
JNDI Auth : simple
The user and password are the same as above.
JNDI protocole : not defined
JNDI Driver : org.jnp.interfaces.NamingContextFactory
JNDI URL : jnp://localhost:1099/?re=test&d=<DTD_FILE>&s=JMSXML_TEST_SCH&JMS_DESTINATION=queue/TestQueue1
The connection test is OK.
Model
The JMS XML model is reversed from the DTD.
There is only one datastore named TEST with an ID and VALUE columns, and other columns usefull to ODI.
The target is a file represented by a datastore also named TEST with ID and VALUE columns.
Project
I created an interface with the following configurations :
- The staging area is the sunopsis engine,
- The source datastore and target datastore are the two described above,
- The LKM is JMS XML to SQL, the IKM is SQL to File Append
- The JMS_COMMIT option is set to yes
- The SYNCHRO_JMS_TO_XML is set to yes
- I added manually a NEXTMESSAGETIMEOUT in the options list because it was missing
- The IKM settings are all set to yes (INSERT, TRUNCATE, GENERATE_HEADER).
I also created a package containing this interface.
Everything is done in the global context.
Everything is installed locally on my computer : the program sending the messages, the JMS provider and ODI.
The problem is I don't know where the problem is and neither ODI.
In the operator, there is 0 insert and the error code is 0.
Thanks in advance for any insights.
Marie
Edited by: Marie123456 on 21 août 2012 10:36
Hi,
Since I still have problems on this subject, I would like to share on how it progresses.
Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
The connection test is still OK.
I tried to increase the value in the user's pref but there's no change.
Similar Messages
-
Ways to get data from the internet with XCode and Objective-C
Hey guys,
Thanks in advance for any help. I was simple wondering what the best ways are to get data from the internet to use in an application. For example, is it best to store the data in a MySQL database with PHP and then use C code and MySQL commands to get that data from my Mac app? Is JSON better? Any help would be awesome!
JoshWhat kind of data are you after?
Eric -
Data from table in xml Format and Inserting it into Table
Hi All
I have table where xml data is stored in long format with xml tag know i have read the entire xml xoulmn which is xml tag and insert it into diffrent table can any suggest me the code
Thanks & RegardsI believe you are on the wrong forum. You want the XML DB forum.
See:
XML DB -
Deliver a report in XML format and save it to local file system on the server
We have OBIEE 10.1.3.4 on Redhat linux. We want to have generate a report in XML format and saved it to the server's file system. Did not realize this is s difficult task. Basically
1) How to create a XML report? It is not listed in the output items of a layout template.
2) How to deliver XML the report to local file system. Look into the Delivery section of Admin page. FTP should be the best choice, but does that means that one need to install and run ftp server on the BI server box?
ThanksHi,
Since I still have problems on this subject, I would like to share on how it progresses.
Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
The connection test is still OK.
I tried to increase the value in the user's pref but there's no change. -
How do I downgrade from Mavericks to Snow Leopard and save my new pages files?
Unfortunately, the Mavericks system isn't working for me. It's way too slow, has issues with Finder and so on. Basically it's just a pain in my *** and my
beloved Mac Book Unibody (2010) just can't handle it! After searching for hours online for a solution, I'd love to get back to the good old times.
I read that I can downgrade to Snow Leopard with my latest TM backup, using the recovery mode. Problem is that I "upgraded" sometime in October, so I have accumulated a bunch of new files. Being a teacher, I have tons of documents and Apple unfortunately changed all the old '09 files into '13 ones. Will they still work under the new old system, or do I have to find some way to export them into '09 files?
Is it fine to use the TM backup, or is it better to use ds store's method to recover the system?
ThanksI backed up the system just prior to upgrading.
Hardware Information:
MacBook (13-inch, Late 2009)
MacBook - model: MacBook6,1
1 2.26 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
NVIDIA GeForce 9400M - VRAM: 256 MB
System Software:
OS X 10.9.1 (13B42) - Uptime: 0 days 1:43:50
Disk Information:
TOSHIBA MK2555GSXF disk0 : (250,06 GB)
EFI (disk0s1) <not mounted>: 209,7 MB
Macintosh HD (disk0s2) /: 249,2 GB (147,64 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information:
Western Digital Elements 1048 1 TB
disk1s1 (disk1s1) <not mounted>: 32 KB
harddrive n.hahn (disk1s3) /Volumes/harddrive n.hahn: 1 TB (878,94 GB free)
Apple Inc. Built-in iSight
Apple Inc. Apple Internal Keyboard / Trackpad
Microsoft Wired Keyboard 600
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
Thunderbolt Information:
Kernel Extensions:
Startup Items:
HWNetMgr: Path: /Library/StartupItems/HWNetMgr
HWPortDetect: Path: /Library/StartupItems/HWPortDetect
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[loaded] com.adobe.fpsaud.plist 3rd-Party support link
[loaded] com.DesignScience.DSMTTool.plist 3rd-Party support link
Launch Agents:
[failed] com.promethean.activhardwareservice.plist 3rd-Party support link
[failed] com.promethean.activmgr.plist 3rd-Party support link
[failed] com.promethean.flashextension.plist 3rd-Party support link
User Launch Agents:
[loaded] com.divx.agent.postinstall.plist 3rd-Party support link
[loaded] com.google.keystone.agent.plist 3rd-Party support link
[loaded] com.spotify.webhelper.plist 3rd-Party support link
User Login Items:
iTunesHelper
Dropbox
SPanel
DaemonManager
Internet Plug-ins:
Google Earth Web Plug-in: Version: 7.1 3rd-Party support link
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 2.3.8.1 3rd-Party support link
NP2020Player: Version: 4.5.2.0 3rd-Party support link
OVSHelper: Version: 1.0 3rd-Party support link
Silverlight: Version: 4.0.51204.0 3rd-Party support link
FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
DivXBrowserPlugin: Version: 2.2 3rd-Party support link
Flash Player: Version: 11.9.900.170 - SDK 10.6 Outdated! Update
AmazonMP3DownloaderPlugin101737: Version: AmazonMP3DownloaderPlugin 1.0.17 - SDK 10.4 3rd-Party support link
iPhotoPhotocast: Version: 7.0
NP_2020Player_IKEA: Version: 5.0.93.0 - SDK 10.6 3rd-Party support link
QuickTime Plugin: Version: 7.7.3
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
User Internet Plug-ins:
BrowserPlus_2.9.8: Version: 2.9.8 3rd-Party support link
3rd Party Preference Panes:
BrowserPlus 3rd-Party support link
DivX 3rd-Party support link
Flash Player 3rd-Party support link
Flip4Mac WMV 3rd-Party support link
Perian 3rd-Party support link
SMART Board 3rd-Party support link
Bad Fonts:
None
Old Applications:
SMART Product Update: Version: 5.1.125.0 - SDK 10.5 3rd-Party support link
/Applications/SMART Technologies/SMART Tools/SMART Product Update.app
activationwizard: Version: 3.0.118.0 - SDK 10.5
/Library/Application Support/SMART Technologies/activationwizard.app
LIMBO: Version: 1.1.0 - SDK 10.0 3rd-Party support link
Amazon MP3 Downloader: Version: INFO_PLIST_VERSION - SDK 10.4 3rd-Party support link
MathType: Version: 6.7e 12112800 - SDK 10.4 3rd-Party support link
/Applications/MathType 6/MathType.app
Time Machine:
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 232.09 GB Disk used: 94.59 GB
Destinations:
harddrive n.hahn [Local] (Last used)
Total size: 931.39 GB
Total number of backups: 7
Oldest backup: 2013-10-28 17:02:36 +0000
Last backup: 2014-01-21 20:48:05 +0000
Size of backup disk: Excellent
Backup size 931.39 GB > (Disk size 232.09 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
24% firefox
4% WindowServer
2% hidd
1% EtreCheck
1% sysmond
Top Processes by Memory:
535 MB firefox
61 MB Dropbox
53 MB mds_stores
53 MB mds
47 MB Finder
Virtual Memory Information:
55 MB Free RAM
649 MB Active RAM
601 MB Inactive RAM
327 MB Wired RAM
669 MB Page-ins
15 MB Page-outs -
Without NI DAQ device- how to get data from MSP into labVIEW and process it
Hi,
I do not have an NI DAQ device. I have an MSP430 and my sensor is an ADXL335 Accelerometer. How do I get data from my MSP into labVIEW and process it?
Just looking for a nudge in the right direction. I'm having a hard time finding resources on labVIEW that don't involve NI specific DAQs.
Thanks in advance,
AzizThere are many ways to get data into LabVIEW that do not involve NI-DAQ devices.
I think your easiest option would be to stream it via serial port if the data rate isn't too fast.
Troy
CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
Beware of the man who won't be bothered with details. - William Feather
The greatest of faults is to be conscious of none. - Thomas Carlyle -
JSON - get data from Oracle table
Hi all,
I hope it is correct thread...
My need is to get data from oracle table using JSON and show output at html table. I'm very new to JSON (got some experience in PL/SQL and basic html knowledge). Could someone direct me to manual or give me simple example?JSON is a way to format data, not a way to fetch data. Call it an alternative to XML.
Are you perhaps talking about doing an ajax request to fetch data? -
Get data from more than 1 subtype using RP_PROVIDE_FROM LAST
Hi all,
I need to get data from infotype 2013 subtype 90 and subtype 91.
Currently the codes only allow me to use it one time for the same infotype. If I use it again for the same infotype, pnp-sw-found will equal to zero. Anyone have any idea on this?
Example:
Get pernr.
Start of selection.
rp_provide_from_last p2013 0090 pn-begda pn-endda.
IF pnp-sw-found = 1.
**--> Populate internal table
MOVE p2013-ktart TO ls_quota-ktart.
MOVE p2013-aedtm to ls_quota-aedtm.
MOVE p2013-uname to ls_quota-uname.
MOVE p2013-accnu to ls_quota-accnu.
MOVE p2013-accop to ls_quota-accop.
ELSE.
REJECT.
ENDIF.
End of selection.Using RP_PROVIDE_FROM_LAST you can only use for one infotype and one subtype. For reading data for IT2013 with subtypes 90 and 91....you have to use following....
Get pernr.
Start of selection.
rp_provide_from_last p2013 0090 pn-begda pn-endda.
IF pnp-sw-found = 1.
**--> Populate internal table
MOVE:
p2013-ktart TO ls_quota-ktart,
p2013-aedtm to ls_quota-aedtm,
p2013-uname to ls_quota-uname,
p2013-accnu to ls_quota-accnu,
p2013-accop to ls_quota-accop.
ELSE.
rp_provide_from_last p2013 0091 pn-begda pn-endda.
IF pnp-sw-found = 1.
**--> Populate internal table
MOVE:
p2013-ktart TO ls_quota-ktart,
p2013-aedtm to ls_quota-aedtm,
p2013-uname to ls_quota-uname,
p2013-accnu to ls_quota-accnu,
p2013-accop to ls_quota-accop.
ELSE.
REJECT.
ENDIF.
ENDIF.
End of selection.
Hope this answer is helpful -
Now, I only have ESB and BAM, not BPEL. This is want I have to do. I have to get data from Database and send the data to JMS, which BAM also connect to the JMS. How do I do that? Please provide me and example or any URL would be appreciated. I also try using DbAdapter, but ESB do not allow me to use DBAdapter as Inbound. I'm very new to SOA. Thanks
Hi,
Since I still have problems on this subject, I would like to share on how it progresses.
Currently I have a problem of timeout in step "Truncate XML Schema" with the URL that I mentioned above.
The exact error is the following : 7000 : null : com.sunopsis.sql.l: Oracle Data Integrator TimeOut : connection with URL [...]
The connection test is still OK.
I tried to increase the value in the user's pref but there's no change. -
Porting data from Oracle8i to XML and from XML to Oracle 10g
Hai
I have a client database (using oracle 8i) and a server database (oracle 10g).
Due to lack of leased line connectivity i want to port these offline data from 8i to 10g
using a modem(dial up connection).Is there is any way to port data from 8i to XML
and from XML to 10g.
thanks in advance
dejiesThanks Nicolas,
As per documentation, it seems to be difficult for export/import from Oracle8i to 10g. Is that any way to achieve this? I have to append the newly imported data with old or exisiting data into Oracle10g.
Regards
Nikhil -
Hi ,
I have a site that runs on Claims Mode ( NTLM) . That site has a web part that needs to show the data from any sharepoint farm, SharePoitn 2010 , or 2007 or 2003.
I am getting 401 unauthorized when I try to get data from webservice running in sharePoint context.
But when I run the same code in Windows Console application then it is giving no error.
What I doubt is that this issue is due to the reason that I have set
claims mode authentication.
Because same code is running in different farm in a site that is configured using windows authentication.So generally speaking, you're talking about a VERY long running topic of authentication methods... and generally speaking, in the world of Windows, the only long running authentication options have been:
- NTLM (limited to one hop)
- Kerberos (unlimited hops)
- Application level authentication (ex: SQL auth, also, no hops)
Recently, Microsoft has been investing in Claims Based Auth... and I fully expect claims to start working their way into other systems (previously starting to work into Windows via the CardSpace technology, but also in other ways such as Win8's ability to
log in with a LiveID)... but building a new authentication method into ALL applications is a VERY long process, and the complexity of claims adds a LOT of consideration (claims from the same AD can look VERY different depending on the STS, so lots of questions
around things like bridging claims).
So as far your SP auth needs...
IF both applications are CLAIMS AWARE, then you MAY be able to use claims (which support unlimited hops)... but that's just not very likely yet (and will probably take another 5-10 years to be available across the entire enterprise)... otherwise, KERBEROS
Outside of the Microsoft world... KERBEROS is open spec, so is supported by other systems (such as authenticating to linux)... claims based auth is also open spec, but again, still new... there are a few other options (LDAP, etc), but none that are native
to Windows (so you rely on things like third party auth modules for Windows, which Novell has done for DECADES with NDS and eDir)
And again, SharePoint can convert claims to Kerberos using the C2WTS... which MS uses internally for things Excel Services connecting to a backend SQL server... but it DOES require the Kerb and C2WTS configuration.
if you're having issues using Kerb auth... then it sounds like Kerb isn't configured correctly... and Kerb is a PAIN to configure (whitepaper for SP Kerb is ~100 pages long)... IIS (and SharePoint) also has the added benefit of failing over to NTLM if Kerb
fails (and you shouldn't disable this behavior, since it'll break other settings elsewhere)
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
i have three tables A,B,C. there is one to many relation between A and B. and one to many relation existed between table b and c . how will get data from these three tables
check if this helps:
select * --you can always frame your column set
from tableA a
left join tableB b on a.aid=b.aid
left join tableC c on c.bid=b.bid
This is just a general query. However, we can help you a lot more, if you can post the DDL + sample data and required output.
Thanks,
Jay
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Sending and getting data from external file.
I'm running it in actionscript 1 and 2 since 3 wouldn't work when getting data from external media. I'm trying to find out how to post data to a PHP file and getting from that file I'm trying to make the flash for something that works like a game but differently. Since I just found out how to make the HTML stuff show up but a lot of times, some of my text will not appear so I don't know what's going on.
Does anyone know how to send and get data both at the same time from a sample file?
The sample file is example.php
It has to sent information like ID and NAME
and it has to get information like Description and userIDNed Murphy wrote:
The tutorial I pointed you to does provide the visuals you requested, both the AS code and sample PHP code, so I can't see where your learning by visuals aspect holds up.... your approach sounds more like you want someone to hand you a tailored solution that you won't need to learn from. Visuals require reading and doing. If that fails to get absorbed or you couldn't understand/revise it, what could anyone else prepare for you that would work better?
I did the tutorial and everything but every time I press the button or even load it, it keeps on saying undefined. I like the have a sample FLA file so I can figure things out. I did everything from the site but it won't work out for me.
I did step 5 too because it was almost all that I was looking for but it won't even work. keeps on saying undefined. I would show you but webcam max won't work and I can't show you an example.
EDIT:
You know it's frustrating when I don't know how the heck I'm supposed to do this stuff. I read the whole dang thing and I still can't get this dang thing working.
I did everything. EVERYTHING. I just don't get this crap. -
Search result to get data from bing search and display it in sharepoint page.
I have configured result source which gets data from bing site,i have given following url as source url
http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page.
any pointers will be helpful.Hi,
According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
To display more items, you can modify the item number when you add
New Query Rule.
To get all results, I recommend to use the “Show More”
link in the result page.
You can enter the URL when you add New Query Rule:
"More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
Here is a great blog for your reference:
http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Hi All,
I am fairly new to programming macros in Excel VBA, and right now I need to write a macro that can open a PDF file and read it and get data from there and paste it into an excel spread sheet. Is this possible? If so can you give me some sample code
that would do that?I did this once many years ago. I had to have Acrobat Professional installed ($$$). There are free pdf parsers that you access from VBA using Win32 commands like:
https://code.google.com/p/peepdf/
Maybe something has changed since I did it
Maybe you are looking for
-
Hi, Our receiver file has the following structure: <Record> <header> <head1> <head2> <Item> <item1> <item2> </Item> <header> </Record> I have defined my Receiver file adapter as: ReceordsetStructure: Header
-
A user that consumes a Web service is authorized to use then in BackEnd?
Hello, I need to help me please Can you validate that a user that consumes a Web service is authorized to use this service?. I mean, I have a backend system, which has an RFC, which we published in PI as Web Services, and a third application consumes
-
Using precompiled JSPs on Sun ONE 6.1 SP5
I"m using precompiled JSPs on Sun ONE 6.1 SP5. I have created a virtual server which has one web application deployed as the default web application located at <server-instance>/webapps/myapp. So in the server.xml it appears as : <webapp uri="/" path
-
Hello Gurus, I am creating a stock transport order and creating a delivery through VL10G, when i create the delivery the default storage location should be X, but it is taking Y as default storage location. Can you guide me through config and also wo
-
Revision: 3968 Author: [email protected] Date: 2008-10-30 10:45:04 -0700 (Thu, 30 Oct 2008) Log Message: Fix for - ASDoc fails if example code included by the @includeExample tag contains an "&" Also fix for broken links with $$ symbol. QE Notes: Non