Service Form interface with RACF DB2 Databases

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 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

Similar Messages

  • Problem to connect Developer Suite forms 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    We cannot help if you don't give us the error number that you get.
    Also something that you might want to do is to search this error number on OTN.

  • Problem Connecting Developer Suite Form 9 with Oracle 9i Database

    Hi,
    I have a problem to connect Developer Suite Release 2 forms 9 with Oracle 9i database release 1. I have done net8 easy configuration but no success. The error is ORA-12514 TNS: Listener could not resolve SERVICE_NAME given in connect descriptor. I am not using any application server. Can any one help me to solve this problem.
    Thanks in Advance
    Nasir Ali Mughal

    Configure the net configuration for both 9idb and 9ids in the same way. Make sure the TNSlisner is started.

  • Error in the  import tab of form interface with parameter name

    Hi Experts,
                    in the import tab of form interface i have define the following..
              Parameter Name               type assignment                  Associated Type
             t_vbrk                                    type                                         vbrk
    and then in a loop i am using this as follows...
    t_vbrl into fs_vbrk
    after executing check i am getting the error 'T_VBRK" is neither specified under "TABLES" nor defined as an internal table.'
    plz help me out with this.....
    why this error is occuring?
    thnks n reagrds,
    Ashmita

    Hi,
    U cannot loop the import tab i think....Give tat one in tables statement and execute..
    t_vbrk type vbrk in Tables tab...
    I think it will solve ur issue..

  • Oracle 6i forms issue with Oracle 9i Database

    Hi Friends,
    I am having Oracle Forms Developer installed with patchset18.The Version is 6.0.8.27.0
    When i connect the forms builder to 9i Database (9.2.0.1) the form builder is getting crashed but i am able to connect the forms builder to e-business suite database(9.2.0.6)
    I tried installing 9i Database(9.2.0.1) on windows 2003 server,windows xp,windows 2000.
    When i connect my forms builder to any of these databases the forms builder is crashing with don't send message error on (ifbld60.exe).
    Is there any compatibility issue between forms builder(6i) and oracle 9i(9.2.0.1).Please suggest me.
    Regards,
    Arun .N

    Forms 6i connects to Oracle 9 databases just fine, even though it is no longer certified by Oracle.
    First of all, can you connect to the database with SQL Plus? Make sure that works first.
    The other thing that comes to mind is the AL32UTF8 character set. Forms 6i and other older Oracle software cannot connect to databases using it. But I have only seen that problem with Oracle 10g databases, so I am not sure about the Oracle 9 db.
    Here is a thread discussing the problem: Re: connecting form 6i  to oracle database 10G express edition

  • Interfacing with AS/400 Database

    Has anyone used the database interconnectivity toolset to interface with an AS/400 Database? Are there any problems interfacing with this database using SQL?

    Although I've not used with AS/400 -- I have successfully used it with ease with Oracle, Ingres, Sybase, as well MS Access. The key is having the correct client drivers loaded. I've connected to DB's on both PC servers as well as mini/mainframes.
    Happy Wiring!

  • Accessing form interfaces with ABAP?

    Hi experts!
    I'm developing an email inbound class and i have to parse the incoming xml-file. To make it generic and more flexible, I want to read all my import fields out of my form interface to process it to my xml-file.
    Can I access my form interface in any way or is that just impossible?
    Thanks & greets,
    Philip

    One can access struct members either via dot-noation if the keys are "valid variable names", or via bracket notation, eg:
    myStruct["myKey"]
    Using bracket notation does not have the valid-variable-name restrictions that dot notation has.
    Adam

  • Problem populating html form fields with data from database.

    I'm using a straight forward piece of code to populate a form with data from a database, to create and 'edit record' page. The code is as follows;
    TO RETREVE THE DATA FROM THE DATABASE;
         $query = "SELECT * FROM $table WHERE newsletter_id = '$newsletter_id'" ;
         mysql_select_db($database) ;
         $result = mysql_query($query, $connect);
         $numRows = mysql_num_rows($result);
         $dbnewsletter_title = mysql_result($result,$i,'newsletter_title');
    TO POPULATE THE FORM FEILD;
    <tr>
              <td width="140"><p class="admin">Newsletter title</p></td>
              <td><input name="newsletter_title" type="text" <? print "value=$dbnewsletter_title";}?> /></td>
            </tr>
    However, when I view the page, the string shows in the text feild, but seems to be split at the point of the first space. So basically only the first word of the string shows in the text field. If I try to print '$dbnewsletter_title' outside of the table, the string is shown in full as it should be.
    Does anyone know what is causing this problem?
    Many Thanks

    Put the value in quotes:
    <?php print "value='$dbnewsletter_title'"; ?>

  • Is it possible to use Oracle Forms 10g with Oracle 10g Lite Database?

    Hi All,
    We are in process of migrating our forms from 6i to 10g environment.
    We have two kinds of applications, one set run on general Oracle 11g database and the other set of forms run at the client machine using Oracle lite database.
    We dont have any problem with Forms 6i to connect to Lite database as it allows to connect through ODBC:DSN names. When we try to connect to a lite database (10gR3) from Forms 10g through ODBC/DSN, it's not allowing and throwing the below error.
    ORA-03121 : no interface driver connected - function not performed
    Can someone tell me if there is something wrong in our approach? Also advise how to use Oracle Lite database with Forms 10G.
    Sincerely,
    Praveen Manthena

    Hi,
    I have experience with 6i with lite database 10g. There are two version of lite database one is multi language support and other one in english. There lang problem in connectivity with multi language 10g lite database. I done connectivity with single language connectivity of 6i with 10g lite database. You should try this one with forms 10g.
    Regards,
    Naveed Ali

  • Database design to support parameterised interface with MS Excel

    Hi, I am a novice user of SQL Server and would like some advice on how to solve a problem I have. (I hope I have chosen the correct forum to post this question)
    I have created a SQL Server 2012 database that comprises approx 10 base tables, with a further 40+ views that either summarise the base table data in various ways, or build upon other views to create more complex data sets (upto 4 levels of view).
    I then use EXCEL to create a dashboard that has multiple pivot table data connections to the various views.
    The users can then use standard excel features - slicers etc to interrogate the various metrics.
    The underlying database holds a single days worth of information, but I would like to extend this to cover multiple days worth of data, with the excel spreadsheet having a cell that defines the date for which information is to
    be retrieved.(The underlying data tables would need to be extended to have a date field)
    I can see how the excel connection string can be modified to filter the results such that a column value matches the date field,
    but how can this date value be passed down through all the views to ensure that information from base tables is restricted for the specied date, rather than the final results set being passed back to excel - I would rather not have the server resolve the views
    for the complete data set.
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    What other options do I have, or have I failed to grasp the way SQL server creates its execution plans and simply having the filter at the top level will ensure the result set is minimised at the lower level? (I dont really want the time taken for the dashboard
    refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    As an example of 3 of the views, 
    Table A has a row per system event (30,000+ per day), each event having an identity, a TYPE eg Arrival or Departure, with a time of event, and a planned time for the event (a specified identity will have a sequence of Arrival and Departure events)
    View A compares seperate rows to determine how long between the Arrival and Departure events for an identity
    View B compares seperate rows to determine how long between planned Arrival and Departure events for an identity
    View C uses View A and view B to provide the variance between actual and planned
    Excel dashboard has graphs showing information retrieved from Views A, B and C. The dashboard is only likely to need to query a single days worth of information.
    Thanks for your time.

    You are posting in the database design forum but it seems to me that you have 2 separate but highly dependent issues - neither of which is really database design related at this point.  Rather you have an user interface issue and an database programmability
    issue.  Those I cannot really address since much of that discussion requires knowledge of your users, how they interface with the database, what they use the data for, etc.  In addition, it seems that Excel is the primary interface for your users
    - so it may be that you should post your question to an excel forum.
    However, I do have some comments.  First, views based on views is generally a bad approach.  Absent the intention of indexing (i.e., materializing) the views, the db engine does nothing different for a view than it does for any ad-hoc query. 
    Unfortunately, the additional layering of logic can impede the effectiveness of the optimizer.  The more complex your views become and the deeper the layering, the greater the chance that you befuddle the optimizer. 
    I would rather not have the server resolve the views for the complete data set
    I don't understand the above statement but it scares me.  IMO, you DO want the server to do as much work as possible since it is closest to the data and has (or should have) the resources to access and manipulate the data and generate the desired
    results.  You DON'T want to move all the raw data involved in a query over the network and into the client machine's storage (memory or disk) and then attempt to compute the desired values. 
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    Correct on the first point, though there is such a thing as a TVF which is similar in effect.  Before you go down that path, let's address the second statement.  I don't understand that last bit about "used as pseudo tables" but that sounds more
    like an Excel issue (or maybe an assumption).  You can execute a stored procedure and use/access the resultset of this procedure in Excel, so I'm not certain what your concern is.  User simplicity perhaps? Maybe just a terminology issue?  Stored
    procedures are something I would highly encourage for a number of reasons.  Since you refer to pivoting specifically, I'll point out that sql server natively supports that function (though perhaps not in the same way/degree Excel does).   It
    is rather complex tsql - and this is one reason to advocate for stored procedures.  Separate the structure of the raw data from the user.
    (I dont really want the time taken for the dashboard refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    DTA has its limitations.  What it doesn't do is evaluate the "model" - which is where you might have more significant issues.  Tuning your queries and indexing your tables will only go so far to compensate for a poorly designed schema (not that
    yours is - just a generalization).  I did want to point out that your refresh process involves many factors - the time to generate a resultset in the server (including plan compilation, loading the data from disk, etc.), transmitting that data over the
    network, receiving and storing the resultset in the client application, manipulating the resultset into the desired form/format), and then updating the display.  Given that, you need to know how much time is spent in each part of that process - no sense
    wasting time optimizing the smallest time consumer. 
    So now to your sample table - Table A.  First, I'll give you my opinion of a flawed approach.  Your table records separate facts about an entity as multiple rows.  Such an approach is generally a schema issue for a number of reasons. 
    It requires that you outer join in some fashion to get all the information about one thing into a single row - that is why you have a view to compare rows and generate a time interval between arrival and departure.  I'll take this a step further and assume
    that your schema/code likely has an assumption built into it - specifically that a "thing" will have no more than 2 rows and that there will only be one row with type "arrival" and one row with type "departure". Violate that assumption and things begin to
    fall apart.  If you have control over this schema, then I suggest you consider changing it.  Store all the facts about a single entity in a single row.  Given the frequency that I see this pattern, I'll guess that you
    cannot.  So let's move on.
    30 thousand rows is tiny, so your current volume is negligible.  You still need to optimize your tables based on usage, so you need to address that first.  How is the data populated currently?  Is it done once as a batch?  Is it
    done throughout the day - and in what fashion (inserts vs updates vs deletes)?  You only store one day of data - so how do you accomplish that specifically?  Do you purge all data overnight and re-populate?   What indexes
    have you defined?  Do all tables have a clustered index or are some (most?) of them heaps?   OTOH, I'm going to guess that the database is at most a minimal issue now and that most of your concerns are better addressed at the user interface
    and how it accesses your database.  Perhaps now is a good time to step back and reconsider your approach to providing information to the users.  Perhaps there is a better solution - but that requires an understanding of your users, the skillset of
    everyone involved, what you have to work with, etc.  Maybe just some advanced excel training? I can't really say and it might be a better question for a different forum.   
    One last comment - "identity" has a special meaning in sql server (and most database engines I'm guessing).  So when you refer to identity, do you refer to an identity column or the logical identity (i.e., natural key) for the "thing" that Table A is
    attempting to model? 

  • Unable to refresh the schema of FIM MA.Getting an error in Event viewer ""the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1"

    Hi,
    We have installed FIM MA with an account that have all the sufficient rights.It got created successfully and worked for Full Import and Full Sync. But, due to some version incompatabilities, we have installed a patch.PFB link for the patch.
    http://support.microsoft.com/en-us/kb/2969673/en-us
    Now, we are trying to refresh the schema of FIM MA. While doing that we are facing an error "Failed to connect to database". The user account with which we are connecting has read and write permissions on DB.In the event viewer some errors are
    logged like  "the current version of database is not compatible with the one expected by Forefront Identity Manager service. The current version of database is : 1116. The expected version is :1122" with event ID 3. PFB images for more detailed
    view.
    Please advice how to fix the issue.
    Thanks
    Prasanthi.

    Hello,
    seems to me that you maybe only updated the syncengine but not portal/webservice.
    I had that error once after an recovery from scratch and forgot one of the hotfixes to apply to all services.
    -Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Not able to open infopath form connected with database in sharepoint 2010

    Hi,
     I have created one infopath form which is connected with sql server database.
    Now when i am trying to open this form from sharepoint,its giving me following error:
    Please help to solve this issue.
    Thanks & Regards
    rajni

    Hello,
    If i understood you correctly, you have SP list and there are some records. Now you want to open your infopath form when clicks on add new item in the same list. I am still confuse about "from table 'Account'" this line. Are you saying that you are fetching
    records from SQL table to PS list?
    Anyway, you can modify the existing list form infopath so you could be able to open the infopath form instead of default newform.aspx page. Later you can create a new data connection in that customize form to display data in table format from same list.
    You can follow this video for connection:
    https://www.youtube.com/watch?v=6NySzgGhnaw
    http://office.microsoft.com/en-us/infopath-help/add-a-data-connection-to-a-sharepoint-document-library-or-list-HP010093160.aspx
    Let me know if i misunderstood you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Mapping in Services Interface with multiple operation... ?

    Hi ALL,
    I have a SOAP to SOAP scenario here Just PI 7.1 with EHP1 acting a bus no mapping nothing .
    1) I have the WSDL file from the receiver system with multiple synchronous operations  in it ..i imported the wsdl as External Definition .. i used the same the WSDL file to create the sender Service interface also...
    when i created the service interface with the operation in it , i just gave the same operation name from the WSDL.this i followed for the sender and receiver service interface.
    1)now the issue is do i need any operation mapping if the service interface has more than one operation ...?
    2) I compelted the scenario without any operation mapping ..but i am getting this error ..Problem occurred in receiver agreement for sender -ICRM_D to receiver -EXACTTGETWEBSERVICE_D,http://ICRMtoExactTaetWebservice.com.si_os_ICRM_EXACTTETWEBSERVICE: No standard agreement found for , ICRM_D, , EXACTTARGEBSERVICE_D, http://ICRMtoExactarebservice.com, si_os_ICRM_EXACGETWEBSERVICE..?
    pls help me in this issue..
    Thanks
    Souz

    you might want to read this /people/shabarish.vijayakumar/blog/2010/09/08/service-interface-and-multiple-operations--is-it-just-an-hype
    you will need to create additional configurations for multiple operations to be supported

  • Service interface with more than one operation

    Hi all,
    is it possible to have a service interface with more than one operation?
    I have found this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0209118050DB10459657028039341762End?blog=/pub/wlg/15123
    But this sentence:
    ABAP proxy (inbound/ outbound) cannot be developed out of a Service Interface having Operations with different type of messages included. If an ABAP proxy is to be developed then all the messages included should be of one type i.e. either the included messages should be Message Type, External Message, IDOC or RFC Message. This behavior can be observed when a Service Interface is created and then subjected for a check
    regards

    Hi,
    now the interface is running but I get another error in .NET.
    "The header 'Diagnostic' from the namespace 'http://sap.com/xi/XI/Message/30' was not understood by the recipient of this message, causing the message to not be processed.  This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process.  Please ensure that the configuration of the client's binding is consistent with the service's binding. "
    Any ideas?
    regards

  • Issues with universes for AS400 DB2 databases

    I create Business Objects universes and Webi reports accessing data from AS400 DB2 databases (via ODBC). I have a couple of queries that I have been having trouble resolving. I hope someone in the forum is working on a similar set-up.
    My queries are as follows:
    1. If I have 2 different libraries with identical set of tables (physical files), after creating a universe in designer based on the tables in one library, is there an automated way to create another identical universe pointing to or referring to the 2nd library?  Every physical file and field structure within it are the same. The only difference is that they are located in 2 different libraries, containing different data.
    2. For physical files with 'multiple members', the reports generated by Business Objects seem to only access the data in the first member of the file. Is there a setting where this behavior can overidden or by passed.  I think 'multiple members' is a characteric that unique to tables in AS400 DB2.
    Would really appreciate the help! Thanks!

    Since it doesn't appear the Online Capture for DB2 is supported, I am trying to work around this and do the Offline capture.
    I copied the generated files from the Offline Capture option (startDump.sh,getForeignKeys.sh,getProcedures.sh, and db2v9.ocp)to the Linux box where the DB2 Database resides.
    After connecting to the DB2 Database (DB2DB1), I entered:
    sh startDump.sh DB2DB1 USRNAME USRPSWD
    to run the script startDump.sh. It produced files:
    Connect.dat
    Schemas.dat
    It also created a subfolder (DB2DB1) containing:
    checkConstraints.dat
    foreignKeys.dat
    indexes.dat
    primarykeys.dat
    routines.dat
    synonyms.dat
    tables.dat
    triggers.dat
    views.dat.
    My question is what do I do with these files? I believe the documentation said that file db2v9.ocp was supposed to be modified, but it wasn’t modified after I ran startDump.sh. Was I supposed to run getForeignKeys.sh and getProcedures.sh, or did startDump.sh already run these? Can anyone provide an example of how this is to be run? The documentation doesn't provide a DB2 example.
    Note: The DB2 Supplement: http://download.oracle.com/docs/cd/E15846_01/doc.21/e15286.pdf doesn't seem to discuss the offline capture. It doesn't reference the startDump.sh file at all.

