HTTP_POST to .aspx URL/form

Hi Folks,
My requirement is to post data to an aspx form from ABAP program. After searching in the forums, I decided to use HTTP_POST function module to achieve the goal.
Now when I execute my program, I do get the status as 'OK' and status code of '200' but data is not getting posted to the form. The way I have been trying to pass data is - I have a structure with field names same as the form field names. I populate the corresponding values in the local work area and append it to request_body table. Which I have come to realize may not be the correct way. I also tried passing the data same way to request header, that did not work either.
Does someone have example code on how to use HTTP_POST? or suggestions? I tried where-used on the FM, but could not find anything discreet.
Or at a higher level, is this approach right to post data?
Thanks! 
#HTTP #POST #ASPX #ASPNET #ASP

Thanks Aarif!
I did come across this post. I can reach the HTTP service. Trying to make the parameters values work. But still not able to.  

Similar Messages

  • FRM-92052 error... unable to connect to server URL /forms/servlet;

    Hi all.
    I'm on forms 11g 11.1.2.1.0
    I'm configuring my form and when I try to run it I have this error:
    FRM-92052: unable to connect to server at URL /forms/servlet;
    I have start up weblogic server and everything is ok.
    When I try to run my form I have the error.
    How can I solve it?
    Thanks all for collaboration,
    Fabrizio

    I open my log file and I copy here error section:
    java.lang.NoSuchMethodError: oracle/forms/net/ConnectionException.<init>(ILjava/lang/String;Ljava/lang/Throwable;)V
         at oracle.forms.servlet.BaseServlet.getConnectionException(Unknown Source)
         at oracle.forms.servlet.BaseServlet.logException(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.getRunformSession(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.getInfo(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.doGet(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.access$100(Unknown Source)
         at oracle.forms.servlet.ListenerServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >
    ####<5-feb-2013 14.42.40 CET> <Notice> <Diagnostics> <missuri377> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2e61ea05cba29510:6243aa29:13caa961585:-8000-0000000000000024> <1360071760720> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'AdminServer' has triggered at 5-feb-2013 14.42.40 CET. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'WL-101020') OR (MSGID = 'WL-101017') OR (MSGID = 'WL-000802') OR (MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = 5-feb-2013 14.42.40 CET SERVER = AdminServer MESSAGE = [ServletContext@6140131[app:formsapp module:forms path:/forms spec-version:2.5 version:11.1.2]] Root cause of ServletException.
    java.lang.NoSuchMethodError: oracle/forms/net/ConnectionException.<init>(ILjava/lang/String;Ljava/lang/Throwable;)V
         at oracle.forms.servlet.BaseServlet.getConnectionException(Unknown Source)
         at oracle.forms.servlet.BaseServlet.logException(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.getRunformSession(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.getInfo(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.doGet(Unknown Source)
         at oracle.forms.servlet.ListenerServlet$Request.access$100(Unknown Source)
         at oracle.forms.servlet.ListenerServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = missuri377 TXID = CONTEXTID = 2e61ea05cba29510:6243aa29:13caa961585:-8000-0000000000000022 TIMESTAMP = 1360071760564
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    How can I solve my problem?
    Thanks all for collaboration,
    Fabrizio

  • Passing parameter in URL (forms 10g)

    Hi,
    I'm using forms 10g (904) and I need to pass in a paramter when the form starts. I have created a parameter and it works when I debug.
    But when I run it on Oracle Application Server, how do I pass the parameter in the URL? I have tried &parameter_name=parameter_value, but it does not seem to work.
    Thanks.
    WJ

    Hi everyone,
    When I tried the prior suggestion that parameter was not actually passed into the URL. Instead it is passed into the set of named parameters defined in the generated <Object> tag for the forms applet.
    That is useful to know but what I want to do is permit the forms applet to access name-value pairs in the actual forms URL.
    Does anybody know how this is done?
    Also if anybody knows how to permit the forms applet to access client side environment variables (or even registry keys) without resorting to using java I would be grateful for the advice.
    Basically it seems to there are several ways to access such values server side but I cannot find any way to access those values client side.
    The task I have in mind is to load some properties which are configured on the clients' machine and which differ from client to client.
    Thanks everybody,
    Chris

  • How to use HTTP_POST : To Call URL with parameters

    Dear Gurus,
    how to call HTTP_post.
    I am having requirement from client to send SMS using URL for which mobile number and text are the parameters.
    Now i want to call this in sheduled job using abap program,
    one of the person suggested me HTTP_POST for the same.
    But how to pass the parameters for this.
    Or is there another way to call this.
    Thanks in advance.
    with  regards,
    Rajesh c

    Check this
    http://help.sap.com/saphelp_nw70/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/content.htm
    Examples
    http://wi.twhost.de/datei/data/QuellcodeDemos.pdf

  • How to call .aspx URL  from OSB

    Hi
    can any one please suggest how I need to call .aspx from OSB
    eg: http://<host>/ExternalServices/Customer/xyz/Posto.aspx
    Regards,
    Lavanya Sarma

    The service could have been a WSDL based web service or a normal XML/HTTP or SOAP/HTTP service without a WSDL definition.
    If its a WSDL based service you need a WSDL(along with any referenced XML schemas) and if its a XML/HTTP service then you need XML Schemas
    First of all you need to identify which one it is. To do that:
    1. Ask the team who has provided you the endpoint! If its a WSDL based service, ask them for the WSDL file along with referenced schemas. If its a XML/HTTP service ask them for XML schemas.
    2. If you are not able to contact them right away, Try accessing the URL in a browser:
    Open following URLs in a Browser:
    http://<host>/ExternalServices/Customer/xyz/Posto.aspx?wsdl
    http://<host>/ExternalServices/Customer/xyz/Posto.aspx
    Do you see any WSDL coming up in Browser? If yes then copy the content of the WSDL, also open the URLs of any imported schemas in the WSDL content in browser and copy their content as well. The idea is to have all the WSDLs and Schemas on your local machine,
    Once you get the WSDL files and XML schemas here is what you need to do:
    For WSDL based target servce
    1. Save the contents of any referenced schemas as XML Schema resources in OSB
    2. Save the content of WSDL as a WSDL resource in OSB
    3. Create a new business service, select WSDL based service types and select a port or binding from the WSDL resource you created in step 2
    4. Provide transport as HTTP and add http://<host>/ExternalServices/Customer/xyz/Posto.aspx as the endpoint
    5. Save this service and now you can call this business service from any Proxy Service in OSB
    If its a XML/HTTP service, then you can create business service with following types:
    1. XML HTTP with no specific XML schema - Choose ANY XML service type
    2. SOAP/HTTP with no specific XML schema - Choose ANY SOAP service type
    3. XML/HTTP with a specific request and response schema - Choose Message service type and select the request and (optionally) a response message type from an existing XML schema resource

  • Protected url, form base

    i need access to a html protected page
    for base authentication it's simple, i use a class like this :
    public class MyAuthenticator extends Authenticator {
    String username = "";
    String password = "";
    public PasswordAuthentication getPasswordAuthentication() {
    return new PasswordAuthentication(username, password.toCharArray());
    and I install the authenticator in the servlet
    MyAuthenticator ma = new MyAuthenticator();
    Authenticator.setDefault(ma);
    my problem is to access form based protected resources, and i really don't know how ro do it.
    Any idea?

    mybe i have a solution, but i don't know if this is a good code.
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // log in ----------------------------------------------------------------
         String data = URLEncoder.encode("userid", "UTF-8") + "=" + URLEncoder.encode("mamma", "UTF-8");
    data += "&" + URLEncoder.encode("password", "UTF-8") + "=" + URLEncoder.encode("aaa", "UTF-8");
    //login
              URL url = new URL("http://localhost:8087/Mamma/j_security_check");
              URLConnection conn = url.openConnection();
    conn.setDoOutput(true);
    OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
    wr.write(data);
    wr.flush();
              String key = "";
              String id = "";
              // Get session cookie ----------------------------------------------------------------
              if (conn != null)
                   for (int i = 1;(key = conn.getHeaderFieldKey(i)) != null; i++)
                        if (key.equalsIgnoreCase("set-cookie"))
                             id = conn.getHeaderField(key);
                             id = id.substring(0, id.indexOf(";"));
                        }     //if
                   }     //for
              }     //if
              String jSessionId = id;
    // Get the response ----------------------------------------------------------------
    BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String line;
    while ((line = rd.readLine()) != null) {
    System.out.println(line);
    wr.close();
    rd.close();
    // access form base protected resource ---------------------------------------------------
    URL url2 = new URL("http://localhost:8087/Mamma/situazione");
              URLConnection conn2 = url2.openConnection();
    conn2.setDoOutput(true);
    //System.out.println("jSessionId:"+jSessionId);
    conn2.setRequestProperty("Cookie", jSessionId);
    BufferedReader rd2 = new BufferedReader(new InputStreamReader(conn2.getInputStream()));
    String line2;
    while ((line2 = rd2.readLine()) != null) {
    System.out.println(line2);
    //wr2.close();
    rd2.close();
         }

  • Webservice URL forma issue

    Hi experts
    i have a scenario
    JBoss server -
    > SAP XI -
    > SAP
    i had create the webservice in SAP XI through senderagreement --->publish URL
    its automatically generated the WSDL file
    URL is like this
    1)"http://host:port/dir/wsdl?p=sa/0dacd6e6ede73794b0e9d4814430fced"
    but in address location we found another URL
    2) https://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=(bussiness component name)&receiverParty=&receiverService=&interface=SI(service interface name)&interfaceNamespace=%3A%2F%%2F (namespace)
    we are able to call the wsdl in internet explorer by using first URL
    we unable to call the same wsdl using second URL.
    why URL were different ?
    is it possible to change the first URL format?
    i followed the below forums
    wsdl url of pi SOAP Sender (that is used by invoking soap client)
    Using SOAP Sender adapter in PI 7.1
    and i tried what mentioned in above forums but no luck .
    if i use the below URL format
    http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
    http://host:port /XISOAPAdapter/MessageServlet?senderParty=FP& senderService=FS& interface=IF&receiverParty=TP&receiverService=TS&interfaceNamespace=IFNamespace
    it gives the some ssl missing error
    please help me out
    Thanks In advance

    Hi katakoti,
    could you send the message sucessfully to PI if you use the first URL which you mentioned?
    I am not very clear your problem but give u some input.
    when u display WSDL file in ID, use below URL in step 2/5.
    if there is a party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
    if there is no party in ur scenario: http://<host>:<j2ee-port>/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>
    also u can send the message directly into Integration Engine by using below URL.
    Using the SOAP inbound channel of the Integration Engine
    http://<server>:<port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<Business Component>&Interface=<InterfaceNamespace>%5E<Interface>
    in previous, we used SoapUI for the WSDL testing. there is no problem. and i have not seen the URL like ur first one.
    regenerate the WSDL file and try again. good luck.:)
    Regards,
    Kevin

  • Exclude certain URLs form ICM cache?

    Hey community,
    does anybody know if and how it is possible to exclude certain files from the ICM cache?
    We have a web app running on the web AS (with Portal 7.3), and all html-files from this web app should not be cached in the ICM.
    In the web application interface I can see that these files are cached in the server cache. So I need to exclude them.
    In case of necessity it would be ok if I exclude all html-files from the cache.
    Thanks for your help,
    Steffi

    Hi Fabio,
    thanks for your answer!
    I don't want to invalidate the cache manually. I want to maintain something like:
    "exclude all html files from web app YXZ from cache". These files should never be cached.
    By invalidating the cache the problem is solved only until the next html-file is called.
    Thanks,
    Steffi

  • Exchange 2013 ECP Login fails HTTP 404 Requested URL: /owa/auth/logon.aspx

    Hi,
    One of our Exchange servers stopped allowing access to OWA and ECP. I have now managed to get OWA working but ECP is still failing. When connecting to ECP using https://servername/ecp/ it asks me for my username and password. After hitting enter it shows
    me an error page:
    Server Error in '/owa' Application.
    The resource cannot be found.
    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
    Requested URL: /owa/auth/logon.aspx
    URL in the address bar while on this screen: https://exchangeserver:444/owa/auth/logon.aspx?url=https://exchangeservera:444/ecp/&reason=0
    Question: When the URL points to servername:444/owa/auth/logon.aspx - Is it trying to find the logon.aspx in C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\Owa\auth? There is no such file in that directory?
    I have removed and recreated the ECP and OWA virtual directories several times.
    I am trying to login using a domain administrator account.
    Thanks,

    Hi,
    Is there any Exchange server 2010 coexistence with your Exchange 2013 server? If it is, please try the URL
    https://CAS15-NA/ecp?ExchClientVer=15 to access ECP.
    Also run the following to check your OWA and ECP virtual directories:
    Get-EcpVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Authentication*
    Get-OwaVirtualDirectory -ShowMailboxVirtualDirectories | FL Identity,*Authentication*
    And make sure the Basic and Forms authentications are enabled in
    Default Web Site and Ntlm, WindowsIntegrated
    authentication methods are enabled in
    Exchange Back End. Then restart IIS service by running
    iisreset /noforce from a command prompt window.
    If the issue persists, please collect any event logs or IIS logs for further analysis.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Oracle fusion Middleware 11g -- forms issue while hitting url

    Hi ,
    we are facing one issue while hitting the url mentioned below
    http://scrmskr.apac.nsroot.net:7801/forms/html/CRMS_KR.htm
    FRM-92052:fatal error: cannot connect to the server at URL /forms/lservlet
    here in the above CRMS_KR.htm we have hard-coded all the parameters value that in other case is read from formsweb.cfg
    whereas if we hit the same CRMS_KR.htm renaming it to basejpi.htm and hitting below url then its opening our home page i.e our test.fmx called from this .htm file
    http://scrmskr.apac.nsroot.net:7801/forms/frmservlet
    We have gone through Oracle® Fusion Middleware Forms Services Deployment Guide
    11g Release 1 (11.1.1)
    but not able to get the issue.
    Please let us know where we are going wrong or what mapping or config settings are we missing.
    Config files:
    CRMSKR.htm_
    ======================================================
    <HTML>
    <!-- FILE: basejpi.htm (Oracle Forms) -->
    <!-- -->
    <!-- This is the default base HTML file for running a form on the -->
    <!-- web using the JDK Java Plugin. This is used for example when -->
    <!-- running with Netscape on Unix. -->
    <!-- -->
    <!-- IMPORTANT NOTES: -->
    <!-- Default values for all the variables which appear below -->
    <!-- (enclosed in percent characters) are defined in the servlet -->
    <!-- configuration file (formsweb.cfg). It is preferable to make -->
    <!-- changes in that file where possible, rather than this one. -->
    <!-- -->
    <!-- This file will be REPLACED if you reinstall Oracle Forms, so -->
    <!-- you are advised to create your own version if you want to make -->
    <!-- any modifications. You should then set the baseHTMLjpi -->
    <!-- parameter in the Forms Servlet configuration file (formsweb.cfg) -->
    <!-- to point to your new file instead of this one. -->
    <HEAD><TITLE>Credit & Risk Management System</TITLE></HEAD>
    <BODY bgcolor=#c0c0c0 SCROLL="no">
    <!-- Forms applet definition (start) -->
    <OBJECT classid="clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA"
    codebase="http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12"
    WIDTH="920"
    HEIGHT="680"
    HSPACE="0"
    VSPACE="0"
    ID="">
    <SCRIPT LANGUAGE="JavaScript" SRC="/forms/frmjscript/forms_ie.js"></SCRIPT>
    <PARAM NAME="TYPE" VALUE="application/x-java-applet;jpi-version=1.6.0_12">
    <PARAM NAME="CODEBASE" VALUE="/forms/java">
    <PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
    <PARAM NAME="ARCHIVE" VALUE="frmall.jar,crms_icons.jar" >
    <PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?acceptLanguage=en-us">
    <PARAM NAME="networkRetries" VALUE="50">
    <PARAM NAME="serverArgs"
    VALUE="escapeParams=true module=/rcrmap1/rcrrgbg2/crms/10as/fmx_dir/CRMS_LOGIN.fmx userid= debug=no host= port= obr=no record= tracegroup= log= term= ssoProxyConnect=no">
    <PARAM NAME="separateFrame" VALUE="false">
    <PARAM NAME="splashScreen" VALUE="">
    <PARAM NAME="background" VALUE="">
    <PARAM NAME="lookAndFeel" VALUE="Generic">
    <PARAM NAME="colorScheme" VALUE="teal">
    <PARAM NAME="serverApp" VALUE="default">
    <PARAM NAME="logo" VALUE="no">
    <PARAM NAME="imageBase" VALUE="CodeBase">
    <PARAM NAME="formsMessageListener" VALUE="">
    <PARAM NAME="recordFileName" VALUE="">
    <PARAM NAME="EndUserMonitoringEnabled" VALUE="">
    <PARAM NAME="EndUserMonitoringURL" VALUE="">
    <PARAM NAME="heartbeat" VALUE="">
    <PARAM NAME="MaxEventWait" VALUE="">
    <PARAM NAME="allowAlertClipboard" VALUE="true">
    <PARAM NAME="disableValidateClipboard" VALUE="false">
    <PARAM NAME="enableJavascriptEvent" VALUE="true">
    <PARAM NAME="MAYSCRIPT" VALUE="true">
    <PARAM NAME="digitSubstitution" VALUE="context">
    <PARAM NAME="legacy_lifecycle" VALUE="false">
    <PARAM NAME="JavaScriptBlocksHeartBeat" VALUE="false">
    <PARAM NAME="highContrast" VALUE="false">
    <PARAM NAME="disableMDIScrollbars" VALUE="">
    <PARAM NAME="clientDPI" VALUE="">
    <PARAM name="applet_stop_timeout" value="800">
    <COMMENT>
    <EMBED SRC="" PLUGINSPAGE="http://java.sun.com/products/archive/j2se/6u12/index.html"
    TYPE="application/x-java-applet;jpi-version=1.6.0_12"
    java_codebase="/forms/java"
    java_code="oracle.forms.engine.Main"
    java_archive="frmall.jar,crms_icons.jar"
    WIDTH="920"
    HEIGHT="680"
    HSPACE="0"
    VSPACE="0"
    NAME=""
    serverURL="/forms/lservlet?ifcfs=/forms/frmservlet"
    networkRetries="0"
    serverArgs="escapeParams=true module=/rcrmap1/rcrrgbg2/crms/10as/fmx_dir/CRMS_LOGIN.fmx userid= debug=no host= port= obr=no record= tracegroup= log= term= ssoProxyConnect=no"
    separateFrame="false"
    splashScreen=""
    background=""
    lookAndFeel="Generic"
    colorScheme="teal"
    serverApp="default"
    logo="no"
    imageBase="CodeBase"
    recordFileName=""
    EndUserMonitoringEnabled=""
    EndUserMonitoringURL=""
    heartBeat=""
    MaxEventWait=""
    disableValidateClipboard="false"
    allowAlertClipboard="true"
    enableJavascriptEvent="true"
    MAYSCRIPT="true"
    digitSubstitution="context"
    legacy_lifecycle="false"
    JavaScriptBlocksHeartBeat="false"
    highContrast="false"
    disableMDIScrollbars=""
    clientDPI=""
    applet_stop_timeout="800"
    >
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    <table border="0" width="1005" height="30" >
    <tr>
    <td width="74%" height="30" align="left"><img border="0" src="/rcrms/icons/f_cblogo.gif" width="65px" height="20px"><br>
    <font face="Garamond" size="1" >www.citigroup.net</font>
    </td>
    <td width="26%" height="30" align ="left" ><font face="Garamond" size="1.5">
    Terms,conditions, caveats and small print.<br>
    Copyright &copy; 2003 Citigroup. All rights reserved. Unpublished.</font>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>
    ======================================================
    forms.conf
    ====================================================
    # Name
    # forms.conf - Forms component Apache directives configuration file.
    # Purpose
    # It should include the weblogic managed server (routing) directives for
    # the servers where Forms applications are deployed and other miscellaneous
    # Forms component OHS directives.
    # Remarks
    # This file is included with the OHS configuration under
    # $OI/config/OHS/<OHS Node Name>/moduleconf sub-directory.
    # virtual mapping for the /forms/html mapping.
    RewriteEngine on
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    RewriteRule ^/rcrms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/rcrmap2/weblogic/bea/rcrms/config/FormsComponent/forms/html/$1"
    AliasMatch ^/rcrms/icons/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    # Virtual path mapping for Forms Java jar and class files (codebase)
    AliasMatch ^/forms/java/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    # Virtual path mapping for testcrms (codebase)
    AliasMatch ^/rcrms/java/(..*) "/rcrmap2/weblogic/bea/ORA_PFRD/forms/java/$1"
    <Location /forms>
    SetHandler weblogic-handler
    WebLogicHost kauh0079
    WebLogicPort 8001
    </Location>
    ====================================================
    Thanks,
    Harish

    Hi Michael,
    Thanks for your valuable inputs.
    Below line in CRMS_KR.htm was causing the problem because while directly hitting the CRMS_KR.htm we had hard-coded all the tag values which in other case is read from formweb.cfg
    Before:
    *<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?acceptLanguage=en-us">*
    We modified it to
    After:
    *<PARAM NAME="serverURL" VALUE="/forms/lservlet">*
    Now we are able to hit the below URL sucessfully
    http://scrmskr.apac.nsroot.net:7801/forms/html/CRMS_KR.htm
    Thanks & Regards,
    Harish

  • How to Link a URL to a Form

    Hi,
    I want to add an URL item that link to a Form. I have already created a form. How do I do that? Basically, when the user click this link, it will bring up the form.
    Please advise. I'm a newbie.
    Thanks
    Mary

    There are many ways to do what you want :
    I want to give one example
    1. You run your form from provider
    2. Copy the URL of That form
    3. in the page add item, choose url
    4. Paste the url Form to that http in item of the page when you add item.
    5. Give the display name

  • Removing Extra .GIF & "Back to Form" URL

    I have developed a Form that is based on a stored procedure in a package. When the form executes, the procedure in the package body executes. At the end of this procedure, there is a call to the report to be executed with the bind variables passed as parameters:
    report_1.show(p_arg_names => portal30.wwv_standard_util.string_to_table('bv1:bv2'),p_arg_values=>portal30.wwv_standard_util.string_to_table(lv1 &#0124; &#0124; ':' &#0124; &#0124; lv2)) ;
    This all works fine. The problem is that at the bottom of the report result page there is a .GIF file (success.gif) added to the page along with a URL with the text "Back to Form", which doesn't take you back to the proper place. How can I get rid of this .GIF and the URL?

    Hi,
    What you need is to convert this to URL form
    report_1.show(p_arg_names => portal30.wwv_standard_util.string_to_table('bv1:bv2'),p_arg_values=>portal30.wwv_standard_util.string_to_table(lv1 | | ':' | | lv2)) ;
    like:
    my_url := 'report_1.show?p_arg_names=bv1&p_arg_values=' &#0124; &#0124; lv1 &#0124; &#0124; .......... etc.
    then edit your form and add a CALL function to the "On success" , like :
    CALL(my_url);
    Please see this for some examples: http://otn.oracle.com/products/iportal/htdocs/portal_faq.htm#BuildingApplications
    Thanks,
    Dmitry

  • Task List - Show Related Item URL in the EditForm.aspx

    Hello guys,
    I have a document library and a task list, I used a script to open the task directly in EditForm.aspx
    (so the approve\reject buttons will be available directly on the form)..
    what is happening is i'm not able to display (Related Item) link in the EditForm.aspx, it is available only in the DispForm.aspx.
    Thanks.
    Imad El-Qasem

    Hi Rajani,
    as simple as this, SP workflow is associated with the library, when the document status is "closed" Task will be assigned to a user.
    in the tasks, the related item will appear only on the Dispform.aspx but not on the Editform.aspx.
    how to display related item in the Editform.aspx task form
    Thanks

  • Trying to dynamically output form fields returns URL values

    Hello,
    If there is a better way to go about this (which is quite likely), please let me know how to go about it.
    I'm working on some code that is supposed to dynamically set the form variables as regular variables so that we can be lazy and not have to refer to the variable with form.somevariable name.
    That part works perfectly.  Until I start testing for URL conflicts in which a URL variable has the same name.  For instance. . .
    I have a form that passes two variables; FirstName and LastName.  If I hit the page, the form shows up, I input a first and last name and click submit.  The code works perfectly.
    However, if I have URL variables with the same names, the code reports the url variable values instead of the form values.
    Some sample values;
    url.FirstName = Joe
    url.LastName = Black
    form.FirstName = Steve
    form.LastName = White
    My code that exposes the form variable will correctly find the form field names, but then when I 'evaluate' the value of the given form field, it will return the value of the URL variable of the same name rather than the form variable.
    What I am really wanting (as I described briefly up above) is to have code that automatically converts client, URL and Form variables into 'regular variables' so that you don't have to write lots of extra code grabbing them later on.  Frameworks like CFWHEELS and ColdBox do this by default, but at the company I work out, we aren't using any of them.  I need it to expose the URL variables, but give presidence to form variables if they have the same name, because they are likely to be intended to do an update or such.
    The code follows  Feel free to ignore the code for the URL and client variables if you wish as they don't directly affect how the form code works, I have tested with them commented out and I get the same result.  I provided all of it to give a more complete idea of what I have been toying with so far.  Please note that I don't normally use 'evaluate'.  There is probably a better way to go, but I don't know what it is.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <!--- Create a form so that we can post some form variables --->
    <form action="" method="post">
        First Name <input type="text" name="FirstName" />
        Last Name <input type="text" name="lastName" />
        <input type="submit" />
    </form>
    <!--- Set a variable to hold the list of URL variable names --->
    <cfset paramsurl = structKeyList(url)>
    <cfoutput>
    <br />
    URL variables:
    <!--- Loop through the list of url variables and then dynamically set a new variable to be equal to whatever is held by it --->
        <cfloop index="i" list="#paramsurl#">
            <cfset myDynVar = Evaluate(i)>
            <!--- Let's output the dynamically created variable as a test --->
            #i# = #myDynVar#<br />
        </cfloop>
    </cfoutput>
    <!--- If form fields exist --->
    <cfif isdefined("Form.FieldNames")>
        <cfoutput>
            <b>Field Names:</b> #Form.FieldNames#
            <p>
                <b>Field Values:</b><br>
                <cfloop INDEX="TheField" list="#Form.FieldNames#">
                    #TheField# = #Evaluate(TheField)#<br>
                    <cfset TheField = Evaluate(TheField)>
                </cfloop>
            </p>
            Lets try and output the two form fields without using the "form." notation<br>
            FirstName : #FirstName# <br />
            LastName : #LastName#
        </cfoutput>
    </cfif>
    <br />
    The client variables currently available are:<br />
    <cfoutput>
        <cfset nVarCounter = 1>
        <cfloop list="#GetClientVariablesList()#" index="whichClientVar">
            #whichClientVar# : #client[whichClientVar]#<br />
            <cfset whichClientVar = Evaluate(whichClientVar)>
        </cfloop>
    </cfoutput>

    Try this:
    <cfset structAppend( FORM, {
              'alpha' = 'bravo',
              'charlie' = 'delta',
              'echo' = 'foxtrot'
    }, true ) />
    <cfset structAppend( URL, {
              'alpha' = 'zulu',
              'lima' = 'mike',
              'echo' = 'papa'
    }, true ) />
    <!--- List the scopes in ascending order of importance. --->
    <cfdump var="#FORM#" label="FORM scope" />
    <cfdump var="#URL#" label="URL scope" />
    <cfset scopes = "url,form">
    <cfloop list="#scopes#" index="i">
              <cfloop list="#structKeyList( evaluate( i ) )#" index="j">
                        <cfset structInsert( VARIABLES, j, evaluate( i & '["' & j & '"]' ), true ) />
              </cfloop>
    </cfloop>
    <cfdump var="#VARIABLES#" abort="1" label="Combined Variables Scope" />
    What I did is insert 3 key/value pairs into the FORM and URL scope.  I then dumped the scopes to show their structure and values.  Then I defined a variable (scopes) which is a list of the least important scope to the most important.  After that, the loop I do simply goes through the SCOPES, their exisiting key/values and sets them into the VARIABLES scope.  Then, when it moves to the next scope of importance, it simply puts their value into the variables scope as well (overriding in the event it already exists), thus, the scopes defined later in the list override and replace.
    Then I just dump the VARIABLES scope (you'll notice it has the I, J and SCOPES variables in there that I used to create the loop.  If you perform this action in a function, simple make the I, J and SCOPES variables part of the LOCAL scope so they won't be in your VARIABLES scope.

  • Passing URL parameter to form

    Hi, i'm currently building a back-end for a small site. What
    i'm trying to do is enable a user to edit and update an article.
    I've got a dynamic table, i'm trying to use a URL form parameter to
    pass the unique ID of an article to a form that brings up the
    article for editing, but its not working, its just bringing up the
    same record whatever link is clicked in the dynamic table. Can
    somebody point out whats missing? I'm using PHP & mySQL.
    Thanks, any help appreciated.

    You don't specify what language you're using, or how you're
    populating your
    form.
    If you're using a recordset to populate your form, simply
    edit it and then
    set the filter to your ID field, and use the URL parameter to
    capture your
    variable. Make sure in your recordset for your page to
    display the records
    you put the same variable name as you use on your previous
    page with the url
    variable.
    HTH,
    Jon
    "MarkAD88" <[email protected]> wrote in
    message
    news:e4f5s9$4l$[email protected]..
    > Hi, i'm currently building a back-end for a small site.
    What i'm trying to
    > do
    > is enable a user to edit and update an article. I've got
    a dynamic table,
    > i'm
    > trying to use a URL form parameter to pass the unique ID
    of an article to
    > a
    > form that brings up the article for editing, but its not
    working, its just
    > bringing up the same record whatever link is clicked in
    the dynamic table.
    > Can
    > somebody point out whats missing? Thanks, any help
    appreciated.
    >

Maybe you are looking for