Home > Default > Service Form interface with RACF DB2 Databases

Service Form interface with RACF DB2 Databases

November 30Hits:0
Advertisement
We are looking for a way to have service form interface with RACF using DB2 connect. This function is needed to perform data validation against mainframe system. Any advice or instructions of how to implement this is greatly appreciated.

Answers

I am using Weblogic workshop test browser to test this code. My Ws code looks like this.
package WebServ;
public class AsyncWebServ1 implements com.bea.jws.WebService
* @common:control
* @jc:timer repeats-every="30 s" timeout="60 s"
private com.bea.control.TimerControl MyTimerControl;
* This member variable stores the client choice to be sent a callback or not.
public boolean m_useCallback;
* When the callback handler is fired, this boolean is set to true.
* Clients that don't want callbacks check this boolean to see if their result is ready.
public boolean m_messageIsReceived;
public Callback callback;
* @common:control
private Control.xmlDocWSControl xmldocwscontrol;
static final long serialVersionUID = 1L;
private String xmlString = "";
private String strName = "";
* @common:operation
* @jws:conversation phase="start"
public void getWSEmplyeeInfoCON(String aName)
MyTimerControl.start();
xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
return ;
public interface Callback extends com.bea.control.ServiceControl
* @jws:conversation phase="finish"
public void testCallback(String result);
* @common:operation
public void MyTimerControl_onTimeout(long time)
//xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
if(!m_useCallback)
m_messageIsReceived = true;
else
callback.testCallback(xmlString);
MyTimerControl.stop();
return;
* @common:operation
* @jws:conversation phase="continue"
* @jws:protocol form-post="false" form-get="true"
public boolean checkStatus()
return m_messageIsReceived;
* @common:operation
* @jws:conversation phase="finish"
* @jws:protocol form-get="true" form-post="false"
public String getMessageResponse()
return xmlString;
* @common:operation
* @jws:conversation phase="start"
public void requestMessage(boolean useCallback)
m_useCallback = useCallback;
// Start the delay timer.
MyTimerControl.start();
return;
The value of xmlString can be hard coded.
Saju

Read other 5 answers

Tags:

Related Articles

  • Service Form interface with RACF DB2 DatabasesNovember 30

    We are looking for a way to have service form interface with RACF using DB2 connect. This function is needed to perform data validation against mainframe system. Any advice or instructions of how to implement this is greatly appreciated.I am using We

  • Saving Data in SAP and DB2 databaseOctober 11

    Hi All, I have an SAP application in which 10 fields are there for the user to enter. Out this 10 fields i need to save 5 fields in SAP database and another 5 in DB2 database.Please help me how to achieve this. Regards [email protected] Jesse,   The Citadel da

  • Upgrade DB2 database from 9.1 to 10.5November 30

    Dear All, We are using Ecc6 with db2 database 9.1 now we want to upgrade database from 9.1 to 10.5. Is it possible to upgrade database & what are those steps are required for this operation. We are waiting your valuable support in this regards. Regar

  • Cannot connect Oracle 11gR2 to DB2 DatabaseNovember 30

    Hi guys, I gotta some issue connecting from Oracle to DB2. The point in, the connection works from Oracle 10G, but does not from 11G. Check it out: Oracle 10g: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production

  • New in DB2 database administrationNovember 30

    Dear Friends, I have installed ECC 6.0 with DB2 database , at SAP service started successfully. Also login possible. But i am new in DB2 database administration, so can you help me the list of DB2 command to check on OS level. How listener start for

  • Connecting to DB2 Database using JDBC for select/InsertNovember 30

    Hi, I am trying to connect to an DB2 Database using  JDBC adapter, I have build an UDF for the same. The UDF will try to query the database in the form of Select and INSERT.I am using the LOOKUP API provided by SAP.When I try to execute the UDF I hav

  • How to connect application instance to new DB2 database instanceNovember 30

    Hi, Recently we want to transfer the DB2 database instance from old host( db 9.1.7 under windows 2003 r2) to new host( db2 9.7.9 under windows 2008 r2). Currently system is: * ECC 6.0 under NW 7.0 SR3 * DB2 9.1.7 running on windows 2003 r2 64bit. * K

  • DB2 database doesn't start on FailOver server in HANovember 30

    Hi Experts, We have a sap cluster under AIX 6.1 and DB2 , during failover the database may not able to start. is only hold on db2start <-- waiting more than 3 hr no and reply. db2stop <-- waiting more than 3 hr no and reply. db2stop force <-- sti

  • Db2 database monitoringNovember 30

    Hi,    first time i am working db2 database on support project (linux with db2) what are the things i have to monitor on db2 database level daily.appreciate ur help. ThankuQuery seems very generic, info could be found out by googling as well. However

  • Transaction Help ? JMS and db2 database without appserverNovember 30

    We have a Queue and db2 database. need to read the message from queue and write it to the database in a standalone application without appserver. Now question is how to have a single transaction for both the jobs? Please advice!!!If you want to recei

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.698 s.