Maybe you are looking for

  • My iPad 2 display is malfunctioning.

    I am not sure how it happened, at 13:30 on Saturday March 14, 2014 my iPad was working just fine but ten minutes later my iPad began to display black coloring as a bright green, the whites as a bright pink with static, and silvers as white with stati

  • Unable to Meke EXE using VB6 and CW

    I know that I will be a little bit long, but that's the only way to be precise. So please, maybe someone out there can help me, since th NI Knowledge Base didn't ... We use ComponentWorks 2.0.1 and we also got 3.0.1 update. My computer runs Windows98

  • Getting Full rez out to the Broadcast Monitor via Aja IO Express?

    New user of Speedgrade. I have an Aja IO Express connecting to a reference monitor, I am direct linking from a Premiere Pro Timeline and everything looks fine on the timeline and reference monitor through the Aja IO Express in PrePro. I have Mercury

  • Play symbol more than one time

    I have 1 "master"symbol and within a animation This symbol is 2 times on the timeline, hidden at beginning of the timeline there is 2 buttons on the stage with 2 actions first button sym.$("mySymbol1").show(); sym.$("mySymbol1").play(0); second butto

  • Export PDF

    I paid for export pdf online and followed instructions for activating it from Download History- but there is no download link on the page. What am I supposed to do now?