Running application behind the proxy

Hi,
I have developed one test SAPUI5 application and using Northwind OData service.
Application is working fine but when I try to run in my office network which is behind the proxy, application is giving "407,Proxy Authentication Required". Following is the web console log.
Yes this is the obvious behavior as I have to give my user name and password for accessing internet from my office network.
My question is how should I specify proxy user name and password in SAPUI5 application while accessing OData so that I can run it behind the proxy also.
/Products [HTTP/1.1 407 Proxy Authentication Required 88ms]
"2014-04-30 14:47:11 The following problem occurred: HTTP request failed407,Proxy Authentication Required,<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD>
<BODY>
<FONT face="Helvetica">
<big><strong></strong></big><BR>
</FONT>
<blockquote>
<TABLE border=0 cellPadding=1 width="80%">
<TR><TD>
<FONT face="Helvetica">
<big>Access Denied (authentication_failed)</big>
<BR>
<BR>
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
Your credentials could not be authenticated: "Credentials are missing.". You will not be permitted access until your credentials can be verified.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica">
This is typically caused by an incorrect username and/or password, but could also be caused by network problems.
</FONT>
</TD></TR>
<TR><TD>
<FONT face="Helvetica" SIZE=2>
<BR>
For assistance, contact your network support team.
</FONT>
</TD></TR>
</TABLE>
</blockquote>
</FONT>
</BODY></HTML>
Regards,
Vikram

Have you configured the proxy settings in Eclipse? I believe the SimpleProxyServlet uses the Eclipse Authenticator, and you can configure the proxy username and password in Eclipse.
SAPUI5 SDK - Demo Kit
Internet Servers
TheSimpleProxyServletcan be configured for proxy requests to internet servers in the same way as for intranet servers. Additional proxy settings may be necessary.
As theSimpleProxyServletautomatically uses the proxy settings from your Eclipse this can be configured in Eclipse under Window Preferences , and select General Network Connections . Here you can specify the proxy entries and the proxy bypass.
For example, set Active Provider to Manual, Schema=HTTP, Host=proxy, Port=8080 under proxy entries and localhost, *.sap.corp as Host under proxy bypass.
Regards,
Jason

