HTTPS Post does not work in the OFA Page

Hi all

I created a Page of the OFA, by clicking on button I do next.

//--------------------------------------------------------
private static String contactService(String xmlInputString) throws Exception {}
String outputStr = null;
OutputStream outputStream = null;
try {}

URL url = new URL ("https://wwwcie.ups.com/ups.app/xml/ShipConfirm");

HttpURLConnection connection = () (HttpURLConnection) url.openConnection;
System.out.println ("Customer connection established with" + url.toString ());
Configure the HTTP POST parameters
connection.setDoOutput (true);
connection.setDoInput (true);
connection.setUseCaches (false);

outputStream = connection.getOutputStream ();
outputStream.write (xmlInputString.getBytes ());
outputStream.flush ();
outputStream.close ();
System.out.println ("Http status =" + connection.getResponseCode () + "" + connection.getResponseMessage ());

outputStr = readURLConnection (connection);
System.out.println ("Response..." + outputStr);
} catch (Exception e) {}
System.out.println ("error sending data to the server..." + e.getMessage ());
throw e;
} {Finally
If (outputStream! = null) {}
outputStream.close ();
outputStream = null;
}
}
Return outputStr;
}

//----------------------------------------------------
public static String readURLConnection (URLConnection uc) throws Exception {}
StringBuffer buffer = new StringBuffer();
BufferedReader reader = null;
try {}
reader = new BufferedReader (new InputStreamReader (uc.getInputStream ()));
Letter int = 0;
reader.readLine ();
While ((letter = reader.read ())! = - 1) {}
Letter from buffer. Append ((Char));
}
Reader.Close ();
} catch (Exception e) {}
System.out.println ("could not read from URL:" + try ());
throw e;
} {Finally
If (reader! = null) {}
Reader.Close ();
Reader = null;
}
}
Return buffer.toString ();
}

Now, when I run this JDEVELOPER local it works fine, but when when depolyed on the server, then when I click the button then page gets hanged and it does nothing.
Is there any setting I should do in APPS environment. or anyone had done the same. any help will be appreciated.

Thank you
Vijay chraibi

Hello

If your code works fine in JDev and it does not work on the instance, then you can trigger SR with Oracle for Ptoduct JDeveloper.

Kind regards
Out Sharma

Tags: Oracle Applications

