How can I extract information from an IdM approval stack?
During the workflow for provisioning employees, managers are required to authorize certain actions. The problem is that they sometimes do not.
My boss has asked for a formatted report in ascending date order that shows the passive authorizations (some are weeks old!) and the managers to whom the "lazy" managers report.
I've done this, but it's driven by my manually screen-scraping the information from the approval list onto an external file.
The problem is that I have to initiate the process by bringing up the approval screen, copying and pasting information into a file and then running a Perl munge script against the created file...
I want to be able to acccess the approvals list by means of a crontab initiated script and not have to rely on the "screen-scrape."
Any ideas?
Ian Clark
ADP - ProBusiness.
Message was edited by:
Namalankula
You can do it in following way....
First you need to create the object of URL by specifying the URL name.
URL myurl = new URL("http://www.xyz.com/index.html"); //specify your URL path here
URLConnection conn = null;
DataInputStream data = null;
String line;
StringBuffer buf = new StringBuffer();
try {
conn = myurl.openConnection();
conn.connect();
data = new DataInputStream(new BufferedInputStream(
conn.getInputStream()));
while ((line = data.readLine()) != null) {
buf.append(line + "\n");
data.close();
catch (IOException e) {
System.out.println("IO Error:" + e.getMessage());
So, at the end, you have the data in your string buffer...you can use it wherever u want.
Hope this helps
Similar Messages
-
How can I extract information from a web page
I wanna read some information from a webpage, and then put those information together into a table. Since I only know the url, not the file path, when I use BufferedReader(new FileReader(FilePath)), there is a FileNotFoundException. How can I do that? Thanks a lot.
You can do it in following way....
First you need to create the object of URL by specifying the URL name.
URL myurl = new URL("http://www.xyz.com/index.html"); //specify your URL path here
URLConnection conn = null;
DataInputStream data = null;
String line;
StringBuffer buf = new StringBuffer();
try {
conn = myurl.openConnection();
conn.connect();
data = new DataInputStream(new BufferedInputStream(
conn.getInputStream()));
while ((line = data.readLine()) != null) {
buf.append(line + "\n");
data.close();
catch (IOException e) {
System.out.println("IO Error:" + e.getMessage());
So, at the end, you have the data in your string buffer...you can use it wherever u want.
Hope this helps -
How can I transfer information from one ipad to another?
how can I transfer information from one ipad to another ?
What kind of information? You can sync things like Contacts and Calendars by using iCloud. You can backup one iPad to iTunes on a computer and then sync the backup to the other iPad. You can configure your iTunes content and sync the same content to both iPads.
It is based on what you want to do. Or are you looking for a way to send files from one iPad to another wirelessly? There are apps to do things like that, as well as cloud services, such as DropBox. -
HT201250 how can i pass information from one mac to another mac by using the time capsule
how can i pass information from one mac to another mac by using the time capsule
If you want to transfer files, settings, etc., you must open Migration Assistant (Applications > Utilities) in the Mac that you want to transfer the files and follow the instructions
-
HT2646 How can I stream information from my pc through the apple tv box to my television
How can I stream information from my pc through the apple tv box to my TV
If you want to mirror you will need to use something like Airparrot
-
How can i extract data from oracle table to flat file or excel spread shee
Hello,
DB Version is 10.1.0.3.0
How can i extract data from oracle table to flat file or excel spread sheet by using sub programs?
Regards,
DHere what I did
SET NEWPAGE 0
SET SPACE 0
SET LINESIZE 80
SET PAGESIZE 0
SET ECHO OFF
SET FEEDBACK OFF
SET VERIFY OFF
SET HEADING OFF
SET MARKUP HTML OFF SPOOL OFF
Sql> SPOOL bing
select * from -------;
SPOOL OFF;
I do not see file.
I also tried
Sql> SPOOL /tmp/bing
select * from -------;
SPOOL OFF;
But still not seeing the fie, -
How can I extract image from complex (multycoloured0 background?
How can I extract image from complex (multycoloured) shot?
I would say either using the pen tool or the quick mask tool but without seeing how complex the image/background is I can't give you a complete answer...?
Can you post the image? -
How can I extract photos from my backup (5000+ photos) for free?
How can I extract photos from my backup (5000+ photos) for free?
eyal123 wrote:
How can I extract photos from my backup (5000+ photos) for free?
You cannot.
Why are you opposed to paying for some software to help do what you want?
You can restore the backup to your iPhone then sync the photos to your computer. -
how can i retrieve information from time machine if my computer has less storage capacity? How can I access data that is on my time machine but can not be copied to a computer with less storage capacity? I used to have 180 GB, now I have 128 GB.
Plug an external drive into the computer and use that to expand data onto.
http://pondini.org/TM/16.html -
HT204053 how can i move information from mobileme to icloud/
how can i move information from mobileme to icloud
MobileMe has closed, it is no longer possible to get data from it.
-
How can I transfer information from my older MacBook Pro to my new MacBook Pro?
How can I transfer information information from my older MacBook Pro to my new MacBook Pro? Does anyone have an answer because I spoke to 2 people at Apple & both sent me the wrong cables.....
Did they mention Migration Assistant? You can use MA with FireWire, limit is the speed of the older unit. MA will guide you and allow you to choose what to transfer.
-
Hi folks.
I´m new on BootCamp.
After installing Windows XP SPII, witch works fine for me, I tryed to install the BootCam drivers.
But: The Leopard DVD won´t start - like in the manual How can I extract the Drivers from the
Leopard DVD to copy them to the BootCam partition to install them manually?
Thank you al lot!It is a known problem on Microsoft's end.
From their site:
"SYMPTOMS
Microsoft Windows XP Service Pack 2 (SP2) cannot read DVD-RW disks that use the Universal Disk Format (UDF) 2.00 defect management system. When you view the DVD contents by using Windows Explorer, you see an empty... ...A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.
To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:
http://go.microsoft.com/?linkid=6294451"
I posted this in reply to another thread:
"It is a known Microsoft issue with UDF in some SP2 versions, and there is a hotfix for it.
search for this in Google:
"DVD-RW disks appear to be empty" hotfix
You can do it 3 ways:
1) If you run the Xp updater (which may take hours) and follow all the instructions, reboot and run the updater again... and again until all the updates are there, then you will get the fix.
2) Find , download and install just the hotfix... it may take some looking...
3) contact Microsoft from their site and get the hotfix from them. " -
How can I extract images from Numbers?
Sounds a bit stupid but how do you extract images from Apples 'Numbers 3' on a Mac? I have a client that sends images in XLS files, that normally in Word I would Alt Click and 'save as...'
I was trying to stop using Word but this simple little feature will make all the difference.
Can anyone point me in the right direction.
Thanks,
DaveHi Wayne,
Thank you for your response. Sadly if you do this it copies in to the MACs clipboard as a snap shot of the image at the dimensions in Numbers.
Eg.
An image I've extracted from the document via Excel saved out at it's original dimensions 1024 x 300px, even though it was placed, then scaled down to 300px wide on the sheet.
Same image copied then pasted in to an image editor (as I couldn't paste into finder) was only 300px wide.
The feature I need is to be able to save out the original image placed in the Numbers sheet.
Anyone with ideas on this? -
How can i extract messages from icloud backup in apple 4
how can i extract watsapp messages from icloud backup in apple 4
When you backup messages in iCloud, your SMS will be stored in Network. As i know, you cannot view the SMS. But you can try to sync to your iPhone or backup in iTunes. After that, you can extract your messages from iTunes with iPhone backup Extractor apps.
-
How can i extract attributes from XML-file
Hi!
I want to extract XML-files.
And the most tags are no problem,but how can i extract attributes?
Here is a part from the XML-Schema:
<xs:complexType name="ATT_LIST">
<xs:sequence>
<xs:element name="ATTRIB" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="VALUE"/>
</xs:sequence>
<xs:attribute name="ATTNAM" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Thanks for help.
With best regards.
NicoleHi!
If i delete one '/' i get the error message:
data can't be found'
This is my xml-file:
<?xml version="1.0" encoding="UTF-8"?>
<INSOBJ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sv6:8080/sys/schemas/SCOTT/sv6:8080/public/mydocs/inspection_pda_schema.xsd">
<INSP_PDA>
<SYSID>900000438</SYSID>
<INSPECTOR/>
<INSDAT>20001223</INSDAT>
<INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
<INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
<INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
<INSOBJ_ID3>239</INSOBJ_ID3>
<INSOBJ_NAME>259</INSOBJ_NAME>
<PDA_PORTION>0000000391</PDA_PORTION>
<GESQUALITAET/>
<AUSFALLSEINSCH/>
<ANMERKUNGEN/>
<LAGE_NORD>48,2281993</LAGE_NORD>
<LAGE_OST>14,2394658</LAGE_OST>
<HOEHE/>
<GPS_STATUS/>
<KOORD_SYSTEM/>
<KOORD_EINHEIT/>
<PLZ/>
<ORT/>
<STR_ORTSTEIL/>
<NUMMER/>
<BEZEICHNUNG/>
<GRUNDBESITZER/>
<TELENR/>
<ERREICHBARKEIT/>
<ATT_LIST>
<ATTRIB ATTNAM="BAUWEISE">
<VALUE>E-Mast</VALUE>
</ATTRIB>
<ATTRIB ATTNAM="HOLZART">
<VALUE>KIEFER</VALUE>
</ATTRIB>
</ATT_LIST>
<MZ_LIST>
<MAS_ZU MZ_NAM="AUSHOLZEN">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM>N</DONE_AM>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH>2</DRINGLICH>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
<VALUE>2 Isolatoren</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Stange erdfaul/hohl">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
</MZ_LIST>
</INSP_PDA>
<INSP_PDA>
<SYSID>900000437</SYSID>
<INSPECTOR/>
<INSDAT>20001223</INSDAT>
<INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
<INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
<INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
<INSOBJ_ID3>239</INSOBJ_ID3>
<INSOBJ_NAME>259</INSOBJ_NAME>
<PDA_PORTION>0000000391</PDA_PORTION>
<GESQUALITAET/>
<AUSFALLSEINSCH/>
<ANMERKUNGEN/>
<LAGE_NORD>48,2281993</LAGE_NORD>
<LAGE_OST>14,2394658</LAGE_OST>
<HOEHE/>
<GPS_STATUS/>
<KOORD_SYSTEM/>
<KOORD_EINHEIT/>
<PLZ/>
<ORT/>
<STR_ORTSTEIL/>
<NUMMER/>
<BEZEICHNUNG/>
<GRUNDBESITZER/>
<TELENR/>
<ERREICHBARKEIT/>
<ATT_LIST>
<ATTRIB ATTNAM="BAUWEISE">
<VALUE>E-Mast</VALUE>
</ATTRIB>
<ATTRIB ATTNAM="HOLZART">
<VALUE>KIEFER</VALUE>
</ATTRIB>
</ATT_LIST>
<MZ_LIST>
<MAS_ZU MZ_NAM="AUSHOLZEN">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM>N</DONE_AM>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH>2</DRINGLICH>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
<VALUE>2 Isolatoren</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Stange erdfaul/hohl">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
</MZ_LIST>
</INSP_PDA>
</INSOBJ>
Thanks for help.
With best regards
Nicole
Maybe you are looking for
-
ExpressCard SSD not detected by Windows 7
I've got Windows 7 RC 64-bit installed on a 2.53 GHz MacBook Pro (dual boot using Boot Camp) with an ExpressCard slot. I also got a FileMate SolidGO 3FMS4D48M-WR 48GB ExpressCard SSD; the drive works beautifully under OS X, but is not recognized at a
-
How can I change the format of some of the pages of a PDF-document?
I use Adobe Acrobat and have a PDF-document with A4 pages and some pages of another format (half of an A4). How can I change the format of these pages to A4 (with a lower blanc part)?
-
Upgrading chaos and disappointment
Last night i finally upgraded my iPhone 3Gs to IOS 5. I ay finally because several times I downloaded the update only for it to fail after 1/2 hr due, I eventually discovered with no help whatsoever from the ITunes application, to my firewall being t
-
FCS2 Will NOT Accept Serial Number of FCS
Here's my dilemma: I have been running FCS HD for what seems like an eternity. I have a G5 (non-Intel) dual 2G running OS 10.4.11. I purchased a Panasonic HPX-170 to start shooting HD. FCS HD will NOT accept native video files from the P2 cards, so I
-
Oc4j startup classes - please help!
I am trying to create a startup class for my Oc4j container. I have created a new class with all the required code. However when I come to update my server.xml config file like so: <startup-classes> <startup-class classname="MyStartupClass" failure-i