Similar Messages

  • Running forms behind a proxy

    need help on how to run forms behind a proxy.
    i got this error when i try to run forms behind a proxy:
    FRM-92060:Failed to connect to the Server.
    Bad Machine specification:starlite.ph:9000
    Thanks.

    First I am not quite sure about this, but I think it may be because of the proxy does not support Oracle net8 connections (suppose you user version 8 or above).
    Can your sqlplus connect to the database through the proxy correctly?
    I know some proxy need some configuration in order to let Oracle work correctly.
    null

  • How to continue the running process behind the model dialogue box options ?

    How to continue the running process behind the model dialogue box options like this
    In Updation of K7 user press the Cancel Button
    New dialogue box appear with Yes/No options.
    But the backend updation is going on... not Pause the updation.
    Like this how to do ?
    Please provide me code.

    I don't know, if you mean you have done your form or you have solved the problem.
    It's visible your code is only partly reflecting your screenshot, and that's okay to demonstrate the problem you have given a fine example.
    As you marked my suggestion as solution this may not be needed anymore, but here's how I modified your code and used a self made QuestionBox instead of messagebox.
    The essential part is defining a callback method and letting the QuestionBox call back there. It's not essential I used RAISEEVENT, but it's fine as it has all the behaviour and parameters needed to call back.
    Public oTestFrm
    oTestFrm=Createobject("MyForm_Model_to_NonModel")
    oTestFrm.Show
    Define Class MyForm_Model_to_NonModel As Form
    onxx = 0
    Add Object lbl_DispValue As Label With Top=90, Left = 120, Width = 50, Height=30, Caption=''
    Add Object cmd_Start As CommandButton With Top=120, Left = 120, Width = 50, Height=30, Caption='Start'
    Add Object cmd_Stop As CommandButton With Top=120, Left = 190, Width = 50, Height=30, Caption='Stop', Enabled =.F.
    Procedure cmd_Start.Click
    This.Enabled =.F.
    Thisform.cmd_Stop.Enabled =.T.
    Thisform.onxx = 0
    Do While Thisform.onxx < 90000000
    DoEvents
    Thisform.onxx = Thisform.onxx +1
    Thisform.lbl_DispValue.Caption = Transform(Thisform.onxx)
    Enddo
    This.Enabled =.T.
    Thisform.cmd_Stop.Enabled =.F.
    Thisform.lbl_DispValue.Caption = ''
    Procedure cmd_Stop.Click
    * Here, I want NO PAUSE -- (Show running numbers continuously...)
    * how to control Model to NonModel in Messagebox.
    QuestionBox('Really stop the process', Thisform, 'handleanswer')
    Endproc
    Procedure handleanswer
    Lparameters tlYes
    If tlYes && means Stop
    Thisform.onxx = 99999999999999999
    Endif
    Endproc
    Enddefine
    Procedure QuestionBox()
    Lparameters tcMessage, toCaller, tcCallback
    If Not Pemstatus(_Screen,"oForms",5)
    _Screen.AddObject("oForms","Collection")
    Endif
    oMsgBox = Createobject("QuestionBoxForm", tcMessage, toCaller, tcCallback)
    _Screen.oForms.Add(oMsgBox)
    oMsgBox.Show(2)
    Endproc
    Define Class QuestionBoxForm As Form
    Autocenter = .T.
    AlwaysonTop = .T.
    Minwidth = 200
    Add Object label1 As Label With AutoSize=.T., WordWrap =.T.
    Add Object cmdYes As CommandButton With Caption = "Yes", Width=40
    Add Object cmdNo As CommandButton With Caption = "No", Width=40
    Procedure Init()
    Lparameters tcQuestion, toCaller, tcCallback
    Thisform.label1.Caption = tcQuestion+" ?"
    This.AddProperty("oCaller",toCaller)
    This.AddProperty("cCallback",tcCallback)
    This.Width = Max(This.Minwidth, Thisform.label1.Width)
    Thisform.label1.Left = (This.Width-Thisform.label1.Width)/2
    This.Height = Thisform.label1.Height+48
    This.cmdYes.Left = This.Width/2 - 10 - This.cmdYes.Width
    This.cmdNo.Left = This.Width/2 + 10
    This.cmdYes.top = Thisform.label1.Height+24
    This.cmdNo.top = This.cmdYes.top
    Endproc
    Procedure cmdYes.Click
    #Define clYes .T.
    Raiseevent(Thisform.oCaller,Thisform.cCallback,clYes)
    Thisform.Release()
    Endproc
    Procedure cmdNo.Click
    #Define clNo .F.
    Raiseevent(Thisform.oCaller,Thisform.cCallback,clNo)
    Thisform.Release()
    Endproc
    Enddefine
    I didn't yet introduced a timer for counter display updates. As you see the counter hangs a bit, if you mouse over your form, but it is a way of multithreading without using a separate thread and instead keep the rest of the application active by DOEVENTS
    in the long running loop code.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH http://www.tmn-systemberatung.de

  • Java chat client behind the proxy or fire wall

    i am developing the chat application useing java.net.*.but i am not able to get connectivity behind the firewall or proxy on the java client.pls help me out

    to guarantee easy to use, no problem chat applet then you will need to have the chat server running on port 80 and the client use http request/response system
    first problem is that the applet will have to have been delivered from port 80 on the same ip# so you will either have to use Servlets or write your own web server with chat facilities
    you will need to maitain persistent/ pseudo persistent http connections for the server to deliver messages to clients, you can assume that a connection will remain open for ~ 5 minutes after a request from the client
    use HTTP/1.1 for reliable Connection: keep-alive and request/response pipelining
    with all that in place your client method is...
    register and send GET /chat <wait for upto 5 mins>
    if there is client activity send POST/chat <wait for upto 5 mins>
    if the above waits timeout send GET/chat <wait for upto 5mins>
    server method...
    accept GET/POST requests from client
    if there is chat to deliver, reply to most recent request from client
    if you recive another request before the previous one's reply is used, send a No Content reply to the previous request

  • Howto run appserver behind apache proxy

    I have an existing site that runs great on apache and have installed oracle application server elsewhere, now I need apache to redirect pages of /foo to oracle application server
    in my apache config I have proxypass and proxypassreverse
    when I access /foo then oracle application server sends a redirect using the host name of the box it's running on (which is behind the firewall and not accessisable) looking at the generated source all paths are relative so it appears the redirect is coming before the webapp ever sees the request
    I'm using version 0.1.2.0.2
    Has anyone done this? How do I do it?

    We are using mod_proxy to proxy requests for JSP and servlets to oc4j . This works fine
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /servlets http://oc4j_server_name:port/web_app/servlet
    ProxyPassReverse /servlets http://oc4j_server_name:port/web_app/servlet
    ProxyPass /jsp http://oc4j_server_name:port/web_app/jsp
    ProxyPassReverse /jsp http://oc4j_server_name:port/web_app/jsp
    </IfModule>

  • Simultaneous uploads behind the proxy

    In AIR application, I am uploading two files simultaneously using FileReference.upload(). It works perfectly fine on all operating systems in most of the cases but in some cases doesn't work e.g when auto detect proxy option is checked on Mac OS. Although for FileReference API, it is documented that you must upload files one by one but it works really fine in most of the cases.
    In debug proxy, it shows same request on both connections and one connection is in wait state. Did anyone encountered this situation? and know whats the root cause of this error? As a workaround, I tried determining upload mode (simultaneous/sequential) using two dummy files, but it is really random. sometimes two files are uploaded successfully and in some cases IO error is thrown after a long time.

    Have you configured the proxy settings in Eclipse? I believe the SimpleProxyServlet uses the Eclipse Authenticator, and you can configure the proxy username and password in Eclipse.
    SAPUI5 SDK - Demo Kit
    Internet Servers
    TheSimpleProxyServletcan be configured for proxy requests to internet servers in the same way as for intranet servers. Additional proxy settings may be necessary.
    As theSimpleProxyServletautomatically uses the proxy settings from your Eclipse this can be configured in Eclipse under Window Preferences , and select General Network Connections . Here you can specify the proxy entries and the proxy bypass.
    For example, set Active Provider to Manual, Schema=HTTP, Host=proxy, Port=8080 under proxy entries and localhost, *.sap.corp as Host under proxy bypass.
    Regards,
    Jason

  • How to get the remote user IP address if behind the proxy or firewall

    Hi
    How do i get the remote user Ip address who is invoking the servlet behind from a firewall.
    When i use getRemoteHostAddr it gives the proxy ip address not the actuall user host address... Kindly let me know how to get the actual user ip address
    satish

    There is no reliable way to determine the original IP, and such information is not useful to you if the original IP is behind a firewall. What do you propose to use it for? There is probably an alternative way to do things that does not require the remote IP.

  • Trying to run application in the background

    Hello there,
    I have written a small app using Apple Script. From the editor I have saved it as application and would like to run it as a background process. That is, I don't want it to show in the list of active applications I can switch to when I press command-tab. It does not matter if it is displayed in the dock or not. What I want to avoid is that every time that I switch to a different application that windowless application is also listed. By the way, I'm launching the application as a start up application and I have selected to hide the application, but it does not help, so I'm not sure if I'm missing anything. Any advise will be appreciated.
    MV

    01. Save the AppleScript code as an 'Application Bundle', via 'Script Editor's 'File, Save As...' menu items' 'File Format:' popup buttons' 'Application Bundle' menu item.
    02. In 'Finder' - '<control>' click (or right click, if using a multiple button mouse) on your just saved 'Application Bundle' application, and select the 'Show Package Contents' menu item. A window containing a folder 'Contents' will appear.
    03. Double click on the 'Contents' folder. A Window, titled 'Contents' will appear.
    04. Using 'Property List Editor' (installed when installing 'Xcode') open the file 'Info.plist'. A window titled 'Info.plist' will appear.
    05. Click on the disclosure triangle (which is pointing to the right) to the left of 'Root'. The disclosure triangle will point down, and the contents of 'Root' displayed.
    06. Click on 'Root'; the 'New Sibling' button will be renamed 'New Child' and will become enabled ... or ... Click on any item below 'Root'; the 'New Sibling' will become enabled.
    07. Click on the 'New Child' or 'New Sibling' button.
    08. Enter 'LSUIElement' (without the single quote marks), and then press either the '<tab>' or '<return>' key. The entry may jump to a new position.
    09. Locate the 'LSUIElement' entry row (listing), and under the 'Value' column click twice, enter '1' (without the single quote marks), and finally press the '<return>' key.
    You should now see (under 'Property' 'Class' 'Value' respectively) ...
    LSUIElement String 1
    10. Close the 'Info.plist' window. A drop down sheet will appear. Click on the 'Save' button.
    11. Quit 'Property List Editor'.

  • Minimizing and running applications in the background

    I'm writing an app that I want to run in the background, executing a job every time period. My question is how do I minimize the JFrame so that is goes into the System tray(Y'know where you find the Volume control, PPP modem connection icon, etc...)
    I know it can be done because LimeWire does it, but I don't see anything obvious in the docs how it was done. Help is much appreciated, and thanks in advance.

    You can use the JTray API (Java System Tray API For
    Windows) that can be found at http://www.JavaAPIs.com.
    It supports several image types, animation, and
    display of AWT and Swing Components as pop-ups. I always find it rather annoying when people scour past posts to promote a product that they have a vested interest in.
    Especially when they don't point out that that they have such an interest.
    Especially when they don't point out that the interest is monetary.
    Especially when they do nothing but post ads - never actually answering a single question.
    Just me I suppose.

  • Is it allowed and possible to sell your running application in the Apple Appstore to another company, who wants to buy (take-over) the app?

    Hi,
    If you build a very succesful app in the Appstore and now you get a lot of interest from other companies to buy the application(s), is this allowed from Apple and how is this possible if you want to sell your app to the interested company?
    Does this include that all the current users will move to the new owner and would it be possible to rebrand and rename the app?
    Looking forward to your expertise.
    Cheers, Peter

    Unless something has changed lately, no.
    You have to remove the app from sale and then add it back into the new account. Apple won't transfer apps to another account and unfortunately it will lose all current users.

  • Run application at the startup

    but its not local profile. It is network profile so when i click network account I do not get login items tab.
    Is there other way where I can start programs even if I dont login as an administrator?
    thank you

    Also we do have Mac X serve.. is it possible to push that application to startup @ every login... its AD profile...

  • Running Local Applications accross the Internet

    Am working on a topic in which am required to run applications accross the internet. the basic elements of this are:
    Connecting to a database and a client sending and receiving data.
    Sending execute request to execute .exe or batch files on the server.
    Enabling some components of a legacy software GUI to appear to a client through an applet and the client can input data and it is sent to the server.
    Create folders and files on server and send data to that server.
    View Maps on the internet in a webpage by client
    For these am just new to Java, am asking for advice how best to do it and what books, internet sites and materials are good. I dont want to take too much time on it.
    Thank you.

    The better solution, from my point of view is to build a Swing application that is adapted to an applet. Books: Search for swing books. See the tutorial on the sun site. Also search the web. Another thing go to the Swing forum and see what they say there.

  • Accessing an APEX aplication behind a proxy

    Is there a document explaining a virtual host setup to access an APEX (3.0.1) application behind a proxy server? What parameters should be passed to ProxyPass and ProxyPassReverse? I'm getting this error message:
    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    I'm running Apache on Linux Fedora 7.
    Thanks,
    Art

    Hi Art,
    Just to clarify, when you say 'proxy' you mean
    another Apache server right? (As opposed to a
    hardware proxy).I've got another Apache server on a different machine.
    I did but they relate to the older applicationversion
    The version of APEX has no bearing on this, those are
    settings for the Apache configuration which is
    'transparent' to APEX.
    RewriteRule ^/$ /pls/htmldb/f?p=150:1 [R=301]The '150' refers to the Application Id, the '1'
    refers to the page number you want to default to (you
    could omit this if you handle it in your
    application). The 'R=301' is a directive to tell
    Apache that this is a permanent redirect (i.e. it
    issues an HTTP-301 response to the browser).John, I can access APEX' root directory (the one with oracle's license) internally from my other machines on the network (http://XXX.XXX.X.X:8080/) and I'm trying to access it from outside before I create any application. Below are my settings. With or without a rewrite part, I'm getting this error: Service Temporarily Unavailable.
    For a rewrite part, I've tried:
    RewriteRule ^/$ /pls/htmldb[R=301]
    RewriteRule ^/$ /pls/apex [R=301]
    RewriteRule ^/$ /pls [R=301]
    RewriteRule ^/$ /apex [R=301]
    RewriteRule ^/$ / [R=301]
    <VirtualHost XXX.XXX.X.X:80>
    ServerName www.abc.com
    ProxyPreserveHost On
    RewriteEngine On
    RewriteRule ^/$ /pls/htmldb/ [R=301]
    ProxyPass / http://XXX.XXX.X.X:8080/
    ProxyPassReverse / http://XXX.XXX.X.X:8080/
    </VirtualHost>
    What am I missing?
    Thanks,
    Art
    Message was edited by:
    user588748

  • Java JRE 1.7 & 1.8 is not detecting the proxy (TMG) server

    Hi ,
    We are using the windows 7 64 bit OS and JRE 1.7 and 1.8. The Java and eclipse running behind the proxy server.
    We are using Microsoft Forefront TMG client.
    We are trying to connect the maven / eclipse market place but its not detecting the TMG server.
    Up to java 1.6 there no error while accessing maven / eclipse market place. after upgrade the java we are facing the issue.
    Issue: I am unable to connect to Maven Repository(https://repo.maven.apache.org/maven2/....) when I use Java 1.7
    where as I am able to connect to maven repository when I use Java 1.6
    I used the windows command prompt.
    Got below message
    "[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-clean-plugin:2.5: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artif
    act descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5
    org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven
    -clean-plugin:jar:2.5
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:122)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(DefaultMavenPluginManager.java:148)
    at org.apache.maven.plugin.DefaultBuildPluginManager.loadPlugin(DefaultBuildPluginManager.java:81)
    at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:138)
    at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolveFromProject(DefaultPluginPrefixResolver.java:121)
    at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:85)
    at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
    at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:103)
    at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:83)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.jav

    Refer similar post.
    https://community.oracle.com/thread/3634249

  • Connecting to a database through the Proxy using JDBC

    Hi,
    I am working on core java.
    I want to established connection to remote database(I am working on local network behind the proxy)
    how can i do this using core java
    thanks in advance
    regards
    Man479

    The only issue I see here is configuring the proxy to allow the client program to connect to a certain port on the server. And that issue would normally be dealt with by asking the person who manages the proxy to set it up that way.

