Get data query with java files
Hay,I'm trying to get a list of data file by a query with CRMI or wcm to java.
My goal is to get list < DataFile > for the content by query server.
I can't find a function or a method to do this, I just success to get the metadata of the cdf fields.
I want to create objects that are customized from the cdf...
Please, can someone help me?
Eran
What service 11g SS_GET_ELEMENT_DATA? It doesn't seem to be documented but must dDocName as a parameter which is the CDF.
Jonathan
http://redstonecontentsolutions.com
http://corecontentonly.com
Tags: Fusion Middleware
Similar Questions
-
How to get data from an Excel file exist using report generation tools
I try to use the Excel vi get the data of the report generation tool, but I can't understand how to activate a path can be explored in the right type for the VI. I tried to use the new Report.vi, but this does not work unless you use a template. It will not open an existing excel file and make an open report to extract data from.
Essentially, I have a bunch of excel files that have data in them, and I want a VI allows to analyze the data. I'm going to pull in all the data directly from the excel file so I don't have to reproscess them all in text so I can use the more standard datasheet live but to convert even the excel file programtically in labview I still need to be able to open the excel file and get the data?
I found my problem. It turns out that only not to have had a problem with the tool box new report vi. I had accidentally wired an input control of path of folder instead of an input control of path of file to it. Changing the file type took care of her and I was able to access excel files, I tried using the new report VI to extract the file, and Excel Get Data to extract the data.
-
When I was checking plugins and their update, I was not prepared for the controller of domain Adobe with the Cloud and the other things it has to offer. The XI Adobe I had published my PDF files. When my Vista OS collapsed, I lost quite a lot. The only thing I don't like is that you can't get the older version of Adobe on the desktop, unless you're a computer scientist, which I am not. I know it must be on the hard disk. I tried to download it, but it is so far an error indicating that Adobe DC is the version I want. I have a Windows 7 Professional Inspiron 3847 2013. I just wish I could have my XI from Adobe.
You can download the installer for reader XI on this page: http://get.adobe.com/reader/enterprise/
(I know who says it's for business, but I don't think that they are checking!)
Most likely, you will need to uninstall the CD player in the Control Panel, uninstall a program, before you can install an older version.
Or did you already tried?
-
Getting data from several XML files
Could someone please shed some light on the best way to read several external xml files through Flex? We haveabout 100 xml files (of which few are accessible by users).
I tried to implement the following generic function which takes a file name, but when debugging it, it seems that the Manager never gets call after executing the line of service.send ()! I would much appreciate your help!
public void fetchFileContent(fileName:String):void {//this method is called when you click on a button
var service: HTTPService = new HTTPService();
service. URL = "filePath /" + file name;
service.useProxy = false;
service.resultFormat = 'e4x ';
service.addEventListener ("result", fileRetrievalHandler)
service. Send();
}
public void fileRetrievalHandler(evnt:ResultEvent):void {}
fileContent = evnt.result.feed; This line is never executed
}
"miglara" wrote in message
News:glhase$5sr$1@forums. Macromedia.com...
> Could someone please shed some light on the best way to read more
> external xml files through Flex? We haveabout 100 xml files (of
> who
(> only little is accessed randomly by users).
> I tried to implement the following generic function which takes a
> filename
> but when debugging it, it seems that the Manager never gets call after
> executing the line of service.send ()! I would much appreciate your help!
>
> public void fetchFileContent(fileName:String):void {//this method is
> called by clicking on a button
> var service: HTTPService = new HTTPService();
> service.url = ' filePath / "+ file name;
> service.useProxy = false;
> service.resultFormat = 'e4x ';
> service.addEventListener ("result", fileRetrievalHandler)
> service.send ();
> }
>
> public void fileRetrievalHandler(evnt:ResultEvent):void {}
> fileContent = evnt.result.feed; This line is never executed
> }Try to add a fault handler and see if that goes off. Also, since you are
use HTTPService rather than URLLoader, you should know that this will probably not
already worked for your development environment, unless you have either changed the
Directory of output to go on the server or you have changed some compiler flags
to allow you to get local and access to the network at the same time. That's why
I always use URLLoader to load XML files to relative path... it just
works without my need to change anything. -
Flex with Java - DB data access
Hello, people.
I developed a Java application and realized that I need some advice. My request is simple:
I have a MSSQL, tomcat 5.5 server, flex data services.
In my application, I have two areas of combo... country, city...
I filled the combobox countries with the values of the DB (country table) obtained using the fill (list ListArgs) in the assembler class.
Now, according to the selected country in forced to fill my city combobox (city table)
How can I fill combobox city from the database based on the country code?
Y at - it a function to pass the selected index and fill the list box drop-down town... ???
My code is as below:
<? XML version = "1.0" encoding = "utf-8"? >
"" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >
< mx:DataService id = "ds" destination = 'quick-search-countries' autoCommit = 'false' autoSyncEnabled = "false" / >
< mx:DataService id = "tds" destination = 'quick-search-city' autoCommit = 'false' autoSyncEnabled = "false" / >
< mx:ArrayCollection id = "cntry_list" / >
< mx:ArrayCollection id = "town_list" / >
MX:Panel layout = "absolute" backgroundColor = "#c6daf5" horizontalCenter = "0" "0" = red >
< mx:Form id = "SearchForm" >
< mx:TabNavigator >
< mx:Canvas label = 'Hotel' width = '339' height = '234' backgroundColor = "#ffffff" >
< mx:Label x = "10" y = "91" text = "" country: "alpha ="0.12"/ >"
< mx:ComboBox = "93" x = "89" fontSize = "10" id = "Country" dataProvider = "{cntry_list}".
labelField = "countryName" creationComplete = "ds.fill (cntry_list)" "
change prompt = "TDS. GetItem (Country.SelectedItem)"="United Kingdom">
< / mx:ComboBox >
< mx:Label x = "10" y = "126" text = "' town / city:" fontFamily = "Georgia" alpha = "0.12" / > "
< mx:ComboBox id = "City" x = "94" y = "124" fontSize = "10" dataProvider = "{town_list}".
labelField = prompt "name" = "London WC1" >
< / mx:ComboBox >
< / mx:Canvas >
< / mx:TabNavigator >
< / mx:Form >
< / mx:Panel >
< / mx:Application >
It's my main.mxml. I CountryAssembler to populate the drop-down list country and a DAO class. Have an assembler of city...
Please advice me on how to populate the drop-down list from the countries selected DB city...
I am really stuck place... and also have no documentation on Flex data services with Java support...
Please give me some suggestions on this.
Thanks in advance,
Raphael
Candy,
Mete is suggesting that, because Country.selectedItem is the object of your country.
the country_code should be accessible through Country.selectedItem.country_code
(although I'm personally not much direct link syntax, one fan
thing I've seen in your messages was to have different conventions for how
you name it these properties, sometimes you refer to them in the style of country_name
and then others like countryName... well depending on how you have implemented
She can be Country.selectedItem.countryCode or Country.selectedItem.country_code).Pete
-
How to create a DataControl from the Java file
How to create a data from the Java file controlHello
Try like that after the example, you will get the answer1. Create Page.java
public class {Page}
private String pageName;
private String pageAction;
public Page() {}
Super();
}public Page (pageName, pageAction String String) {}
Super();
this.pageName = name of the page;
this.pageAction = pageAction;
}{} public void setPageName (String pageName)
this.pageName = name of the page;
}public String getPageName() {}
Returns the name of the page;
}{} public void setPageAction (String pageAction)
this.pageAction = pageAction;
}public String getPageAction() {}
pageAction return;
}
}2. create PageList.java
import java.util.ArrayList;
import java.util.List;public class PageList {}
private pages
= new () ArrayList list; public PageList() {}
Super();
pages. Add (New Page ("Page title 1", "page 1"));
pages. Add (New Page ("Page title 1", "page 1"));
pages. Add (New Page ("Page title 1", "page 1"));
pages. Add (New Page ("Page title 1", "page 1"));
pages. Add (New Page ("Page title 1", "page 1"));
}public void setPages (list of pages
) {}
This.pages = pages;
}public
{list getPages()
return pages;
}
}3. right click in the PageList.java and choose CreateDataControl
then refresh the DataControl and focus on which a DataControl as PAgeList will be created
Kind regards
Felix -
Date deserialized as java.sql.Timestamp
I seem to have the same problem as mentioned in these two threads
bad serialized in java.sql.Timestamp consistency 3.5.2 java.util.Date
PofExtractor with java.util.Date causes a ClassCastException
When I serialize a Date, it deserializes as a java.sql.Timestamp. According to one of these threads, this has been fixed in bug COH-3297.
I use version 3.7.1 - p5
-------------------------------
Test:
@Test
public void dateSerializationTest() {}
Calendar cal = new GregorianCalendar (2012, 11, 18, 16, 10, 50);
Original date = cal.getTime ();
ConfigurablePofContext pofContext = new ConfigurablePofContext();
Binary binary = ExternalizableHelper.toBinary (original, pofContext);
Copy of day = ExternalizableHelper.fromBinary (Date) (binary, pofContext);
System.out.println (Binary.ToString ());
System.out.println ("Original - Type [" + original.getClass () + "] value [" + origin + "]");
System.out.println ("copy-Type [" + copy.getClass () + "] value [" + copy + "]");
assertEquals (original, copy);
}
-------------------
Output:
Binary (length = 11, value = 0x15539C1F0C12100A320001)
Value of type [class java.util.Date] [Mar 18 16:10:50 GMT dec 2012]
Type [class java.sql.Timestamp] value [2012-12-18 16:10:50.0]
I can't find the system to see if this is still an open bug for bug tracking.
Cheers for any help
Rob
Published by: Rob Fraser on December 19, 2012 02:08This isn't really the same question as stated in the other posts, this is how works the POF.
When a Date is serialized as POF, it is stored in TimeStamp format. What is actually a Date + nano precision.
During its deserialization (e.g. a serialized Date/TimeStamp, it always returns a timestamp, which is a subclass of java.util.Date and can be cast to a Date.)Tim
-
Can all help with VI to get data (HEX) serial number and write in the text file
Hello I am struggling with this problem for 2 months... They get help from different I thought I solved the problem, but of no use yet I stand on zero
Problem: I need to get data on USB high speed HEXAGON shaped (coming in hexadecimal and be stored in the text file to the hexadecimal format as each hexadecimal value online different I'll also to attach the file)
Get us ASCII on series or VISA read but when trying to convert to hex as shown in text file making it slower to deal with code, I know that my VI will have to improve more... I'm waiting for suggestions
Need urgent help...
Thanks in advance
Hi Ali Afzal,.
I think that the attached example can work for you. If not, then try the solution with sending the data to a parallel running the loop and store it there.
Mike
-
undefined resutl tryng to get data from flash with php
Hello
I'm not a coder, but I understand the way that it work and can handle already-written script. I'm going through with a problem that I do not understand why is happening. I have a php and AS3 to get results from the database. Php works fine since I test. but demand for the Flash gives me a result "undefined". I have a text box on the flash file in which is supposed to show the results of the php. So far, this code:
AS3:
import flash.display.*; import flash.events.*; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLVariables; import flash.net.URLLoaderDataFormat; import flash.net.URLRequestMethod; // Assign a variable name for our URLVariables object var variables:URLVariables = new URLVariables(); // Build the varSend variable var request:URLRequest = new URLRequest(); request.url = "ckBxSample_disp.php"; request.method = URLRequestMethod.POST; request.data = variables; // Build the varLoader variable var varLoader:URLLoader = new URLLoader(); varLoader.dataFormat = URLLoaderDataFormat.VARIABLES; varLoader.addEventListener(Event.COMPLETE, completeHandler); try { varLoader.load(request); } catch (error:Error) { trace("Unable to load URL"); } // Handler for PHP script completion and return function completeHandler(event:Event):void{ // Load the response from the PHP file if (event.target.data.returnBody == "") { output_txt.text = "No data coming through"; } else { output_txt.condenseWhite = true; output_txt.htmlText = "" + event.target.data.returnBody; } } // Send the data to the php file varLoader.load(request); // Ready the variables for sending variables.requester = "phpRows";
in php:
If ($_POST ['applicant'] == 'phpRows') {}
SQL connection code
then mysql query here
$sql = mysql_query ("SELECT blah blah blah
then the while loop for all records, I like to shoot
While ($Row = blah) {}
call lines
$id = $row ['id'];
sending the results of th calle by flash
$body = "$id";
}
Flash results
Print "returnBody = $body";
Close con
mysql_close();
Exit();
}
It is most of the code and I get a result that is not defined in the text box in flash
can anyone help? Please
Thanks in advance
PHP is badly formatted. use:
<>
I have remove the requirement to show the result of the database
application of Flash
($_POST ['applicant'] == 'phpRows');
Connect to the databese
include_once 'connect_to_mysql.php '.
$tbl_name = 'table_name ';
$body = "";
$con = mysql_connect ($mysql_hostname, $mysql_user, $mysql_password)
or die ("Opps Fail to connect to the host");
@mysql_select_db ($mysql_database, $con) or die ("Opps fail to connect to database");
$sql = mysql_query ("SELECT * FROM $tbl_name");
$result = mysql_query ($sql);
While ($row = {mysql_fetch_array ($sql))}
$id = $row ['id'];
$uname = $row ['uname'];
$client_song = $row ["client_song"];
$body = "$id & $uname & $client_song;
}
Print $body;
mysql_close();
Exit();
?>
-
How to fix or get data off Mac Pro with display/restart issues
Hi, my early 2008 Mac Pro running El Capitan suddenly started to show lines all over the screen, then it restarted, displaying an error message and since then he's been stuck in a reboot loop never get past the progress bar and with very distorted display. Two questions:
(1) any solution to this? It is an old machine, worked great so I would like to continue using it if possible, but do not want to put money in it at this stage.
(2) what is the best way to get data out of the two internal drives to the machine on my Mac Air? I need to access the files on it, also like his 2 x 1 TB hard drives I will not be able to transfer the data on Air, but you will need to use them as external drives.
Help appreciated!
Get a dock like this
http://www.felinediabetes.com/FDMB/forums/feline-health-the-main-forum.28/
and take the readers on the Mac Pro and put them in the dock and connect to new mac via USB
You can also get an enclosure that accept disks 3 1/2 in.
In addition, you can get a bolt of lightning > FireWire adopter and connect the two Macs via FireWire and start the old mac in target disk mode
How to use and troubleshoot disk mode target FireWire - Apple Support
The error message say? Problem could be the graphics card bad or maybe bad memory.
If you open the side cover are all diagnostic lights on?
-
Apparent problem with OpenG Get Data Name_ogtk.vi
The data Name_ogtk.vi Get OpenG is a function that takes a data Structure and returns the name of this structure if the Data Structure has a name.
I use it in my Configure.vi. Configure.VI takes several data structures and saves / loads to an INI file. The name of the section in the INI file is the same as the name of the Data Structure. When loading, Configure.vi takes the name of the data structure to load and locate the Section in the INI file with the same name and then uses the items listed in the INI section to load the Data Structure with the data values.
In my case, I have 3 sections. Two of the sections, 1 Servo and Servo 2 derive from the same Type definition. I am trying to load 3 of the attached INI file data Structure. The Config.ini in the system file has been generated by the backup function Configure.vi. I'm passing in the routine of the load, 3 Data Structures, each with unique names. I have an explicit call to get the data for Servo 1 Name.vi and 2 Servo. But the probes on the output of the Name.vi of data values get two return to the same 'Servo 1' same string if sensors on the Structure of data entries that clearly indicate them the unique names of the "Servo 1" and "Servo 2" respectively.
It seems that the 2nd Get data name returns the name of the Data Structure 1 by mistake. If anyone can check this?
Does anyone know how to fix Get Data Name.vi so that it returns the appropriate data Structure names?
Thank you.
I was able to reproduce it and I show here as an oddity to force entry to the variant on the primitive flat string Variant.
Basically, if you have more than one cluster with content command to match the type and order wired directly to this function, it returns the flattened string which is first to each call. The wires must be wired without before converting to alternative, if you have points of constraint.
This only happens if you feed directly the input varying both and get the stress points. If you are using a variant is not the case.
I found that this occurs if the cluster is of type defined, and it does not occur for constants. I didn't try other controls. I'll be honest, I'm usually used to constrain to the Variant. I'll be more careful in the future!
----
so convert to first variant will solve your problem. In addition, if you leave the entry of the section name of the variant config openG write screw unwired, he will take the name as it is the research of the control, you did, so you need not the name of data Get there at all.
An excerpt from 2009. as - is equal to true. The bunches are each a dbl and a bool, but each FP different controls.
-
New to Java development. Get an error with the Hello World program. Help, please
Hello everyone. I just started with Java and I would begin to develop applications for Blackberry. I'm trying the HelloWorld application, I found in the book of Apress beginning Blackberry development. Yesterday, I installed:
(1) jdk-1_5_0_22-windows-i586 - p.exe (32 bit)
(2) BlackBerry_JDE_5.0.0.exe
I have everything installed in the default location, what he said and this is the error I get when I try to launch my app:
Building HelloWorld
C:\Program Files (x 86) \Research In Motion\BlackBerry JDE quiet 5.0.0\bin\rapc.exe-codename = HelloWorld HelloWorld.rapc warnkey = 0 x 52424200; 0 x 52525400; ' 0 x 52435200 import ="... \Program files (x 86) \Research in Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldApp.java C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldMainScreen.java
I/o Error: CreateProcess: javac - 1.3 source-target 1.3 - g - O-d C:\Users\ADAMSK~1\AppData\Local\Temp\rapc_3d5cd53a.dir - bootclasspath "... \Program files (x 86) \Research in Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar"-classpath "...» "Error in \Program files (x 86) \Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldApp.java C:\BeginningBlackBerryDevelopment\com\beginningblackberry\helloworld\HelloWorldMainScreen.java = 2
Error while building projectI don't know why. Can someone help me please? I'm running Windows 7 Ultimate x 64.
Thank you
No, you set your ACCESS Windows path variable to include the location where the java compiler is installed, usually the directory "/ bin" where you installed java.
Mine is located here:
C:\Program Files\Java\jdk1.6.0_05\bin
Update the path:
Control Panel
System
Advanced tab
Click the "Environment Variables" button
Under "System Variables", look for the path and to update.
-
Get data from an Essbase Cube with Jean BAPTISTE
Hello
I'm new on the subject of japi essbase and I need help.
I try to get some data from an essbase cube. In Excel, I used the essbase add with the function 'esscell() '.
Is there a way to do the same thing with the japi essbase?
If you just want to export data to a text file, then it will be probably easier to look at the following options
DATAEXPORT - DATAEXPORT
Script report - report writer commands
MDX - MDX
See you soon
John
-
Hi all.
I use Forms 11 g 11.1.2.1 and updating JRE 7 45.
I have create a jar file containing gif icons files using this procedure:
(1) create the jar file:
set path = % path %; C:\Oracle\Middleware\Oracle_FRHome1\jdk\bin (my ORACLE_HOME/jdk)
jar - cvf webfigolos.jar *.gif
(2) self sign the file:
c:\Oracle\Middleware\asinst_1\bin > sign_webutil.bat c:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
Jars is signed but with a warning:
Generate a signature key certificate aaosa2015 = auto...
keytool error: java.lang.Exception: key pair not generated, al alias < aaosa2015 >
loan is
.
There are errors or warnings while generating a self signed certificate. Pleas
e revisiting.
.
Backup as c: C:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar.old...
1 file (s) copied.
Signature using ke c:\Oracle\Middleware\Oracle_FRHome1\forms\java\webfigoicons.jar
y = aaosa2015...
.. own made.
But I can use this file. The application crashes and get this error from the java console:
network: connection http://myluism-pc:7001/forms/lservlet; jsessionid = p98GTL5Fh6XnQcykySBhLWq2823HwHlPGZ16TYHVv93006N4mmdl!-947562687 with proxy = LIVE
network: connection http://myluism-PC:7001 / with proxy = LIVE
Exception in thread "AWT-EventQueue-3" java.lang.NoClassDefFoundError: oracle/ewt/laf/basic/SelColorChange
at oracle.ewt.laf.oracle.OracleTreeUI.createItemPainter (unknown Source)
at oracle.ewt.laf.basic.BasicTreeUI._getItemPainter (unknown Source)
at oracle.ewt.laf.basic.BasicTreeUI.getItemPainter (unknown Source)
at oracle.ewt.dTree.DTreeBaseItem.getSize (unknown Source)
at oracle.ewt.dTree.DTree.paintCanvasInterior (unknown Source)
at oracle.ewt.EwtComponent.paintInterior (unknown Source)
at oracle.ewt.lwAWT.SharedPainter._paintInterior (unknown Source)
at oracle.ewt.lwAWT.SharedPainter.paintExtents (unknown Source)
at oracle.ewt.lwAWT.LWComponent._paintComponent (unknown Source)
at oracle.ewt.lwAWT.LWComponent.paint (unknown Source)
at oracle.ewt.EwtComponent.paint (unknown Source)
at oracle.ewt.lwAWT.SharedPainter.paintExtents (unknown Source)
at oracle.ewt.lwAWT.LWComponent._paintComponent (unknown Source)
This used to be a very simple procedure, but it has stopped working...!
Don't know if the jar file is well born, or if it is corrupt.
I can't start my application.
Help, please!
Best regards, Luis.
Try again with the JRE 7 10 update, I get a problem with the update of JRE 7 45, but when I tried the update of JRE 7 10, it works fine.
For the objective test, disable the check
Java Panel-> advance-> mixed Code-> disable verification (unchecked)
-
Bridge 5.0.2.4 with camera RAW 8.4.0.199 ON a MAC 10.10.1. Try to update camera RAW 8.7 to get my canon 7dMK2 raw files to work. But the update I have the last update! Witch, I did not clearly. And my Photoshop have different camera RAW plug-in. 8.4 the old and the new 8.7. But it does not work. Have removed and reinstalled several times. What is going on? Why can't update bridge to the last version 8.7 or read my raw files from the Canon 7dmk2?
Try this:
http://blogs.Adobe.com/Crawlspace/2011/03/keeping-Photoshop-up-to-date.html#NotConnected
Maybe you are looking for
-
How to export bookmarks to Chrome?
I cannot find a way to export my bookmarks firefox list to Chrome, someone has found a way to do it?
-
Factory for Satellite Pro AG60EN
Hi all My friend has an old laptop, it's a Toshiba Satellite Pro AG60EN and he wants back to factory settings that she needs a lot of time! He tried now the value 0 (zero) button pressed and then letting go but all he gets to the screen is four icons
-
computer is without hope, without updates
-
My computer shuts down just randomly on me.
No matter what I do on my laptop, it keeps cutting off on me. I don't know why, but especially if I'll be watching for stuff on Hulu.com, it stops in the middle of the show. I don't know how to make it stop. I want to throw my computer out the window
-
CAN NOT INSTALL THE PRINTER IN VISTA SOFTWARE
Need help! No printer setup file is activation for my Lexmark from the CD. It acts as if the drivers for the Conference on disarmament have disappeared or the autorun is disabled by the omission or corrupt files in my Windows Vista operating system.