Request Form to XML to DB

Does Java provide an easy mechanism0 to translate a request's form values to XML, then easily convert this XML document into a form that can be stored in a relational database?
I'm trying do this with VB and ADO and am running into issues.
Any ideas, or even a sample, would be appreciated.
Craig Buchanan

It's not hard in Java to receive form input and update a relational database... provided you don't require an intermediate XML stage. What's that all about?

Similar Messages

  • How to retrieve Request Form Data in OIM 11g for SOA workflows

    Hi,
    I have a business requirement wherein, I need to retrieve a field's value inside my SOA composite for further processing and decide on the Approver of the Request. Say for e.g. I'm having a field *"Country"* inside my Request Form, and what i need to do is, as soon as the request form is submitted, I need to retrieve the value for *"Country"* attribute inside my SOA Composite using Payload, and further process it. This scenerio is with respect to provision an application instance to a user.
    Now, in a similar scenario, where I was trying to create a user of type *"Contractor"*, I had used Request Service Api to retrieve the Basic information of the userform submitted, and decide on approval. Fortunately, the basic data like, First Name, Last Name, Login etc was successfully being fetched from the Request and I was able to perform further operations.
    Unfortunately, the same code which was working for Creation of a User, is not working when I'm trying to provision an application instance to the user.
    Below is the code which worked fine for me to retrieve basic request data for user creation, and isn't working for provisioning application instance:
    RequestService reqSvc = (RequestService)oimClient.getService(RequestService.class);
    String reqId = ((oracle.xml.parser.v2.XMLElement)getVariableData("inputVariable", "payload", "/ns3:process/ns4:RequestID")).getText();
    System.out.println("request ID: " reqId);+
    Request req = reqSvc.getBasicRequestData(reqId);
    List <RequestEntity> targetEntities = req.getTargetEntities();
    System.out.println("targetEntities : " targetEntities);+
    System.out.println("------------");
    for (RequestEntity rea : targetEntities)
    +{+
    List <RequestEntityAttribute> attributes = rea.getEntityData();
    for( oracle.iam.request.vo.RequestEntityAttribute attribute : attributes)
    +{+  
    System.out.println("Attribute.getName() : " attribute.getName().toString());+
         if(attribute.getName().equals("User Manager"))
         +{+
    beneficiaryManagerKey = attribute.getValue().toString();
         System.out.println("User Manager : " beneficiaryManagerKey);+
    +}+
         e+lse if(attribute.getName().equals("User Login"))+
         +{+
    userid = attribute.getValue().toString();
         System.out.println("User Login  : " userid);+
    +}+
    +}+
    +}+
    Any pointers to this would be of a great help.
    Regards

    List <RequestEntity> targetEntities = req.getTargetEntities();
    System.out.println("targetEntities : " + targetEntities);
    System.out.println("------------");
    The above piece of code retrieves the attributes and their values from the request form while creating a user, but not from the request form, which provisioning a resource to a user.
    Regards,

  • How to automate conversion of PDF forms to XML format

    Hi
    I have created a form using adobe livecycle designer 8. It has a email submit button that will send the form as a pdf file to a server.
    Once the server recevive this pdf file, they will store the pdf file into a local drive. How do I convert the pdf files in the local drive into XML format without actually opening the pdf file in the Adobe Professional and clicking export data as XML?
    Is there a way to write a code to convert these pdf files to XML format automatically?
    Hope someone can help me with this issue
    Regards
    Delvin Khong

    Hi Andersson,
    The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
    Thank a lot for your advice
    Warmest Regards
    Delvin Khong

  • Course of action? Parsing 1000+ PDF forms into XML.

    Hello -
    I am looking to automate the parsing of hundreds of PDF Forms into XML and then do some basic validation. The preferred method would be to drop all of the PDF's into a folder, run a script, and then the PDF's would go to their corresponding directory based on a XML validation test (easy to do once I get the PDF form into XML).
    Now, I have googled all around the web looking for plug ins, scripts, or anything that might accomplish this. Everything that might have a chance of working seems very elaborate and expensive.
    Can anyone recommend plausible, cheap, and quick course of action? Also, the machines that these files are on are very locked down with  security, if that impacts your feedback.
    Greatly appreciated,
    David

    Hi Andersson,
    The request command is a form server command? Where do i type the Request.Form("page.form.field"). I dont really understand your statement on "Use request on the receiving page to get data" Could you help me by explaining more?
    Thank a lot for your advice
    Warmest Regards
    Delvin Khong

  • Call submit request form

    Hi,
    In my custom controller, I want to call the submit request form,
    and pass a specific request id in order to open a XML Publisher report I created.
    I am using the following code:
    com.sun.java.util.collections.HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPPROGRAMPAGE");
    String id = "" + V_Request_ID + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    parameters,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    But my page is not redirecting...without giving any errors...
    Any ideas ?
    Thanks
    Edited by: costas on 29 Μαρ 2011 11:31 μμ

    Hi,
    I used OA.jsp?akRegionCode=FNDCPREQUESTVIEWREGION&akRegionApplicationId=0
    and I'm getting the following error:
    oracle.apps.fnd.framework.OAException: No data found for region (FNDCPREQUESTVIEWREGION).
    Thanks

  • XSQL Equivalent of ASP Request.Form variable

    In ASP, I can get form values from an HTML page using Request.Form. How do I do this in XSQL?
    My intent is to read in the username and password from the login page, and then do authentication to see if they have the credentials to log in.
    If you can please email me any help at [email protected] that'd be great. Thanks!
    Malik Graves-Pryor

    I set the page up exactly as you showed Steven, but I get this error instead:
    <?xml version="1.0" ?>
    - <!-- <?xml-stylesheet type="text/xsl" href="/dvd/dvd.xsl"?>
    -->
    - <database>
    - <xsql-error action="xsql:query">
    <statement>SELECT DISTINCT FIRSTNAME AS "FIRST-NAME", LASTNAME AS "LAST-NAME", EMAIL AS "EMAIL", USERNAME AS "USERNAME", ACCESSLEVEL AS "ACCESSLEVEL", USER_ID, PASSWORD FROM LKUP_USER WHERE USERNAME = ? AND PASSWORD = ? ORDER BY USER_ID</statement>
    <message>ORA-01008: not all variables bound</message>
    </xsql-error>
    </database>I used the bind-params attribute in the manner that you described, and then loaded the XSQL page after submitting the username and password from my index.xhtml page via the action attribute on the form. Did I do something incorrectly?
    Also, how does the SQL statement know which parameter to use for each '?'
    i.e., I bound username and password in bind-params:
    bind-params="username password"
    how then does it know to use the correct value when I do this?
    WHERE USERNAME = ? AND PASSWORD = ?
    One more thing. I'm reading up on bind-params online and right now the only examples that are being shown are when the values are being passed through to the page via the URL, like so: http://www.oracle.com/xsql.xsql?username=Steve&password=Muench
    For obvious reasons, I don't want to include the password string in the URL. If I set this up correctly, the bind-params attribute should allow me to just post the information from my index page's form correct?
    Thanks again. This is invaluable.
    Malik Graves-Pryor

  • Creating an approval workflow for a customized request form

    Hello,
    I have created a customized request form in FIM that users are to fill up and submit for rights request. A workflow is required for for request process from the requester an escalation of approvers for the request to be approved or denied.
    My challenges are:
    Adding a control to my xml configuration file that will allow users to select multiple items, a checkbox feature with a list of rights to apply for
    Creating a workflow for the customized request form, so that the approvers receive mail with the details filled on the form as the body text of the mail.?
    How can I achieve these? I will greatly appreciate your help.
    Regards,
    Josephine

    I would suggest you go through this walkthrough here:
    http://technet.microsoft.com/en-us/library/ee534919(v=ws.10).aspx 
    and this is also very helpful:
    http://blog.msresource.net/2012/07/13/including-who-approved-or-rejected-an-approval-in-its-notification-email/
    - You need an email template with all your custom content
    - you need a notification workflow containing the recipient Information  
    - you need a MPR starting the workflow when the user checks the box
    - FIM needs to know the email attribute of the approver to be able to send the mail
    - the owner Attribute of the Group must be set, this is the recipient of the approval mail in case of the Default owner approval workflow. in your case you set the appropriate Attribute of the group
    - and of cause the Connection between FIM and Exchange must be available. If not, you see a lot of Errors and warnings in the eventlog.
    Henry

  • Standard warning messages in Vendor Request Form

    Hi All,
    Please let us know, how are the standard warning messages in Vendor Request Form while creation/search are displayed.
    For example, I am getting an soft warning message text, at vendor creation which says "Some of the records were not found; for more information, check the log".
    Here we don't have any log traces to be checked for, and we have verified the back end record resultset count which is same, irrelevant of the warning message being shown.
    These messages are displayed only at two places:
    1) The search navigation page, where all the searched record results are displayed and we continue further for creation of vendor workflow.
    2) When the workflow of vendor creation is completed, along with the "Workflow has been completed" success message, this warning message is also shown.
    I want to know, from where these messages are being populated and how to suppress these messages.
    Kindly suggest.
    Thanks in advance!
    Message was edited by: Oxana Noa Zubarev

    Hi All,
    Attaching the screen shot for refernce:
    After we click on "continue with create/edit" button, after few details have been entered, the work flow completes.
    There are we are getting these error message as highlighted above.
    Let me know if any info from my end would help in getting the root cause.
    Thanks in advance.

  • Display Request Form is not triggering in Standard SAP WDA : FITE_REQUEST

    Hi Guru's,
    In our Travel Scenario in NWBC, Once the employee finish the Travel Request he is unable to take print out by clicking on Display Request Form. Nothing is happening when we click on "Display Request Form".
    The Form I am using is FITP_REQUEST_FORM. It is displaying perfectly when I execute via SFP. The problem I am facing is nothing is happening when I click on "Display Request Button" in WDA
    Application:
    FITE_REQUEST
    Application Component:
    FI-TV
    Component:
    FITE_VC_REVIEW
    Window:
    VC_WINDOW
    View:
    REVIEW_VIEW
    Application Component:
    FI-TV
    Give me some lights to solve this issue
    Thanks,
    Namsheed.

    Hi Samuli,
    Issue is solved. It was Program Error from SAP side.
    Now All the buttons are working fine and I am able to print PDF also.
    Solution is implement the note 2031585 - SAP NWBC ABAP Runtime Patch 40.
    System Details : ECC 6.0 NetWeiver 7.4 ,
                                EHP 7 , SP-Level 06
    Thanks a lot for all your suggestions.
    Regards,
    Namsheed.

  • Attachments on the Request Form

    Attachments on the Request Form
    I know you can add file attachments in the initial customer request by selecting the Add and Review Order button and attaching a file on the Order Review form.  But is there a way to have a file attachment button on the request form that will attach a file to the serivce request the same way?
    We are using RequestCenter 2007_1
    thanks
    CMH

    Here is an approach:
    1. Implement something like this on the file server:
    http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=7361&lngWId=4
    (We use an inhouse version of this)
    I would change this script to post back the file name to the parent window as well as some naming/size validations, etc ...
    2. Call the file upload functionality from your service fo

  • Question on the upload attachments process in a request form

    hi,
    I have a question on the upload attachments process in a request form. I have 2 pages, one is a request form and the other is an attahment page
    The request form let users fill the mandatory fields (e.g. name, email, address...) And in the form, there is a link (URL without submit) to the attachment page.
    In the attachment page, users can upload the supporting file for their rquest. The file will be uploaded to APEX_APPLICATION_FILES view and then it will be copied it to a customized table (table A) and remove from the view.
    When the users finish uploading files (i.e. the files are stored in table A), users need to press a "Done" button back to the request form to submit the form.
    My question is:
    As the request form is not yet submitted while the attached files are stored in table A, there is no request_id (request from table primary key generated in an Insert trigger after submission) is generated to tag with the files in table A. Is there any standard practice to do this?
    What I am doing now is to generate a hidden value in sequence when user goes to the attachment page. The hidden value is stored in table A togehter with the files when uploading. When user goes back to the request form, the hidden value is passed back as session cache. When the request form is submitted, I make an update statement by using the hidden vaule in the Insert trigger to tag the request_id to the attached files in table A.
    Is my way appropriate?
    Thanks for advice.
    cheers,
    Pong

    Pong,
    Yes, this would work just fine. You may want to consider enabling session state protection so that your process is not succeptable to URL tampering, which would cause a user to change the value of the REQUEST_ID in the URL and potentially associate other attahments with their request.
    Thanks,
    Scott

  • Error while displaying Travel request form (ABAP WD :FITV_TRIP_FORM )

    Hi
    When I am trying to create a travel request form , and then trying to display form its throwing an error
    "The following error text was processed in the system ECD : Error in module RSQL of the database interface".
    The error occurred on the application server mtserpdev_ECD_00 and in the work process 0 .
    Kindly suggest as form "FITV_TRIP_FORM" is already attached via feature . Am I missing some config or
    Is it a issue of patch. (Currently we are at EHP 4 , and all the applications inlcuding FITV_TRIP_FORM are on WD ABAP).
    Thanks
    Abhay

    Have you done the TRVFE feature configuration and made sure if this form exists in the system.
    Regards,
    Divya

  • Can approver modify user's request form in OIM 11g?

    Dear All,
    In OIM 10g, the approver of a request can modify user's request form, we just need to configure the permission in OIM. But, can we do it in OIM 11g?
    If can, how can i configure it?
    really need your help guys,, :D
    Thank you,
    --herry                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi user12841694,
    Thanks for the suggestion. But, the data (field) that can be modified by the approver is very limited. We cannot attach multi-valued attribute there (like Child Form).
    Regards,
    ---herry

  • Need to display a Disclaimer on the request CUP request form

    Greetings,
    As part of the organizational Request, I need to include a disclaimer on the AE request form, the person needs to agree or disagree to the disclaimer during submission/approval.
    I tried doing it in multiple ways but was not able to succeed with the requirement:
    Approach 1:  Custom field "DROP DOWN" text made it mandatory field to select the either the user agrees to the disclaimer or not. The issue with it is the disclaimer is about 200 characters and the field restriction on the custom field is 40 characters. Does not work as I intended to.
    Approach 2: Custom Field "Text" made the field as default and provided the default 200 character sentences into the text field. Though I provided the default value it does not show up in the text box and comes up blank, does not solve the requirement.
    Optimal approach : If could do a disclaimer on the request form with a check box and force the user/approver  to check the box would solve the purpose.
    Do anyone of you can suggest or show a way where either I can increase the drop down text size from 40 to 200 characters or display the disclaimer with a check box or probably I can then use the drop down list as "Agree" vs. "Disagree"? Will be helpful.
    I have also need to make a validation that states not to approve/provision the access if the disclaimer is set to 'disagree"
    Any help will be greatly appreciated.
    Best Regards,
    Angara Rao

    Greetings All,
    As an update to my earlier question. SAP came back asking me to log this an an enhancement for future releases using SAP note 1575897 . I have logged it with them and hopefully we will see an solution in hot packs/Next releases.
    As a current solution, We have placed a disclaimer text on the Portal Landing page and have marked with a "Accept" or "Decline" push buttons. The push buttons stores the user identity, date and Time stamp in a custom table for validating purpose and while the accept button launches the GRC CUP application.
    The above was created as a prototype and not currently in use untill signed off from the concerned department head & Global policy head asking for this information.
    Best Regards,
    Angara

  • How to read User ID from the request Form and pre populating in the AD User process form before provisioning

    I am trying to read the user Id from the submitted AD User request form( Catalogue AD User form. I need User Id,firstname and lastname inorder to prepopulate the common name as in this format - lastname,firstname (userid)  for the user to be provisioned in Active Directory.
    So after filling the AD User request form with User Id and Organization and submitting the request, I am trying to
    prepopulate the common name in the process form before the provisioning.
    The prepopulate adopter for the common name is configured to read the firstname, lastname and userid. firstname and
    lastname variables are mapped to User definition and user Id is mapped to Process Data. In this setup I am not getting the
    User Id value from process data, it is empty.
    Is this a bug with OIM 11g R2 or I need to do it differently in order to read the user Id that user has entered in the
    request form for populating the common name?
    Thanks

    Ghulam Yassen wrote:
    How to get USER_ID and IP_AddressWhy exactly do you need this data and what do you plan to do with it?
    The data is not reliable and trustworthy. IP addresses can easily be spoofed (a few seconds if you know what to do and how to do it). Also, IP addresses are not static. Users also do not use the same network device to access the database - different devices will have different IP addresses.
    The o/s user on the client is supplied by the client driver. This can also be spoofed.
    The user can also use a virtualised device - which means that recording the IP and o/s user seen from the server side, is pretty much useless and meaningless.
    So if this data is intended to be used for auditing for example - it would be pretty suspect data to use for that purpose.

Maybe you are looking for