Group Tree issue, web form vs Win form?

Using Crystal Reports for Visual Studio 2010...
I am using the same report file for a Win form and web form version of the same utility program.  The report was built bases on a view to the database, and both programs populate the report based on a dataset which has the same columns with restrictive where clauses, based on user input prior to populating the report.
On the Win Form version, when the user clicks a group on the Group Tree, the report nicely navigates to the appropriate section of the report. However... on the Web version, the ReportViewer makes a return trip to the database, refreshing the data with the entire view, overwriting the original content.  In other words, out of lets say 50,000 possible records, if I ask for 50, they are displayed as I want, but in the web report, if I try and navigate to any of the 50, I get all 50,000 (an no navigation), an unwanted return to the database.
I am perplexed, as it is the same report file used by both versions.
I tried hiding the Group Tree panel (I don't need it), per instructions (CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;)
But that only closes the panel, and it is still available to the user to open (icon remaining). Is it possible to really make the Group Tree unavailable?
thanks,
Mark

Ludek,
What I wish to do is follow the instructions for placing the report in a session, per your suggestions above:
     Place the report in session. See
     KBA 1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
OK, since I'm new at this, where does the code go? I can't seem to resolve RAPPBasePage, and I admit that without more specific directions on the linked page, I'm more than a bit lost with this.
Thanks,
Mark
Below is a complete code that describes how to ensure the report is in
session:
public partial class Reports : RAPPBasePage
      private ReportDocument crReportDocument;
      protected override void Page_Init(object sender, EventArgs e)
           //connect method to master event
           base.Page_Init(sender, e);

Similar Messages

  • Group Tree issue when refreshing- Crystal for Visual Studio 2010 WPF Viewer

    Hello,
    We've run into an issue when refreshing reports with the WPF viewer for Visual Studio 2010. After the report is refreshed, the Group Tree is blank and it should have values. For example, you run a report and see values in the Group Tree. If you refresh the report with the same parameter values the Group Tree is blank.
    Has anyone run into this yet?
    Thanks,
    Tyler

    That is correct.
    I just did a quick test and was not able to reproduce the issue.
    Details of test:
    1) Create a new app;
    File | New | Project
    Visual Basic | reporting -> Crystal Reports WPF Application
    2) Add the "Open File" button to the viewer (ShowOpenFileButton off of the WPF viewer properties)
    3) Run app
    4) Browse to a report that has a number of groups >250
    5) Refresh report using the Refresh button on the viewer
    I'll work on this a bit later today, see if I can repro it another way. Meanwhile, can you provide mode details (code) on how you repro the issue?
    - Ludek

  • Create bookmarks from group tree issue

    Hello,
    I am the administrator of a calibration software that uses Crystal Reports as it's reporting engine. I currently have Crystal Reports XI Product Version 11.0.0.1282 installed on my computer.
    I designed a report last week and when I would export it to a pdf, either through Crystal Reports or through the calibration software, I would have an option allow me to create bookmarks from group tree. It worked great. I then sent this report to our field engineers with instructions on how to run it and no one was able to see the "create bookmarks from group tree" option. Why would this be?
    I thought it had something to do with not having the newest version of Crystal Reports so I tried to update the software from Help > Check for Updates. It searched for updates but then timed out and gave me a message that I was not connected to the internet even though I was. I then found my way to this site and downloaded "crxir2_sp4_full_build.exe".
    I tried to install this and everything was going good until I was prompted to locate the file CrystalReports.msi. I could browse to any location but by default it was trying to find it in my temporary internet files for my browser. I searched my computer and did not have this file. I checked the CD and found it on there. I copied it from the CD to my hard drive. I tried to run the installation again and when prompted for CrystalReports.msi, I pointed it to the location on my hard drive but the software would not accept it.
    I eventually canceled out of the install but every time I would launch Crystal Reports it would prompt me for the same file.
    This morning I uninstalled Crystal Reports XI from my machine, rebooted, and reinstalled it. Now when I try to export the report, either through Crystal Reports or through the calibration software, I do not have an option to allow me to create bookmarks from group tree. It has disappeared.
    So my questions are:
    1. How do I get the "create bookmarks from group tree" option back?
    2. How do I get the "create bookmarks from group tree" option to appear on my field engineer's computer when they run the report?
    3. Why was I not able to update my software? Was I doing something wrong?
    Thanks in advance for the help.

    I never had version 11.5 installed but I had the create bookmarks option. I had version 11.0 installed and had the create bookmarks option.
    I'm still having problems installing Crystal Reports XI R2. It makes it through the entire installation and then a screen pops up telling me that it can not find "CrystalReports.msi". It is looking for this file in a temp file. I use the browse button and point it to the proper file location but it still won't accept it. The only thing I can do is exit out of the installation. Am I doing something wrong? Do I have to do something special to upgrade Crystal Reports?

  • Hierarchical tree in web forms 10g - form freezing

    I have an application with an hierarchical tree on one of the forms - the application worked fine as client/server back in forms 6 but now that it is web enabled in 10g there are problems with the tree causing the form to freeze, then the entire application has to be closed. It doesn't seem to matter if you are selecting a node or creating a new node both have caused the form to freeze. It doesn't happen all of the time but it seems that the longer the application has been in use the more it starts to freeze. Any ideas? Is there a known problem with trees in web forms? Thanks
    Joanne

    At the root of my tree is a patient (I work in the health care industry) and then for that patient there are clinic visits, surgeries, etc (there are 16 nodes at this level). and under each of these are dates when the visits occured (there can be an unlimited number of nodes at this level). This is some of my code for populating the tree:
    if :GLOBAL.patient_seq is not null then
    -- turn the tree on
    set_item_property('tree_block.tree_item', ENABLED, PROPERTY_TRUE);     
    set_item_property('tree_block.tree_item', NAVIGABLE, PROPERTY_TRUE);          
    lv_tree_id := find_item('TREE_BLOCK.TREE_ITEM');     
    --refresh the tree back to it's original state from the database                          
    Ftree.Set_Tree_Property(lv_tree_id,
         Ftree.RECORD_GROUP,
         FIND_GROUP('TREE_GROUP'));
    -- create the clinic visits branch
    wcchn_tree_items_pkg.get_visits(lv_visit_table, :global.patient_seq);
    for lv_counter in 1.. lv_visit_table.count loop
    lv_site := wcchn_locations_pkg.get_location_code(lv_visit_table(lv_counter).site);
    create_visit_node( lv_visit_table(lv_counter).visit_date || ' - ' || lv_site,
         lv_tree_id,
    lv_visit_table(lv_counter).seq_nr);
    end loop;
    Below is the procedure referred to in the above segment of code:
    PROCEDURE CREATE_VISIT_NODE (pi_date IN VARCHAR2, pi_tree_id IN ITEM, pi_seq IN NUMBER) IS
    lv_return_value NUMBER;
    lv_node_value varchar2(100);
    lv_search_node FTREE.node;
    BEGIN
    lv_search_node:=FTREE.Find_Tree_Node(pi_tree_id,                              'CLINIC VISITS',                         FTREE.FIND_NEXT,                         FTREE.NODE_LABEL,                         FTREE.ROOT_NODE,                         FTREE.ROOT_NODE);
    lv_node_value:='G' || to_char(pi_seq);
    if :GLOBAL.ACTION_INDICATOR = 'INSERT' then
              lv_return_value:=FTREE.Add_Tree_Node(pi_tree_id,                    lv_search_node,                         FTREE.PARENT_OFFSET,                          1,                                    FTREE.LEAF_NODE,                          pi_date,                                   NULL,                                    lv_node_value);
    else
              lv_return_value:=FTREE.Add_Tree_Node(pi_tree_id,                              lv_search_node,                          FTREE.PARENT_OFFSET,                          FTREE.LAST_CHILD,                          FTREE.LEAF_NODE,                          pi_date,                                   NULL,                                    lv_node_value);
    end if;
         FTREE.Set_Tree_Node_Property(pi_tree_id,                              lv_search_node,                              FTREE.NODE_STATE,                         FTREE.EXPANDED_NODE);
    END;

  • Oracle forms 10g (win Xp middle tier IE 8             Win 7- IE 8 client)

    forms services 10.1.2.0.2
    Database 11gR2 also on Win Xp pro SP3
    Hi
    I have a problem with java and Jinitiator and my understanding of what is / should be happening.
    In the file forms/server/formsweb.cfg see below. I can alter the parameter
    baseHTMLjinitiator=basejini.htm
    ###baseHTMLjinitiator=basejpi.htm
    between the two alternatives. As it stands as shown the IE8 on the middle tier and on the database PC both work as near correctly as i can tell. On the Win 7 client IE 8 however crashes. switch it to the other way around and the
    win 7 works and the win xp on the database server stops with frm-92095 error version number too low. while on the middle tier Xp PC a blank doucument is displayed.
    How can i have both working at the same time please. I you need more information i will happily supply it.
    Neill
    # $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    ###baseHTMLjinitiator=basejpi.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx
    # Forms runtime argument: database connection details
    userid=scott/xxxxxxxxxxx@orcl
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=E:\DSHome_1
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    lookAndFeel=oracle

    You have a mixture of problems here.
    1. Oracle Jinitiator is not supported for use on Windows 7
    2. JRE 1.7 is not supported for use with any version of Forms on any platform. Be sure you do not have this version installed.
    3. JRE 1.6 is not supported for use with Forms 10.1.2.0.2, however is supported with 10.1.2.3 (10.1.2.0.2 + patch ID 5983622) and only with IE 8
    4. In order to use Win 7 with Forms 10 in a certified and supported manner, you must use 10.1.2.3 (meaning 10.1.2.0.2 + patch ID 5983622).
    In short, my recommendation would be the following:
    o Patch to 10.1.2.3 (assuming you have access to MyOracleSupport)
    o Don't bother trying to use Oracle Jinitiator as it is old and has been desupported for a long time.
    o Uninstall any instances of Jinitiator as it can cause conflicts with other JRE installations.
    o Uninstall all instances of JRE 1.7. Reconfig your formsweb.cfg to use the JRE (Java Plugin) 1.6.0
    baseHTMLJInitiator=basejpi.htm
    jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
    jpi_mimetype=application/x-java-applet;version=1.6
    jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/jre-6u27-download-440425.html
    jpi_codebase=http://javadl-esd.sun.com/update/1.6.0/jinstall-6u27-windows-i586.cab#Version=1,6,0Finally, refer to this:
    http://www.oracle.com/technetwork/middleware/ias/downloads/as-certification-r2-101202-095871.html#BABGCBHA

  • Infopath Form Web Part not showing form

    Hello,
    I recently edited a list form in a InfoPath 2010 and published it to my site.  When clicking on "Add new item" it works fine.  The new form shows up and all is well.  The idea though was to enable the form from a separate page by using
    the InfoPath Form Web Part.  We have other forms setup this way on our site that work fine, but for some reason, when I added the web part to the page, pointed it at the list and set the custom content types (only single option anyways as the list is
    built on a custom content type) nothing is displayed within the web part.
    I can't find any difference between my form and the already created forms, but as I didn't create the ones that are working I may have missed some setting.  There is no error, no message, just a blank web part... Actually, that's not true.  When I
    check in the page I see nothing.  But when I publish it, I see only a close link and a bit of a header div. 
    If anyone would happen to have seen this before, know what it is or know how to fix it I would be greatly appreciative.
    Thank you.

    Hi David,
    From your description, you published an InfoPath form to SharePoint list, and it worked well in the list. However, when you added an InfoPath form web part to another page, it displayed as image.
    I could not reproduce the issue, I just selected list and content type, left all other settings as default, it displayed as expected. Did I miss anything during reproducing your issue? Did you make any customization to web part or InfoPath form?
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • Calling web service from oracle forms 10g

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://gend:83/DesignService.svc?wsdl
    The service was developed by us.
    Calling the web service using JDeveloper works fine but when I complie in Oracle Forms it returns wrong number of types of arguments in call SENDHELLO.
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    xo ora_java.jobject;
    rv varchar2(2000);
    ex ora_java.jobject;
    str varchar2(100);
    BEGIN
    jo := GendServiceClient.new;
    rv := GendServiceClient.sendHello('Nora');
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;
    Any help/ideas on this is greatly appreciated. Thanks.
    Edited by: KE Nora Loera on Jun 1, 2012 1:24 PM

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
    Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    outString varchar2(2000);
    BEGIN
    jo:= CurrencyConvertorStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
    message (float_.floatValue(RV));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    outString := Exception_.toString(ex);
    message(outString);
    END;
    Any help/ideas on this is greatly appreciated. Thanks.

    Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
    public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "ConversionRate";
    String targetNamespace = "http://www.webserviceX.NET/";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"FromCurrency", FromCurrency});
    requestData.add(new Object[] {"ToCurrency", ToCurrency});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
    }

  • Printer wont print: "HP Smart Web Printing is not compatible with FF 37.0.1" Also, I can't fill forms with Robo Form

    No details needed

    I understand that the message gives that Firefox does not support the printer giving issues as well as Robo Form is not filling in forms for Firefox.
    Please consider the troubleshooting steps suggested:
    *[[Fix printing problems in Firefox]]
    As for the addon/extension I can recommend trying Safe Mode to see if there is an issue with one of the add ons, or disable each of the extensions to troubleshoot what might be interacting with this feature.

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer

    My reader will not open a PDF file that I have downloaded from a government web site (an application form) - it states that the file is not good.  I can open on the web site but not from my mac computer.

    Maybe this: http://helpx.adobe.com/acrobat/kb/pdf-error-1015-11001-update.html ?
    Do you have a link to that document?

  • Having issues viewing interactive parameters and group tree in Visual Studio 2013 design view.

    Hey Guys,
    I'm a web developer (front end and back end, kind of a one man army sort of deal) and my current employer wishes to use crystal reports to display the results of the online survey apps/tools I have been working on for the last few months. However, I have been having trouble getting the reports to render in browser, and a lot of the ui components of the browser based report viewer (the interactive parameters and group tree) will not render properly in the design view of visual studio (ive attached a screen cap of what I'm talking about) or in the browser itself.
    I am new to crystal reports and its community and if I am leaving out any critical details or have posted in the incorrect section please inform me and I will make changes as necessary.
    Additional info:
    Visual studio version: 2013 professional (trial)
    Plugin version (exe file name): CRforVS_13_0_9.exe (I also installed the 64 bit run-time from this)
    Server and OS versions: IIS 7.5 on Microsoft Windows Server 2008 R2
    Any help you guys could provide would be greatly appreciated.
    Cheers,
    -Mike

    Hi Mike
    First thing you want to do is uninstall CRVS SP 9 and install CRVS SP 10. SP 10 is the first SP to support VS 2013.
    Once that is done, let us know if that helped any.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Call a web services from oracle forms 10

    I have to call a web services from oracle forms.
    The version of the database is oracle 11gr2. the version of the forms is 10.1.2.0.2.
    I allready did the proxy creation and the import class within forms.
    I have 2 questions:
    1.
    I created the following procedure:
    PROCEDURE call_WS IS
         vobject1 ORA_JAVA.JOBJECT;
         vobject2 ORA_JAVA.JOBJECT;
    BEGIN
    vobject1 := WSEvaluarReglaCondicionComerci.new();
    vobject2 := WSEvaluarReglaCondicionComerci.listarValoresAtributoEvento(vobject1, 702, 2217, null, null, null);
    END;
    the function I calling:
    FUNCTION listarValoresAtributoEvento(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT,
    a1 ORA_JAVA.JOBJECT,
    a2 ORA_JAVA.JOBJECT,
    a3 VARCHAR2,
    a4 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;
    Note that the parameters is ORA_JAVA_JOBJECT and I need to send numbers. I understand that when I import the classes, because in the WS those parameters are defined as BigDecimal, Forms understand them as java object but when I compile it reports the error: "numero o tipo de argumento erroneo al llamar..." type error.
    So the question is, how Cast the numbers to Java Object to send them.
    I have read in a web page that one option is to change in the web service the type of the parameters but that is not an option.
    2.
    The WS returns a super big XML as answer, so how I can parse the result into an Object type?...
    The object structure is:
    TYPE opciones_obj AS OBJECT
    (strindice VARCHAR2 (4000),
    nombrecompleto VARCHAR2 (4000),
    nombre VARCHAR2 (4000),
    strtipodato VARCHAR2 (4000),
    codigoopcion NUMBER,
    floatval FLOAT,
    strtipo VARCHAR2 (4000),
    strval VARCHAR2 (4000));
    and the tags to extract is:
    COLUMNS strindice VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strIndice"]/ns2:value',
    nombrecompleto VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="nombreCompleto"]/ns2:value',
    nombre VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="nombre"]/ns2:value',
    strtipodato VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strTipoDato"]/ns2:value',
    codigoopcion NUMBER
    PATH 'ns2:mapEntry[ns2:key="codigoOpcion"]/ns2:value',
    floatval FLOAT
    PATH 'ns2:mapEntry[ns2:key="floatVal"]/ns2:value',
    strtipo VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strTipo"]/ns2:value',
    strval VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strVal"]/ns2:value') x;
    xquery / xmltype aparently is not an option because the xml is too big.
    I will appreciate your answers.
    Thanks.
    Edited by: user13058213 on 26-ene-2012 16:02

    i created jar file to call it from forms
    Could you be a little bit less vague about what you exactly did?
    Anyway; see here http://bit.ly/10VVoMR
    cheers

  • Error calling web service from Adobe form

    Hi Experts,
    While calling web service form my adobe form, i was getting an error as below saying "Error attempting to read from the file" followed by the URL of my web service.
    To create the above scenario i followed the following steps:
    1. Create a Function module and create a web service from that function module.
    2. Through SOAMANAGER, download the WSDL file for the generated web service.
    3. Create an Adobe form with an empty Interface and create a new Data Connection on the form using the downloaded WSDL.
    4. Generate this adobe form using an ABAP report.
    Kindly extend help on this to figure out if I'm missing something!!!

    Well questions related to Web Services have been answered here in past, please Search on SCN for links to it.

  • Adobe Reader 11.0.07 crashes and destroys the pdf form. Win 7/64

    I use several forms from the Canadian immigration department. These forms require VALIDATION after filling.
    Validation generates a set of machine readable codes that are included with an application.
    Lately, Reader will crash in the middle of filling in the form.
    The form also gets destroyed in that an error message talking about XFA comes up.
    When I load the damaged form, fields are no longer accessible and some fields have been corrupted meaning the previously filled data has changed to garbage data.....most fields are intact.
    Later today, I will redo the current form and cut the error message to post here.
    I will also post a link to a clean copy of the form....but I don't see an option to attach a pdf file!!!!
    Once the error / crash happens, I can no longer fill in any field on the form and the form cannot be validated....requiring a total redo that MAYBE works!!!
    When I try to load the "damaged" form, I get the red message saying that Java is not selected BUT it is!!!!!
    See
    Also how to attach a clean pdf file?
    For now I will insert a link to the file named "IMM0008ENU_2D.pdf"
    http://www.cic.gc.ca/english/pdf/kits/forms/IMM0008ENU_2D.pdf
    Any suggestions please?
    System:
    Dell Optiplex 745 Windows 7 /64bit, 6Gb RAM, 150Gb free drive C space. Dual monitors. Adobe Reader 11.0.07 Chrome

    The message tells you that form's Reader Extended capability is no longer available.  So when it crashed the digital signature which allows the PDF file to have the "special" capabilities must have been damage.  This means that that the "JavaScript" ( NOT JAVA.  JAVA is  a separate programming language.) capabilities that the form had before will no longer function.  It's not unusual for an application crash to damage a document no matter what the application is.
    You need to do a couple of things.  One, report the behavior to the government entity whose forms you are using of the issue, and two,  file a bug with Adobe via their bug reporting form.
    Adobe - Feature Request/Bug Report Form

Maybe you are looking for

  • Problem with login in Folio Builder after update to v26

    After updating to v26 I can't sign in to Folio Builder. Whan I press «sign in» either in panel or in panel menu, nothing happens. Help please!

  • What size media can you put on a 25GB DVD via Share?

    I have a HDV project that I am ready to export via Share hopefully to a single Blu Ray disc. The media content is 23.5GB. What is the maximum you can put on that disc (how much is taken up with non media components and will it warn me before I start

  • How to put music in order in a playlist

    In iTunes 10, how do I change the order of songs in a playlist?

  • 24"LED and a Power Mac G5

    Is it possible to connect a 24" LED display to my Power Mac G5? Thanks in advance for any help.

  • I cant update iLife '08 at all

    A couple days ago, when i last opened iPhoto, it said there was an update available. I naturally checked Software Update for the updates, but it said it couldn't find anything. I went on Apple's website and downloaded the updates manually. But when I