Maybe you are looking for

  • Total in REUSE_ALV_BLOCK_LIST_HS_APPEND

    hi, i am using "REUSE_ALV_BLOCK_LIST_HS_APPEND" to display alv in hierarchy. i have some 5 columns to display, i need to have total for all these 5 columns at the end and text for it as "TOTAL". i have used DO_SUM in fieldcat and declared layout to d

  • Payment against sales order and subsequent release

    Hi Team, The client wants to save the sales order only after getting the payment.can any body tell me how to configure or to control the scenario. Example:on receipt of payment either through PDC or cash the client wants to generate the sales order .

  • Preventing SO moved from one PC to another

    I have an application that needs to store a "key" on a specific PC and it's important that the user can't simply move a Shared Object from one PC to another to "Key" the 2nd PC. Is there any way of reading PC Specific information to identify the PC i

  • Portege M200: How to start the OS installation?

    I have a m200 and it is going all over the place i don't think i'm technical enough to fix it, even with extensive help. I want to to a reset/install but obviously i need a compatible external drive for that which i cant afford. I want to boot off of

  • Printing shop paper for Service Order

    Hi, I can see for service orders (IW31) shop papers are used to print documents. And shop papers are basically written in sapscript. They are configured in SPRO for each order type along with their program name and subroutine name and form name. But