Similar Questions

  • FRM-10142 the http listener does not work on the name of the computer to the port 80

    Hello

    During the race, the oracle 12 c form a following error message

    FRM-10142 the http listener does not work on the name of the computer to port 80. Please start the receiver or check your preferences of runtime.

    Sandy

    First, you will need to check the SST is running.

    go to admin server url in your browser, click on the target icon that is left top of your admin home go to the http server and then start your ohs1.

    and open your generator of forms go to the updated runtime default url like e.g. OSH, you can find your url such as http://localhost:7777 or http://localhost:7779.

    your full url looks like this format http://localhost:7777/forms/frmservlet or http://localhost:7779/forms/frmservlet.

    Localhost can be your default ip 127.0.0.1 or any static ip 192.0.0.10 address in this format.

  • "back" button does not work and the home page does not display on startup

    My buttons next and previous no longer work. They show just gray and I cannot click on them.
    Also my home page does not appear when I launch firefox.
    I reinstalled firefox 4 and then I went back to firefox 3.6.16 and have the same problem in both versions.
    Don't know what to do anymore
    I just found out that when I opened a second window everything works well in the second window, but it still does not work in the first window.
    The same thing happens when I close both windows. The first window of my home page does not appear and the back button does not work, but the second window is operating normally. Including my home page.

    Try:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    • Makes no changes on the start safe mode window.

    See:

  • Search button does not work on the start page

    When I get home the point I want to search i.e. Griffin vulture in the search bar in the center of the home page and then click on the button Search to the right of the bar, that nothing happens

    Try to use the extension SearchReset reset preferences to default values.

    Note that the SearchReset extension runs only once and then uninstalls automatically, so it will not appear on the page "> Firefox Add-ons" (topic: addons).

    You can also check if you have the XML files including Google's default search engine in the searchplugins folder in the Firefox program folder.

    If this isn't the case, then you need to reinstall Firefox.

  • When I open a new tab, the back button does not work on the second page, I discover - never the second page, regardless of the site.

    When I opened a new tab - or when I first open a browser - as soon as I go to a second page, I can't go back to the first. Thus, for example, I opened a new tab. I go to a news site. I click on a title. I can not then go back to the first page of the new site. If I go back to the first page manually (by typing the url, or by opening a bookmark) and then click on the same heading, I'll be able to go back.

    The inability to return only ever happens on the second page opens in a new tab or window. At any time, I can go back as normal - but the first page I was on that tab / in this window is erased from history.

    This isn't something that's happened only with FF4, either. I first noticed a couple of weeks, but I upgraded shortly after, assuming it was a bug that would set the new browser. But it's always like that. He still refuses to back the second page of the first.

    This problem may be caused by an extension (McAfee SiteAdvisor) that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the Add-ons is the cause of the problem (switch to the DEFAULT theme: Tools > Modules > appearance/themes).

    • Makes no changes on the start safe mode window.

    See:

  • box to create an eFax account does not work on the eFax page

    I'm having the same problem. The account you create on the efax page is grayed out. I have windows XP, can anyone help me fix this please? TIA

    Tom McC

    Hi jintsfan28,

    Welcome to the HP Support forums.  I understand your button to eFax to create a new account in gray.

    For that matter, please call the HP Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you do not live the USA/Canada region, please click here to find the number of Technical Support for your country/region.

  • JavaScript function does not work on the JSFF page load but runs on page refresh

    A bit of background first:-I'm a front-end developer who use jDeveloper to build templates/pages. I also manage client scripting using af:clientListerner tags. But my knowledge on the related backend stuff (beans, triggers, actions) etc. is almost zero. So, I'll use technical very simple terms to describe my problem.


    Scenario:


    Let's say I have two pages JSFF, first.jsff , and second.jsff


    In first.jsff, I have a command link that navigates to second.jsff. Inside of this page, I have a javascript function that I need to run when the user interface is rendered. But as soon as second.jsff load, my JS function never fires. Only when I refresh the page see running. This what second.jsff looks like:

    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:f="http://java.sun.com/jsf/core">          
       <af:panelGroupLayout id="pgl17" styleClass="mainBox AFStretchWidth">
           <af:resource type="javascript">
                function runOnLoad(){
                      alert("Hello world");
               }
               runOnLoad();
            </af:resource>
            /*   other ADF components go below this line
            .
            .
            .
            */
       </af:panelGroupLayout>
    </jsp:root>
    
    
    

    So I see the alert only when I refresh the page (i.e. after the redirection occurs, I have to refresh the page to make the JS run)

    What I'm missing here?

    jDeveloper version is 11.1.1.9.0

    You will use this fragment of .jsff inside the .jspx page. In the .jspx inside the af: document add clientListener as:

        
          
          .
          .
          .
        
    

    Change the javascript method to be:

     
          function runOnLoad(event)
          {
            alert("Hello world");
           }
     
    
  • Portege Z830 - X 11 - enter key does not work on the logon screen

    suddenly, the Enter key does not work in the scrreen of connection (win 7 64 bit, toshiba portege Z830 - X 11), which some do not login with password.

    The on-screen keyboard sends the "enter" or the other.
    When in safe mode, everything works as it should.

    I solved this problem by disabling the password for the account, but I don't feel well in this situation.

    Help, please...

    Have you tried an external USB keyboard?
    Do this!

    Not very well why the ENTER key does not work on the login page, but I guess its problem of keyboard.

  • AutoComplete does not work on the address field.

    AutoComplete does not work on the address field. This means that the completed form is missing from the address. What is special about the address field and why doesn't autocomplete work? I have NOT opted for "don't follow it.

    http://www.thepetitionsite.com/TakeAction/918/708/047/

    Hi robmm76. I looked at the link you provided. It seems that the reason why AutoFill does not work for the address field is because of the way this field has been programmed on the site. It has been programmed to make type you part of your address and click on the right pair and it would then fill in city, State and zip code. If this field is just a special case.

    I hope this information answers your question. If you need more information or help please do not hesitate to reply to this reply.

  • Shortcut Ctrl C does not work in the main window of Firefox

    I use Firefox version 38.0.5, Windows 7
    Since the update Ctrl + C shortcut does not work in the main window of Firefox. (I can't copy text from any website using Ctrl + C).

    Click right and using the copy in the menu works perfectly. CTRL V and Ctrl X work fine without problem.

    Ctrl C works fine when copying text from the address bar and search bar, I just can't copy anything from anything in the main window of firefox.
    

    I tried to run Firefox in safe mode, I have also reset firefox and a virus scanner, but nothing has solved the problem.

    If anyone has any suggestions, that would be great. Thank you

    See:

    • bug 1173979 - copy Ctrl + C is broken in the last Irish FF 38.0.5

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • SQLite Manager does not work with the v11. Until make you it easier to go back to older versions or newer versions stop, breaking most of the modules I won't use Firefox

    SQLite Manager does not work with the v11. Until that make it easier to return to older versions or newer versions stop, breaking most of the modules I use FirefoxHow to come back at 10 Firefox?

    Update Firefox 23.0 which published yesterday afternoon.

  • The new tab (+) does not work, or the file/new tab feature

    The new tab (+) does not work. The function of the file/new tab does no more work. Both had worked correctly until noon today. I haven't added any software, plug-ins or extensions today, I do not have the Ask toolbar. I tried several of the suggestions made on this site, nothing helps.

    This problem may be caused by an extension that does not work in the current version of Firefox.

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance).

    • Do not click on the reset button on the start safe mode window or make changes.
  • loads of YouTube but then when I click on a video it doesent play. It worked fine the other day and it does not work in the past and suddenly. Help, please!

    loads of YouTube but then when I click on a video it doesent play. It worked fine the other day and it does not work in the past and suddenly. Help, please!

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > storage (Cache) offline: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • My Lenovo ThinkPad(red scroll) scroll function does not work in the new Firefox 4. It worked very well at point 3.6. Can you please fix this because it is a very important feature.

    (Middle button) scroll feature does not work on the new firefox 4. For this reason, so I need to move the scroll bar to move the page. It's very irritating problem, if you are a guy who uses the middle button to scroll. Can you if you please fix this...

    Thank you!!!

    I've updated to Firefox 4.01 today and the Center knob on my Lenovo T400 does more. I downloaded the updated Ultranav utility and the Ultranav driver for my T400 by http://www-307.ibm.com/pc/support/site.wss/MIGR-72858.html , then uninstalled the 'Thinkpad Ultranav Driver' to add/remove programs, rebooted and then installed the update utility and driver (another reboot) and now it works perfectly.

    So happy to get it working again.

  • Touch Pad Mac Book Pro does not work since the 10.11.3 update

    My touch pad does not work since the update of El Capitan 10.11.3, y at - it nothing to do with this update or is this a hardware problem?

    Mouse Magic Mouse and USB work correctly

    Try SMC and NVRAM resets:

    https://support.Apple.com/en-us/HT201295

    https://support.Apple.com/en-us/HT204063

    If no success, make an appointment in an Apple store genius bar.  The assessment will be FREE.

    Ciao.

