Access UCCX 8.0 database via php

Could you provide details on how to access the uccx 8.0 informix database with the help of php. I want retreive data with the help of sql queries.
Awaiting your reply.
Thanks.

I have not done this exact thing before, but I have done each one of these things at some point or another.  Here is a point in the right direction.
Step 1 - Obtain the Informix ODBC Drivers for your web server
http://www14.software.ibm.com/webapp/download/search.jsp?rs=ifxdl
Step 2 - Create an DSN connection to the database
http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_0/programming/guide/uccx80hradm.pdf
*See Page 4-2
Step 3 - Write PHP code that leverages the DSN and accesses the database
http://www.webcheatsheet.com/PHP/odbc_connection.php
Optional - Get familiar with the database schema
http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_7_0/user/guide/uccx70dbschema.pdf
*There is only a schema guide for 7.0 and then 8.5, so you'll use the 7.0 version in 8.0

Similar Messages

  • Accessing a JD Edwards database via PHP

    Hi,
    Would anyone be able to tell me if it is possible to access a JD Edwards installation via PHP? Our web interface requires JD Edwards integration. If this is possible, where would I find documentation about this?
    Thanks,
    Geoff

    We used IBM DB2Connect software which allows you to use AS400/iSeries native commands. The web developer handled the setup on the application server so I don't have any details on the setup, but your IBM representative should be able to help you or get you in touch with someone who can help you.

  • Submitting Pdf form fields to a MySQL database via PhP

    Hi there,
    I have recently created a Pdf in Adobe LiveCycle which looks great, and I have added a submit button which is set up to send all the form data in HTML to a PhP file on the server side. The PhP file then collects the form data and inserts it into my MySQL database.
    When I run this form from Adobe reader or Professional it works great and the new record is inserted in the database. However I am trying to embed the form into a HTML page, which again looks fine, and all other buttons i.e. Save As, Print work fine.
    The submit button however is not working properly now. It inserts a new record into my database, but the fields are blank as if the form data has not been sent or received?
    Can you possibly advise me where i'm going wrong.
    Much appreciated
    Cane

    Hi Cane,
    I'm relatively new to creating Adobe Forms but I'm looking to do exactly what you have set up, submitting the results to php which sends the results to a database. I don't like the responses being sent to a pdf response file then every so often you have to export to csv then import the results into a database....too tedious. Can you perhaps provide the code that goes behind the submit button and maybe the code that you use on the php/server side? Again, relatively new to this and don't know where to begin but if I can look at the code behind this it would make things a lot easier.
    Thanks,
    Ed

  • "Error while accessing porting layer for ORACLE database via getSessionId()

    Hi,
    My ejb3.0 Entity is created from Emp table in scott/tiger schema of an Oracle 10g database. I am guessing I made some mistake creating the datasource or uploading the driver, because when I run my application, I get a long exception stack trace. The bottom-most entry in the stack trace is:
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing porting layer for ORACLE database via getSessionId().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

    Actually, now (after the GRANT described in my reply before) the Exception has changed to:
    Caused by: com.sap.sql.log.OpenSQLException: Error while
    accessing porting layer for ORACLE database via
    <b>getDatabaseHost</b>().
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException
    (Syslog.java:148)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createPooledConnection(DirectConnectionFactory.java:527)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:158)
         at com.sap.sql.jdbc.direct.DirectConnectionFactory.
    createDirectPooledConnection(DirectConnectionFactory.java:118)
         at com.sap.sql.connect.factory.PooledConnectionFactory.
    createPooledConnection(PooledConnectionFactory.java:119)
         at com.sap.sql.connect.factory.DriverPooledConnectionFactory.
    getPooledConnection(DriverPooledConnectionFactory.java:38)
         at com.sap.sql.connect.datasource.DBDataSourceImpl.
    createPooledConnection(DBDataSourceImpl.java:685)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPool(DBDataSourcePoolImpl.java:1081)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    matchPooledConnection(DBDataSourcePoolImpl.java:919)
         at com.sap.sql.connect.datasource.DBDataSourcePoolImpl.
    getConnection(DBDataSourcePoolImpl.java:67)
         at com.sap.engine.core.database.impl.DatabaseDataSourceImpl.
    getConnection(DatabaseDataSourceImpl.java:36)
         at com.sap.engine.services.dbpool.spi.
    ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:123)
         ... 90 more

  • Populate Livecycle PDF from mySQL database using PHP

    I'm trying to set up a database of loan agreements, where users will submit a form through Acrobat and their information will be stored in a mySQL database. Later, they can go back and download the PDF, which will be repopulated with their data in the mySQL db.
    I made the form in Livecycle Designer and submit the information through HTTP POST. I can easily get the information from the form into the database...my only problem is getting that information back out into the PDF.
    What would allow me to write back to the PDF, preferably using PHP? What kind of syntax would that require?
    Thanks!

    I have a vital form that clients fill out, which is passed to many people in the company along the workflow. The form is a Planner and we have in the following PDF, Word Doc..
    Well before, the Planner.pdf was originally created in Word, since most people have access to Word.. but evolved to a PDF form created from the Word Doc via Adobe LiveCycle Designer 8.0 w/ User Rights enabled so that the form could be filled out and saved using Adobe Reader.. which was a step better than Word.. being that it is free. But this needed to be easier and more to the point b/c some clients don't particularly like installing the latest version of Reader, even if you provide them the link. Nor do they like saving the form, filling the form, and attaching the form to send back.
    My goal is to have the client fill an HTML version of the form, submit and be done with it, but everyone in the workflow be able to easily receive the filled Planner as a PDF form.
    So some months ago I ran into this post Chris Trip, "Populate Livecycle PDF from mySQL database using PHP" #8, 22 Sep 2007 4:37 pm
    which uses the command line Win32 pdftk.exe to merge an FDF file into an existing PDF on the remote server, and serve this to whoever.
    My problem was with shared hosting and having the ability to use the Win32 pdftk.exe along with PHP which is predominantly used on Linux boxes. And we used a Linux box.
    so i created the following unorthodox method, which a client fills the HTML version of the Planner, all field values are INSERTED into a table in MySQL DB, I and all filled planners that have been filled by clients to date can be viewed from a repository page where an XML file is served up of the corresponding client, but someone would have to have Acrobat Professional, to import the form data from the XML file into a blank form.. altoughh this is simple for me.. I have the PHP file already created so that when a Planner is filled and client submits. >> the an email is sent to me with a table row from the repository of the client name, #, email, and a link to d-load the XML file,
    But I also have the PHP files created so that the Planner can be sent to by email to various people in the workflow with certain fileds ommitted they they do not need to see, but instead of the XML file beiong served up i need the filled PDF Planner to be served.
    I can do this locally with ease on a testing server, but I am currently trying to use another host that uses cross-platform compatibility so i can use PHP and the pdftk.exe to achieve this, as that is why I am having to serve up an XML file b/c we use a Linux server for our website, and cant execute the exe.
    Now that I am testing the other server (cross-platform host), just to use them to do the PDF handling (and it's only $5 per month) I am having problems with getting READ, WRITE, EXECUTE permissions..
    Si guess a good question to ask is can PHP do the same procedure as the pdftk.exe, and i can eleminate it.
    or how in the heck can i get this data from the DB into a blank PDF form, like i have described??
    here are some link to reference
    Populating a LiveCycle PDF with PHP and MySQL
    http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL
    HTML form that passed data into a PDF
    http://www.mactech.com/articles/mactech/Vol.20/20.11/FillOnlinePDFFormsUsingHTML/index.htm l
    and an example
    http://accesspdf.com/html_pdf_form/

  • Connect to oracle database with php script

    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin
    null

    Hello
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin<HR></BLOCKQUOTE>
    Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
    These are the steps... Put everything working is a little more complicated...
    FS
    null

  • Restrict Access to Page Using a password.php Instead of Server Behavior

    I previously used "log in" and "restrict access to page" server behaviors for my client portal when I only had one client. I had my username and password stored in mySQL database. I recently have gained more clients that all needed to be redirected to their own customized landing page when logged in. Because of this, I used a password.php to store the usernames and passwords and to redirect to different pages. Now, I am wondering how I can restrict access to these pages (i.e. someone won't be able to access the pages by typing the url) since I will not be connecting to a database anymore.

    I'm also confused by your statements.
    >Now, I am wondering how I can restrict access to these pages
    >(i.e.  someone won't be able to access the pages by typing the url)
    >since I  will not be connecting to a database anymore.
    It doesn't matter where you store the credentials - database or php file - the techniques for restricting access will be similar. I really don't understand why you moved away from the database when you got more clients. The more data you need to manage, the more reason to store it in a database.
    After logging in, most sites direct users to the same page, yet pull user specific data from the database. If for some reason you can't do this and need to built individual pages for each client, then store the 'landing' page for the client in the php file or database. Restrict access to each page by comparing the logged in name with an allowed login name. Or a more dynamic approach would be to dynamically pass the page name to a database query that validates that it's ok for the logged in user to access.
    Also, these questions are more appropriate for the app dev forum.

  • Accessing Data from HTML DB via JDBC

    Hello, I am from Germany so please excuse my following mistakes in english.
    I built a web-application based on JSP, which connects to a local oracle-database 10g. web-server is tomcat. I use the JDBC-Driver from Oracle.
    Now I want to connect not to my local db but to a Oracle HTML DB, which already exists in the domain of my company. I know the workspace, the application-name and everything, which is accessible for an HTML DB admin. but no clue, what's important for connecting the database via JDBC.
    The hostname I got from the URL of HTML DB as well as the port. The main problem is to get the right database-name. I tried the workspace-name -> nothing, tried the application-name -> nothing. Honestly I tried everything, what I found.
    So my questions :
    -> Is there a chance to access the data created and used in the workspaces of the HTML-DB via JDBC (Java Database Connectivity)?
    -> How do I name the Workspace from outside?
    -> Are the login-accounts still applicable when connecting from outside via JDBC?
    I'm looking forward to get your ideas and help
    So far
    Kay

    Your English is very good. The hostname on the URL of HTML DB may not be the host on which the database rests. That is the host of the HTTP server. That server may or may not be the database server.
    Now your questions:
    -> Is there a chance to access the data created and used in the workspaces of the HTML-DB via JDBC (Java Database Connectivity)? What do you mean by "Data created and used in the workspace"? Do you mean the HTML DB repository which contains the application, page, and item definitions? (This is accessible via the schema that HTML DB was installed in.) If you mean the data a user creates when using an HTML DB application, then it is accessible through the application's parsing schema.
    -> How do I name the Workspace from outside? Outside the realm of HTML DB the workspace is not needed.
    -> Are the login-accounts still applicable when connecting from outside via JDBC? When you say "login-accounts" doe the mean the username/password users used to run the HTML DB application? These may or may not be database schemas. They may be HTML DB usernames or network usernames or LDAP usernames.
    I highly recommend you contact the DBA of the database you are trying to connect to and explain what you are doing. You should also contact the developer of the HTML DB application. They should be able to provide you with all the information you need.
    Mike

  • Connecting to Cloud Databases via Third Party

    Hello,
    Is it possible to connect to a Cloud Database via a third party database application....like Navicat?
    Thank you
    Brad

    Hi Brad -
    The only way to access data and logic in an Oracle Database Cloud Service is through an Application Express application running in the Service, a Java application running in the Java Cloud Service, or with RESTful Web Services. If any application can fit into one of these categories, they can use the Service.
    Hope this helps.
    - Rick Greenwald

  • How could I synchronize databases via web services

    I have two web sites. The first has been build in jsp. The second has been build in php. Each of these sites has database mysql.
    I have managed to communicate these two web sites via web services.
    I would like someone to tell me how could I syncronize these two databases via web services. There is something specific procedure?
    Thanks in advance, sorry for my bad English

    If you can explain us what you actually looking for, then I can extend my help.As we are also using websites in jsp which is having DB connections.
    Cheers
    Rajesh R

  • Problem while accessing object in remote database

    Hi All,
    We have a procedure "UPDATE_CONV_DETAILS" created in the remote databse in the "apps" schema. The synonym for the procedure is created in the billing schema(present in the remote database). A dblink is created the local database through which we are tring to access the remote object "UPDATE_CONV_DETAILS".
    Dblink script:
    create public database link PRE_TO_CEL
    connect to BILLING
    identified by BILLING
    using 'MAP1';
    When trying to access the object from the local machine using the schema name.object_name it works fine:
    SQL> DESC APPS.UPDATE_CONV_DETAILS@PRE_TO_CEL
    PROCEDURE APPS.UPDATE_CONV_DETAILS@PRE_TO_CEL
    Argument Name Type In/Out Default?
    IN_MOBILE VARCHAR2 IN
    IN_SERVICE_CODE VARCHAR2 IN
    IN_STATUS VARCHAR2 IN
    OUT_ERROR_CODE NUMBER OUT
    But when trying the access the same object using the synonym_name it gives the error:
    SQL> DESC UPDATE_CONV_DETAILS@PRE_TO_CEL
    ERROR:
    ORA-04043: object APPS.UPDATE_CONV_DETAILS does not exist
    Regards,
    Kirti

    You have two schema.
    apps
    billing
    both reside in remote database.
    there on procedure and on procedure u create one synonym and u want to access it.
    ur remote database name is "map1"
    on ur local database ur create one dblink to access remote database.
    ORA-04043: object string does not exist
    Cause: An object name was specified that was not recognized by the system. There are several possible causes:
    - An invalid name for a table, view, sequence, procedure, function, package, or package body was entered. Since the system could not recognize the invalid name, it responded with the message that the named object does not exist.
    - An attempt was made to rename an index or a cluster, or some other object that cannot be renamed.
    Action: Check the spelling of the named object and rerun the code. (Valid names of tables, views, functions, etc. can be listed by querying the data dictionary.)

  • PL/SQL program not working when connect database via SqlNet

    Hi,
    This is a segment of a PL/SQL program before opening a cursor using input descriptor. It is working fine ( to get the value of unOutputCount ) without connect to a database via SqlNet, can anyone tell me why it is not working ( unOutputCount return 0)while connecting to a database via SqlNet and how to make it work without opening a cursor before DESCRIBE OUTPUT ...?
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'input_111'
    WITH MAX 100;
    EXEC SQL ALLOCATE DESCRIPTOR GLOBAL 'output_111'
    WITH MAX 100;
    EXEC SQL PREPARE STMT1 FROM :psSqlStatement;
    EXEC SQL DECLARE CURSOR1 CURSOR FOR STMT1;
    EXEC SQL DESCRIBE INPUT STMT1
    USING DESCRIPTOR GLOBAL 'input_111';
    /* Get count of input parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'input_111' :unInputCount = COUNT;
    EXEC SQL DESCRIBE OUTPUT STMT1
    USING DESCRIPTOR GLOBAL 'output_111';
    /* Get count of output parameters in statement */
    EXEC SQL GET DESCRIPTOR GLOBAL 'output_111'
    :unOutputCount = COUNT;

    Hi,
    Welcome to Oracle OTN Forums!
    I changed your code a little. I think this help you
    CREATE OR REPLACE
    PROCEDURE xx_test
    IS
      v_pid VARCHAR2(100);
      v_cn  VARCHAR2(100);
      v_id  VARCHAR2(1000);
      v_val VARCHAR2(1000);
      CURSOR C1
      IS
        (SELECT product_id, 'PRODUCT_ID'  cn
            FROM product1 );
      BEGIN
        FOR V1 IN C1
        LOOP
          FETCH C1 INTO v_pid, v_cn;
          dbms_output.put_line('==== '||v_pid||'==== '||v_cn);
          EXECUTE IMMEDIATE
          'SELECT product_id, DECODE(COUNT (product_id),1,MAX (product_id))||'''||V_CN||''' as val
            FROM product1
           WHERE product_id =:a
           GROUP BY product_id)' INTO v_id, v_val USING v_pid;
          dbms_output.put_line('==== '||v_id||'==== '||v_val);
          EXECUTE IMMEDIATE 'UPDATE product2 SET '||v_cn||' = ' ||''''|| v_val ||''''|| ' WHERE product_id = :b' USING v_pid;
          dbms_output.put_line('++++ '||v_cn||'++++ '||v_val||'++++ '||v_pid);
        END LOOP;
      END xx_test;

  • Configure Synchronization Connections An error has occurred while accessing the SQL Server database

    Hi,
    i am getting following error message
    Central Administration --> Synchronization Connections
    An error has occurred while accessing the SQL Server database or the SharePoint Server Search service.
    If this is the first time you have seen this message, try again later. If this problem persists, contact your administrator.
    Central Administration -->  Manage Profile Service: User Profile Service Application --> Manage User Properties
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 3bce5a11-f2dc-4788
    Please tell how to fix it.
    iffi

    Event ID 5555 -> i have change the Timer jobs recycling time AM to PM
    for  User profile page not display  number of count in the page first check services , connection , 
    IISRESET /NOFORCE   /  timer services restart 
    Deepesh Yevle MCTS

  • Unable to access a windows 7 Workstation via RDP

    Hi,
    I have a windows 7 Pro SP1 workstation that I’m unable to access from any other machine via RDP...
    This is a domain environment.
    The machine in question is 100% up to date. (WSUS)
    It's running an up-to-date anti-virus solution and has been scanned. (Panda cloud) (No firewall)
    This is on a local network, no router involved.
    Can ping the machine, can see network shares.
    Checked that it's listening on the correct port.
    Necessary services are running and are starting correctly.
    Configured RDP correctly and tried different configurations (with and without NLA and adding/removing users)
    This machine seems to be able to RDP into other machines, it just wont accept any sessions.
    Assigning the necessary exclusions in firewall - no effect
    Firewall is disabled by GPO and I have stopped the service - no effect.
    Deleted the computer certificate - no effect.
    uninstalled the RDP 8 update - no effect
    Tried using both the IP and hostname - no difference
    I'm completely out of ideas, no other machine I tested with is having this issue and all the domain machines are running same AV and same GPO's are applied.
    Re-installation is not an option.
    Below is the error - very unhelpful.
    Kind Regards,
    Stephen

    Hi Hinte,
    Here are the results:
    Here is the netstat result - can't see 3389 anywhere:
    Active Connections
      Proto  Local Address          Foreign Address        State           PID
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING       1060
      RpcSs
     [svchost.exe]
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING       4
     Can not obtain ownership information
      TCP    0.0.0.0:623            0.0.0.0:0              LISTENING       4124
     [LMS.exe]
      TCP    0.0.0.0:16992          0.0.0.0:0              LISTENING       4124
     [LMS.exe]
      TCP    0.0.0.0:18226          0.0.0.0:0              LISTENING       2476
     [WAHost.exe]
      TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING       532
     [wininit.exe]
      TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING       1140
      eventlog
     [svchost.exe]
      TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING       1292
      Schedule
     [svchost.exe]
      TCP    0.0.0.0:49185          0.0.0.0:0              LISTENING       624
     [lsass.exe]
      TCP    0.0.0.0:49187          0.0.0.0:0              LISTENING       600
     [services.exe]
      TCP    0.0.0.0:49192          0.0.0.0:0              LISTENING       3268
      PolicyAgent
     [svchost.exe]
      TCP    127.0.0.1:5939         0.0.0.0:0              LISTENING       2360
     [TeamViewer_Service.exe]
      TCP    127.0.0.1:5939         127.0.0.1:49206        ESTABLISHED     2360
     [TeamViewer_Service.exe]
      TCP    127.0.0.1:5939         127.0.0.1:49234        ESTABLISHED     2360
     [TeamViewer_Service.exe]
      TCP    127.0.0.1:49204        127.0.0.1:49205        ESTABLISHED     3856
     [TeamViewer_Desktop.exe]
      TCP    127.0.0.1:49205        127.0.0.1:49204        ESTABLISHED     3856
     [TeamViewer_Desktop.exe]
      TCP    127.0.0.1:49206        127.0.0.1:5939         ESTABLISHED     3856
     [TeamViewer_Desktop.exe]
      TCP    127.0.0.1:49232        127.0.0.1:49233        ESTABLISHED     2660
     [TeamViewer.exe]
      TCP    127.0.0.1:49233        127.0.0.1:49232        ESTABLISHED     2660
     [TeamViewer.exe]
      TCP    127.0.0.1:49234        127.0.0.1:5939         ESTABLISHED     2660
     [TeamViewer.exe]
      TCP    127.0.0.1:49241        0.0.0.0:0              LISTENING       4552
     [UNS.exe]
      TCP    192.168.100.22:139     0.0.0.0:0              LISTENING       4
     Can not obtain ownership information
      TCP    192.168.100.22:49201   92.51.156.72:443       ESTABLISHED     2360
     [TeamViewer_Service.exe]
      TCP    192.168.100.22:49203   197.85.190.46:443      ESTABLISHED     2360
     [TeamViewer_Service.exe]
      TCP    192.168.100.22:49211   192.168.100.5:445      ESTABLISHED     4
     Can not obtain ownership information
      TCP    192.168.100.22:49231   192.168.100.5:49159    ESTABLISHED     1732
     [spoolsv.exe]
      TCP    [::]:135               [::]:0                 LISTENING      
    1060
      RpcSs
     [svchost.exe]
      TCP    [::]:445               [::]:0                 LISTENING      
    4
     Can not obtain ownership information
      TCP    [::]:623               [::]:0                 LISTENING      
    4124
     [LMS.exe]
      TCP    [::]:16992             [::]:0                 LISTENING      
    4124
     [LMS.exe]
      TCP    [::]:49152             [::]:0                 LISTENING      
    532
     [wininit.exe]
      TCP    [::]:49153             [::]:0                 LISTENING      
    1140
      eventlog
     [svchost.exe]
      TCP    [::]:49154             [::]:0                 LISTENING      
    1292
      Schedule
     [svchost.exe]
      TCP    [::]:49185             [::]:0                 LISTENING      
    624
     [lsass.exe]
      TCP    [::]:49187             [::]:0                 LISTENING      
    600
     [services.exe]
      TCP    [::]:49192             [::]:0                 LISTENING      
    3268
      PolicyAgent
     [svchost.exe]
      TCP    [::1]:49179            [::]:0                 LISTENING       2008
     [jhi_service.exe]
      TCP    [::1]:49237            [::1]:49239            ESTABLISHED     4124
     [LMS.exe]
      TCP    [::1]:49239            [::1]:49237            ESTABLISHED     4124
     [LMS.exe]
      UDP    0.0.0.0:123            *:*                                   
    1256
      W32Time
     [svchost.exe]
      UDP    0.0.0.0:500            *:*                                   
    1292
      IKEEXT
     [svchost.exe]
      UDP    0.0.0.0:4500           *:*                                   
    1292
      IKEEXT
     [svchost.exe]
      UDP    0.0.0.0:5355           *:*                                   
    1540
      Dnscache
     [svchost.exe]
      UDP    0.0.0.0:21226          *:*                                   
    2476
     [WAHost.exe]
      UDP    127.0.0.1:50083        *:*                                   
    1400
      gpsvc
     [svchost.exe]
      UDP    127.0.0.1:55096        *:*                                   
    624
     [lsass.exe]
      UDP    127.0.0.1:60632        *:*                                   
    1540
      NlaSvc
     [svchost.exe]
      UDP    127.0.0.1:64416        *:*                                   
    4416
     [IntelSmallBusinessAdvantage.exe]
      UDP    192.168.100.22:137     *:*                                   
    4
     Can not obtain ownership information
      UDP    192.168.100.22:138     *:*                                   
    4
     Can not obtain ownership information
      UDP    [::]:123               *:*                                   
    1256
      W32Time
     [svchost.exe]
      UDP    [::]:500               *:*                                   
    1292
      IKEEXT
     [svchost.exe]
      UDP    [::]:4500              *:*                                   
    1292
      IKEEXT
     [svchost.exe]
      UDP    [::]:5355              *:*                                   
    1540
      Dnscache
     [svchost.exe]
      UDP    [fe80::3447:c85a:1d2d:4ff9%11]:546  *:*                                   
    1140
      Dhcp
     [svchost.exe]

  • Display data in Web DynPro table from database via EJB

    I have a JavaBeans model which has a method populateDataToTable()to retrieve data from database via Session bean (calling entity bean, returning ArrayList of data) and the data needed to be display in the Web DynPro table.
    User Interface (Web DynPro) <-> JavaBeans Model <-> Busineess Logic (session bean) <-> Persistence (Entity Bean)<-> DB table.
    The context bindiing and table part is ok. How do i load the data to the table ? what the coding to put in wdDoInit() ?
    Any help would be appreciated.

    in wdinit(),
    Collection col = new ArrayList();
    try{                    
      MyCommandBean bean = new MyCommandBean();
      col = bean.getDataFromDbViaEJB();
      wdContext.nodeMyCommandBean().bind(col);
    } catch (Exception ex) {
       ex.printStackTrace(ex); 
    in your JavaBean model class, MyCommandBean getDatafromDbViaEJB() method:
    Collection col = new ArrayList();
    Collection newcol = new ArrayList();
    //include your own context initialization etc...
    col = local.getDataViaSessionBean(param);
    // if your returned result also a bean class, reassigned it to current MyCommandBean
    for (Iterator iterator = col.iterator(); iterator.hasNext();) {
        MyOtherBean otherBean=(MyOtherBean)iterator.next();
        MyCommmandBean bean = new MyCommandBean();
        bean.attribute1 = outBean.getAttirbute1();
        // get other attibutes
        newcol.add(bean);
    return newcol;

Maybe you are looking for