Executables Lessons . Please Help!

Hi Java Lovers!!
I was wondering if anyone knows where I can find information,
tutorials etc.. on how to convert my applications to make them
executable files (*.exe) and run them on different platforms.
Thank you very much in advance, A.

There's a good program to make setups and executables. it's called installanywhere and can be found on the site www.zerog.com.

Similar Messages

  • My listing program can't execute normally, Please HELP me

    Hello,
    I am in trouble, this is my listing program:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    class Server extends JFrame implements DocumentListener, ActionListener
         private JPanel panel1;
    private JPanel panel2;
    private JTextField field1;
    private JTextField field2;
    private JTextField field3;
    private JLabel label1;
    private JLabel label2;
    private JLabel label3;
         private JButton button1;
    private JButton button2;
    private JOptionPane pane1;
         public Server()
              super("Server");
              setTitle( "Port" );
              setSize( 640, 480 );
              setBackground( Color.gray );
              JPanel topPanel     = new JPanel();
              topPanel.setLayout(new GridLayout(2,2));     
              getContentPane().add( topPanel );
              panel1.setLayout(null);
              panel2.setLayout(null);
              /* --- Panel Message Server --- */
              // Components
              JTextField field1 = new JTextField();
              field1.setBounds(150,40,100,25);
              field1.setFocusAccelerator('a');
              panel1.add(field1);
              JLabel label1 = new JLabel("Port Number:");
              label1.setBounds(60, 40, 260, 20);
              label1.setLabelFor(field1);
              label1.setDisplayedMnemonic('A');
              panel1.add(label1);
              Border etched;
              etched = BorderFactory.createEtchedBorder();
         TitledBorder title;
         title = BorderFactory.createTitledBorder(etched, "Message Server");
    title.setTitleJustification(TitledBorder.LEFT);
    panel1.setBorder(title);
    topPanel.add(panel1);
              /* --- Panel Radius Server --- */
              // Components
              JTextField field2 = new JTextField();
    field2.setBounds(170, 40, 100, 25);
    field2.setFocusAccelerator('b');
              panel2.add(field2);
              JLabel label2 = new JLabel("Authorized Port:");
              label2.setBounds(60, 40, 260, 20);
              label2.setLabelFor(field2);
              label2.setDisplayedMnemonic('B');
              panel2.add(label2);
              JTextField field3 = new JTextField(10);
              field3.setBounds(170, 80, 100, 25);
              field3.setFocusAccelerator('c');                         
    panel2.add(field3);
              JLabel label3 = new JLabel("Account Port:");
              label3.setBounds(60, 80, 260, 20);     
              label3.setLabelFor(field3);
              label3.setDisplayedMnemonic('C');
              panel2.add(label3);
    Border etched2;
              etched2 = BorderFactory.createEtchedBorder();
         TitledBorder title2;
         title2 = BorderFactory.createTitledBorder(etched2, "Radius Server");
    title2.setTitleJustification(TitledBorder.LEFT);
    panel2.setBorder(title2);
    topPanel.add(panel2);
              /* --- Button components --- */
              JPanel leftcolumn3 = new JPanel();
              leftcolumn3.add(button1);
              button1.setEnabled(false);
              JPanel rightcolumn3 = new JPanel();
              rightcolumn3.add(button2);
              JPanel ButtonPanel = new JPanel();
              //ButtonPanel.setLayout(new BorderLayout());
              ButtonPanel.add(button1);
              ButtonPanel.add(button2);
              topPanel.add(ButtonPanel);
         // Add a document listener to the first field
              Document document =     field1.getDocument();
              document.addDocumentListener( this );
         // Handle keyboard accelerators
         public void     actionPerformed( ActionEvent e )
              // Get the source of the action event
              JLabel label = (JLabel)e.getSource();
              // Give the associated component the focus
              Component fieldComponent = label.getLabelFor();
              fieldComponent.requestFocus();
         // Handle insertions into the text field
         public void     insertUpdate( DocumentEvent event )
              String     sString     = field1.getText();
              try     
                   int     iValue = Integer.parseInt( sString );
                   button1.setEnabled( true );
              catch( NumberFormatException e )
                   JOptionPane.showMessageDialog(pane1,
    "Invalid password. Try again.",
    "Error Message",
    JOptionPane.ERROR_MESSAGE);
         // Handle deletions     from the text field
         public void removeUpdate( DocumentEvent event )
              // Prevent the user     from entering a blank field
              if(     field1.getText().length() == 0 )
                   button1.setEnabled( false );
              else
                   // Do the same error checking as insertUpdate()
                   insertUpdate( event );
         // Handle changes to the text field
         public void changedUpdate( DocumentEvent event )
              // Nothing to do here
         public static void main( String args[] )
              // Create an instance of the test application
              Server window     = new Server();
              window.setVisible( true );
    If I execute this file will appear command like:
    " Exception in thread "main" java.lang.NullPointerException
    at server.<init><server.java:39>
    at server.main<server.java:188> "
    Would you help me? please get out me from this problem.
    thank's

    If I execute this file will appear command like:
    " Exception in thread "main"
    java.lang.NullPointerException
    at server.<init><server.java:39></server>
    at server.main<server.java:188></server> "The first thing you need to do is take a look at line 39 in server.java. This is where you are getting your NullPointerException. At a guess I'd say its the following line
    panel1.setLayout(null);You don't appear to be assigning any value to panel1 before trying to call a method on it.
    Col

  • RFC Destination with other Environments and Execute. Please help

    Hi GURU,
    I have a problem and I would like your help.
    I'm new at Abap and I'm trying to develop an application from ABAP to connect to an environment of java.
    I watched how to do this in various forums and the help of SAP, but just as I have found make the connection.
    In java I have already developed the server side and I have developed a ABAP function. But is not exactly how it works.
    Can you give me an example of how to send data from the sap application to java? Or give me any manual please.
    Another problem is,
    As I record the RFC destination?
    When I run a BAPI ABAP occurs to me the following error:
    RfcExecProgram'#Win32 error 2
    Because it can be?
    Thank you very much in advance
    RAFA

    The (Alesis Digital Audio Tape) ADAT optical I/O gives 8 channels up to 48Khz 24bit and 4 I/O at 88.2, 96 Khz... this are the technical specifications for this connectors!
    http://www.nationmaster.com/encyclopedia/ADAT
    If you need to use 8 ADAT I/O at 88.2/96 you need to buy device such as
    Yamaha MY16at (for Yamaha Digital Mixer) http://www.studiocare.com/store/index.php?mainpage=product_info&productsid=62346
    and similar devices
    ... or Motu 828MK3 that comes with 2X ADAT I/O....
    Motu 828MK3 is able to work with up to 8 ADAT channels at 88.2/96 and up to 16 ADAT I/O at 44.1/48.
    BUT... Apogee Ensemble comes with only 1X ADAT I/O... so you can use up to 4X 88.2 I/O channels and you need a second Ensemble unit for reach 8 ADAT I/O.
    Optical connectors can be used also for 2 I/O at 192Khz...
    in this case this kind of connection will be named as TosLink, even if it uses the same ADAT plug.
    cheers
    G

  • SAXException while executing ,so  please help me out?

    Hi
    I have used the pgm below code to parse a file using dom parser
    import org.w3c.dom.*;
    import javax.xml.parsers.*;
    import java.io.*;
    public class Mahe3
    public static void main(String arg[])
    try{    
         System.out.println("debug 1");
    String xmlFile = "mahe1.html";
         System.out.println("debug 2");
    // Step 1: create a DocumentBuilderFactory
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
         System.out.println("debug 3");
    // Step 2: create a DocumentBuilder
    DocumentBuilder db = dbf.newDocumentBuilder();
         System.out.println("debug 4");
    // Step 3: parse the input file to get a Document object
    Document doc = db.parse(new File(xmlFile));
         System.out.println("debug 5");
    }catch(Exception ee)
         {ee.printStackTrace();}
    =======================
    ERROR:
    I am getting the error message at runtime as like
    D:\xml>java Mahe3
    debug 1
    debug 2
    debug 3
    debug 4
    org.xml.sax.SAXParseException: Value must be quoted.
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
    at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
    at org.apache.crimson.parser.Parser2.parseLiteral(Parser2.java:694)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1399)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
    at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
    at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
    at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
    at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
    at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:197)
    at Mahe3.main(Mahe3.java:21)
    So overcome this error msg what I should do change with the above code.
    please Any one help me out from this problem..
    Thanks and Regards,
    Mahesh.

    Hi DrClap,
    Thanks for your help,there was some wrong enteries in xml file,Just I corrected it,now it's working fine.
    And one more help from you can you ping me some relevant URLs to see examples for Dom and Sax parsers.
    Awaiting for your reply.
    Regards,
    Mahesh.

  • Getting ORA-19011 while executing deleteXML - please help

    Hello,
    I try to execute a deleteXML query of the following format:
    UPDATE MyTableName
    SET OBJECT_VALUE = deleteXML(OBJECT_VALUE,
    '/RootNode/Property[@type="MyPropertyType"]/Entry[contains(./text(), "myTextToFind")]')
    WHERE existsNode(OBJECT_VALUE,'/RootNode/Attributes/Attribute[@name="MyAttributeName" and @value="MyAttributeValue"]') = 1
    AND extract(OBJECT_VALUE, '/RootNode/Property[@type="MyPropertyType"]/Entry') LIKE '%myTextToFind%';
    This is working fine when the content of /RootNode/Property[@type="MyPropertyType"]/ is just few entries.
    But when the number of entries begins to increase I get a ORA-19011 error (string buffer too small).
    Does anybody knows how to put that to work?
    Thank you for your help.

    Replace "AND extract(OBJECT_VALUE, '/RootNode/Property/Entry') LIKE '%myTextToFind%'"
    with this "AND extractValue(OBJECT_VALUE, '/RootNode/Property/Entry') LIKE '%myTextToFind%'"
    extract() returns xml fragment (all /RootNode/Property/Entry elements are concatenated) and it is converted to varchar2 to compare your like expression.

  • There is no dwarfdump executable defined - Please help

    Getting this error message when I try to use the Application Loader to send the distribution-viewer.zip to Apple. What can be done to resolve it?
    I use Mac OS X 10.6.8, and  Application Loader 2.5.1.

    You need to "Software Update" on MAC and install the latest xCode.
    “After installation find  “Application Loader.app” icon in the /Developer/Applications/Utilities or /Applications/Xcode.app/Contents/Applications folder.
    Read the Software License Agreement, and then click Accept. Application Loader opens the “Welcome to Application Loader” window.”
    Upload your distribution-viewer.zip
    Cheers

  • Minisap 4.6 d problem please help

    have installed the minisap 4.6d system in the windows 200 prof os.
    i had the following problem in my minisap access.
    while Displaying table contents with transactions SE11 or SE16
    gives an error "No changes on SAP objects allowed".
    while Accessing the logical database F1S gives a syntax error because the
    include DBF1SF01 is missing.
    after doing dbenv.cmd ,when try r3trans
    <b>C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    'R3TRANS' is not recognized as an internal or external command,
    operable program or batch file.</b>
    hope there was some problem here only,but to continue i have pasted the r3trans in the folder C:\MBS\TRANS\TMP
    <b>C:\MBS\TRANS\TMP>r3trans -i mbscorr01042000
    This is R3TRANS version 6.05 (release 46D - 04.10.00 - 09:16:00).
    2EETW169 no connect possible: "connect failed with DBLI_RC_LOAD_LIB_FAILED."
    R3TRANS finished (0012).</b>i couldn't execute r3trans,
    please help me to impoort the mbs_batch1 file for se11 and se16

    In <b>MiniSap</b> you got two users <b>BCUSER</b> (For Development) and <b>DDIC</b> (for table mantenience).
    You can't mix the functionality of both...I tried...but failed -:P
    Greetings,
    Blag.

  • Query Performance Please Help

    Hi can any body tell me how do I improve the performance of this query.This query takes forever to execute.
    PLEASE HELP
    select substr(d.name,1,14) "dist",
    sum(r.room_net_sq_foot) "nsf",
    sum(r.student_station_count) "sta",
    sum(distinct(r.cofte)) "fte"
    from b_fish_report r,
    g_efis_organization d
    where substr(r.organization_code,-2,2) = substr(d.code,-2,2) and
    d.organization_type = 'CNTY' and
    r.room_satisfactory_flag = 'Y' and
    substr(d.code,-2,2) between '01' and '72'
    -- rownum < 50
    group by d.name, r.organization_code
    order by d.name
    It has nonunique Indexes on Organization code
    Thanks
    Asma.

    Asma,
    I tried your SQL on my tables T1 and T2. Indexes are on C1,C2,C3 and N1,N2,N3. The data in T1 and T2 are shown below with the explain plan (also called EP) listed. You really need to do an explain plan (free TOAD is easiest to do this in) and respond showing your EP results.
    By simply changing the optimizer mode to RULE I was able to get it to use indexes on both T1 and T2.
    T1 data
    C1     C2     C3     N1     N2
    001     Y     AAA     1     11
    002     Y     BBB     2     22
    003     Y     CCC     3     33
    111     N     DDD     4     44
    222     N     EEE     5     55
    333     Y     FFF     6     66
    070     Y     GGG     7     77
    071     N     HHH     8     88
    072     Y     III     9     99
    TEST     TEST     TEST     10     100
    T2 data
    C1     C2     C3     N1     N2
    001     CNTY     AAA     1     11
    002     CNTY     BBB     2     22
    003     CNTY     CCC     3     33
    111     XXX     DDD     4     44
    222     XXX     EEE     5     55
    333     CNTY     FFF     6     66
    070     CNTY     GGG     7     77
    071     XXX     HHH     8     88
    072     CNTY     III     9     99
    TEST     TEST     TEST     10     100
    This is the results when I run the SQL based on this data ...
    dist     nsf     sta     fte
    AAA     1     11     10
    BBB     2     22     20
    CCC     3     33     30
    FFF     6     66     60
    GGG     7     77     70
    III     9     99     90
    --[SQL 1] : with CHOOSE as the optimizer mode, which is normally the DEFAULT if no hint is specified
    select /*+ CHOOSE */
    substr(d.c3,1,14) "dist",
    sum(r.n1) "nsf",
    sum(r.n2) "sta",
    sum(distinct(r.n3)) "fte"
    from t1 r, t2 d
    where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
    d.c2 = 'CNTY' and
    r.c2 = 'Y' and
    substr(d.c1,-2,2) between '01' and '72'
    group by d.c3, r.c1
    order by d.c3
    This is what the EP shows for your SQL (which will probably be the same for you once you do an EP on your actuall sql) ...
    SELECT STATEMENT Optimizer=CHOOSE (Cost=4 Card=1 Bytes=37)
    SORT (GROUP BY) (Cost=4 Card=1 Bytes=37)
    NESTED LOOPS (Cost=2 Card=1 Bytes=37)
    TABLE ACCESS (FULL) OF T1 (Cost=1 Card=1 Bytes=12)
    TABLE ACCESS (BY INDEX ROWID) OF T2 (Cost=1 Card=1 Bytes=25)
    INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
    Notice the FULL table scan of T1 which you don't want, and neither C1 index is getting used (I've explained why below).
    --[SQL 2] : only changed the hint to RULE ...
    select /*+ RULE */
    substr(d.c3,1,14) "dist",
    sum(r.n1) "nsf",
    sum(r.n2) "sta",
    sum(distinct(r.n3)) "fte"
    from t1 r, t2 d
    where substr(r.c1,-2,2) = substr(d.c1,-2,2) and
    d.c2 = 'CNTY' and
    r.c2 = 'Y' and
    substr(d.c1,-2,2) between '01' and '72'
    group by d.c3, r.c1
    order by d.c3
    SELECT STATEMENT Optimizer=HINT: RULE
    SORT (GROUP BY)
    NESTED LOOPS
    TABLE ACCESS (BY INDEX ROWID) OF T2
    INDEX (RANGE SCAN) OF I_NU_T2_C2 (NON-UNIQUE)
    TABLE ACCESS (BY INDEX ROWID) OF T1
    INDEX (RANGE SCAN) OF I_NU_T1_C2 (NON-UNIQUE)
    Though the C2 index is getting used (your r.c2 = 'Y' part in the where clause) the main problem your having here is the JOIN column (C1 in both tables) is not getting used. So the join you have ...
    where substr(r.c1,-2,2) = substr(d.c1,-2,2)
    isn't using an index and you want it too. There are 2 solutions to correct this..
    Solution #1
    The first is to make a function-based index for data. Since your doing SUBSTR on C1 that C1 index does not contain that partial information so it will not use it. Below is the syntax to make a function based index for this partial data ...
    CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2));
    CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2));
    or also this way if it's still not using the above indexes ...
    CREATE INDEX I_NU_T1_C1_SUBSTR ON T1 (SUBSTR(C1,-2,2),C1);
    CREATE INDEX I_NU_T2_C1_SUBSTR ON T2 (SUBSTR(C1,-2,2),C1);
    Solution #2
    The second solution is to make another column in both table and place this 2 digit information in it, and then index this new column. That way the join will look like ...
    where r.c_new_column = d.c_new_column
    and
    r.c_new_column between '01' and '72'
    also with this new column the BETWEEN clause at the end you will not need the substring as well. Also remember BETWEEN on character values is different than numbers.
    Final Notes
    I just tried creating the functional index and I can't get it to be used it for some reason (I might not have the right amount of data), but I really think that is your best option here. As long as it uses the functional index you won't have to change your code. You might want to try using INDEX() in the hint to get it to be used, but hopefully it will use it right away. Try all 4 types of optimizer modes (CHOOSE, RULE, ALL_ROWS, FIRST_ROWS) in your primary hints to see if it will use the new function-based index.
    You really do need to get explain plan going. Even if you make these functional indexes you won't know if its going to be using them until you look at the EP results. You can do EP manually (the SQL of how to produce the results is in OTN, though I find free TOAD is by far the easiest) and you will still need to have run the utlxplan.sql script. Oracle I do think has some GUI tools, maybe in OEM, that have explain plan built in as well.
    I hope this helps ya,
    Tyler D.

  • I cann't execute javac with parameters. please help !!

    Hi All!!
    I can't understand how to execute application or bat file (javac.exe for example) WITH parameters correctly.
    I can execute javac.exe or bat file - WITHOUT parameters :
    Process p = Runtime.getRuntime().exec(WIN_PATH + " " + WIN_FLAG + " " + "javac.exe");
    But I can't execute correctly the command like:
    "javac.exe -classpath C:\Alex; Test.java"
    I tried to use exec(str,env[]) and exec(cmd[]) methods, but there were different errors as a result :(((
    How can I execute the command "javac.exe -classpath C:\Alex; Test.java" ? Is it possible?
    Please help me by a good idea.
    Thank you.

    right you are! That's why we use "\\" instead "\" :)
    If i try to execute this command -
    cmd=WIN_PATH + " " + WIN_FLAG + " " + "c:/j2sdk1.4.0/deleteMe/javac.exe -classpath C:/WORK/jboss-3.0.3/client/jboss-j2ee.jar;S:/Alexander/jars/sys.jar;S:/Alexander/jars/ejb_conf_dev.jar;S:/Alexander/jars/; C:/j2sdk1.4.0/deleteMe/aaBean.java";
    my OS Windows 2000 returns na error - "Error opening icon..."
    What's wrong?
    Thank you...

  • To all of my friends in fb: please help me in blocking my stolen Ipad3 SN: DY******VD1 thanks so much, I would greatly appreciate if culprit would learn his lesson!

    To all of my friends in fb: please help me in blocking my stolen Ipad3 SN: DY*****VD1 thanks so much, I would greatly appreciate if culprit would learn his lesson!
    <Edited by Host>

    Apple does not track nor block iPads. If it was equipped to access
    cellular, report it to your cellular provider. Report the loss to your
    local police. If covered by your insurance, report to your insurance
    company.
    Immediately change all of your passwords.
    If you had previously set it up, you may be able to track it via
    Find my iPhone.
    Texas Mac Man has some excellent links in this thread:
    https://discussions.apple.com/thread/4869627?tstart=270
    Message was edited by: imobl added link to Texas Mac Man post

  • Wat is wrong in this decode function, it doesn get executed,please help me

    wat is wrong in this decode function, it doesn get executed,please help me
    decode(DVI.COMPANY||'.')||
                                            DECODE(DVI.COST_CENTRE||'.')||
                                            DECODE(DVI.ACCOUNT||'.')||
                                            DECODE(DVI.LOCATION||'.')||
                                            DECODE(DVI.PRODUCT||'.')||
                                            DECODE(DVI.FUTURE)company_id,

    Hi,
    I could not understand what you are trying to do with decode here.
    The standard way of using the decode is like :
    SQL>SELECT DECODE (1 , 1 ,'TRUE','FALSE') FROM DUAL;
    DECO
    TRUE
    1 row selected.
    1* SELECT DECODE (1 , 0 ,'TRUE','FALSE') FROM DUAL
    SQL>/
    DECOD
    FALSE
    1 row selected.
    Please explain what you want to do with DECODE ?
    Regards

  • Fagll03 is taking more 45 minutes to execute please help is it justified...

    Dear Gurus
    Our fagll03 report  is taking more than 40 minutes to execute with 4 company codes one year data and one g/l local receivables...
    its been almost 2 and a half year since we have gone live...the result is some 150,000 line items...
    basis consultant is saying that its normal with this report...
    please tell is this answer justified... and could you please tell me how long it is taking within that much parameters of data as I have mentioned above...
    Please help its needed urgently
    Regards
    Salar...

    Dear Susan
    Could you please provide the link to the appropriate forum.
    thx
    Salar

  • How to check if my IMP parfile is okey without executing.please help.

    Hi guyz,
    please tell me how can i check my IMP parfile without executing it.
    one of my colleagues told that it can be done but he did,nt tell how :-(
    please help.
    Thnxxxxx in advance,
    Navneet Kaur

    Hi Navneet,
    You might get more help with this if you post to the database forum (General Database Discussions
    From recollection I think it will depend on what you have in your parfile - if your parfile ONLY specifies what tables to import i.e. tables=table1,table2 etc
    then use the following command:
    imp username/passord file=mydmpfile.dmp parfile=myparfile.par show=y
    and this will list what would be imported without actually doing anything.
    Lawrence

  • Executing web service operation with complex input - Please help

    Hi All,
    I am working on invoking a web service through ADF. The request format for the webservice consists of multiple occurance of same element. Below is sample request. here <index> is repeating n number of times.
    <soapenv:envelope>
    <soapenv:Body>
              <ns6:StoreDocumentRequest>
                   <ns6:docFileType>ABC</ns6:docFileType>
                   <ns6:Metadata>
                        <ns6:index>
                             <ns6:indexType>Format_Type</ns6:indexType>
                             <ns6:indexValue>ACROBAT</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Buyer_No</ns6:indexType>
                             <ns6:indexValue>1234567</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Document_Type</ns6:indexType>
                             <ns6:indexValue>101A</ns6:indexValue>
                        </ns6:index>
                        <ns6:index>
                             <ns6:indexType>Capture_Location</ns6:indexType>
                             <ns6:indexValue>XYZ</ns6:indexValue>
                        </ns6:index>
                   </ns6:Metadata>
                   <ns6:Content>XXXXXXXXXXXX</ns6:Content>
              </ns6:StoreDocumentRequest>
         </soapenv:Body>
    </soapenv:envelope>
    now I need to populate these values thrugh Operation binding in my managed bean class. I have also dragged these parameters and operation on my jsf page to get hold of those in my managed bean context. I am having following code in my managed bean to set these parameters.
    BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding storeDocumentBinding = bindings.getOperationBinding("StoreDocument");
    storeDocumentBinding.getParamsMap().put("docFileType", filetype);
    storeDocumentBinding.getParamsMap().put("Content", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.getParamsMap().put("indexType", filecontents);
    storeDocumentBinding.getParamsMap().put("indexValue", filecontents);
    storeDocumentBinding.execute();
    Here I am facing some issues:
    1. The operation is not picking values put from ParamMap(). It is taking values as empty (as in my .jspx page form, I have made it hidden though). It takes value from my jspx page form, which is blank.
    2. when I am manually entering values in the .jspx page form, for <indexValue> and <indexType> tags, it is taking only one value (last one) for creating the request.
    3. the storeDocument() function is a SOAP based service. How can I check for SOAP response after operationBinding.execute(). I checked for response after execution, it sends an object as result. How to get a SOAP response from it.
    I need to fetch few values from the SOAP response and display it on screen.
    Please help me out. I am noob in ADF.
    regards,
    Rajan

    Hi Puthanampatti,
    I followed the link and did exactly as mentioned. Here is my code
    public String downloadDocument(FacesContext context, OutputStream out) throws IOException {
    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    OperationBinding retrieveDocumentBinding = bindings.getOperationBinding("RetrieveDocument");
    DCIteratorBinding attachmentsIterator = (DCIteratorBinding)bindings.get("AttachmentsIterator");
    String documentId = attachmentsIterator.getCurrentRow().getAttribute("Seq").toString();
    System.out.println(customSoapProvider.getRequest()); // getting null here
    AttributeBinding docFileTypeVal = (AttributeBinding)bindings.getControlBinding("docId");
    docFileTypeVal.setInputValue(522117);
    Object result = retrieveDocumentBinding.execute();
    System.out.println(customSoapProvider.getResponse()); //getting null here
    but I am getting a null response in the last line.
    what am I missing here.
    regards,
    Rajan
    Edited by: Rajan M on Jan 5, 2013 11:27 AM

  • How to create windows executable file from a java file. Please help.

    Hi,
    For my project I developed the codes in Java. It is working well with java run time environment. But without that I can not run it. I need to create a exe file (windows executable file) from the java source code. If you have any idea please share it with me.
    Even if you know it very lightly, please help with what you know. That would be a big help for me.
    Thank you very much.

    Does anybody know how to read a manual?
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Please Help!!! error executing procedure and populating to gridview

    I have used a tool to convert my sql 2000 stored procedure to Oracle 10g PL/SQL, here is an example
    SQL 2000 Stored Procedure
    CREATE PROCEDURE [GetEmployees]
    AS
    Select * from EMPMST ORDER BY emp_name
    GO
    After Transformation i got 2 files, one was a procedure and other a package
    CREATE OR REPLACE PACKAGE GLOBALPKG
    AS
         TYPE RCT1 IS REF CURSOR;
         TRANCOUNT INTEGER := 0;
         IDENTITY INTEGER;
    END;
    CREATE OR REPLACE PROCEDURE GetEmployees
         RCT1 IN OUT      GLOBALPKG.RCT1
    AS
    BEGIN
         OPEN RCT1 FOR
         SELECT *
         FROM EMPMST
         ORDER BY emp_name;
    END;
    When i execute the procedure GetEmployees i got this error :
    SQL> execute GetEmployees;
    BEGIN GetEmployees; END;
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'GETEMPLOYEES'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    I am developing a webpage (asp.net using Visualstudio .net 2005 ) where i have a grid view in which i want to display all the output of the GetEmpoyee procedure but it is giving an error.
    Please Help me in debugging this error. Thanks in advance.

    Hi Pruthvi,
    It seems to me the convertion is correct. You need a REF CURSOR and by the Stored Procedure itself without using Package the REF CURSOR cannot specify as OUT output parameter.
    You can use SQL Developer to help you to make sure you put the Package in the right Database Schema.
    http://otn.oracle.com/sqldeveloper
    After you converted the Stored Procedure you need to modify your .NET code as well. The .NET code that calls your old MS SQL Stored Procedure will not work. To see how to involve the REF CURSOR in .NET you can check here:
    http://blogs.oracle.com/MingMan/stories/storyReader$9
    Good Luck
    Ming Man

Maybe you are looking for

  • I have several imap accounts and want to click one button to empty all junk mail at once. How can I do this?

    I currently run Apple Mail on Lion with several IMAP acocunts... I know that there is a right-click option to remove "all deleted" messages  but what If I wanted to do the same for all messages marked at junk in all accounts.  It's really a pain to h

  • WebService Receiver Problem. Pls advice urgent.

    Hi All, I have R/3 (RFC) -- XI -- R/3(WebService) Scenario. Now when I test my WebService in R/3 using wsadmin command it works fine. But If I import my webservice as wsdl file and use it in Soap Receicer Adapter and use XI I get error: <SAP:Category

  • Notes not showing up in presentation mode

    I need help!  I have figured out how to project a separate image to my projection screen and I can see the next slide coming up in my presentation.  My problem now is that I have typed notes in the presentation for myself but they don't show up when

  • Keynote to Iweb question?

    I've completely forgotten how to get a "slide show" built in Keynote 08 exported to my website. Could someone be so kind as to give me a step by step or send me a link with instructions. If I use Export or Send to...then what?? Thanks in advance.

  • Photomerge in photoshop elements 7

    The photomerge path in PSE 7 is not active