Maybe you are looking for

  • From itunes to an mp3 CD burned on a macbook OSX 10.7.5. The cd plays a sound skreechy in the wave cd player. How can I fix it?

    Burned a cd from itunes to an mp3 on a macbook OSX 10.7.5. The cd plays a sound skreechy in the wave cd player. How can I fix it? The cd will play the mp3 in the macbook. He play the cd or access my itunes music? I burn on CD documents successfully.

  • App Tabs open as tabs complete restart Firefox 8?

    I have a few pins App Tabs... and they all open as normal tabs when I restart Firefox? So now whenever I launch Firefox, I'll have 4 small App Tabs on the left and repeat the 4 app tabs open as normal tabs, a total of 9 tabs (including my home page).

  • Office Onenote

    I recently bought a satellite pro laptop computer & it was delivered with MS Office onenote 2003. Beneficial, as it is however unable to enjoy im did ' it seems not to have been correctly installed. Whenever I try to run the program, it opens the ins

  • Run the command

    When I use the command "run" say - ipconfig - the config appears on the screen, but the window is then immediately closed and I don't get a chance to read the screen. Is there a setting that can change this so that the window / screen stays on until

  • T520 sizes of disk Physics Max (SSD/HDD)

    What is the largest mSATA of ability that can go in the mSATA slot in a T520 (April 2011)? Thank you!