How to replace server url to proxy url in OData Response

Hello experts,
i'm facing a problem with SAP gateway in combination with a proxy . We use a proxy to call SAP gateway from the Internet.
So we make a http call to the proxy like: http://proxyserver:8000/sap/opu/odata/sap/testservice.
But in the OData response in every href tag of the xml the url shows the internal server url like
atom:link rel="self" href="http://internalserver:8000/sap/opu/odata/sap/testservice/$metadata"/>
Especially in a senario when using a proxy we don't want to give the internet (external) user information about the inner infrastructure.
Is there a posibillity to change the urls in the OData document to the url of the proxy?
Many thanks
Xiang

Hi Xiang,
Have you tried this configuration option using table HTTPURLLOC yet?
URL Generation - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
Best Regards,
Andre

Similar Messages

  • How to post  data to  external  Server URL

    Hi all,
    I would like to send purchase order  to Vendors Site, given server URL.   our purchase orders are available in  cXML format.  can you please suggest some solutions.  how to configure the HTTP/SOAP adapter at the receiver side. So that XI can send  the cXML epo  to vendor site. 
    thanks
    regards
    Ram Singhal

    Hi Ram,
    Did you check this Pdf for the Receiver SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Also the target URL must be the URL to the WSDL. So, if you try putting it in your browser you must see the wsdl code.Please do ensure the same.....
    You can also do the Scenario you are trying by using a HTTP Adapter also....
    The info u will need while configuring youe receiver HTTP Adapter are:
    Addressing type: URL address
    Target host: your web server address
    Service number: the web server port number
    Path: the URL of the .jsp (e.g. /myjsp.jsp)
    Also go through this blog and see if it helps....
    /people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
    Regards,
    Abhy Thomas
    Regards,
    Abhy Thomas

  • How do I send HTTP request to a server via a proxy server in JDK 1.4?

    JDK 1.5 's URL class provides an overloaded version of openConnection() which accepts an object of type Proxy using which we can establish connection with a remote server via a proxy server, but JDK 1.4 doesn't provide any such overloaded version. How do I do that in JDK 1.4? Even if I had a class that can create HTTP packets for me, then I could have established Socket connection with the proxy server and sent the HTTP packet to it. Is there a way to do that also?

    There are some system properties, which can be set with System.setProperty [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]

  • How to add Friendly URLs in Weblogic Portal?

    Hi,
    We are developing a portal using Weblogic 10gR3. Right now the URL's that are getting formed are very long which includes the nfpb, nfls, pagelabel e.t.c. The requirement is to have a very user friendly url something like http://www.x.com/portal/<<pageLabel>>
    The Weblogic documentation mentions something about URL compression, however unable to apply it for dynamic URL's. We have URL's which are formed on the fly from the WLP Content Repository
    Is there some kind of servlet / filter provided within WLP. I read somewhere about an URLTransformationServlet. But there was no documentation on its usage. Can some one share a sample code snippet with me. That would be really really helpful, as we are having a slight time crunch here.
    Any kind of help on this will be deeply appreciated. Thanks
    Thanks and Regards,
    Lilly

    Dear Team,
    Please help us in Change Portal Url . Please find below details and help us asap.
    Regards
    Radhakrishna
    Generic Note
    I understand [email protected] looks after your account and he should be able to assist you in this matter.
    You could possibly post your question to the oracle forums, like below
    How to add Friendly URLs in Weblogic Portal?
    [email protected] - November 1, 2010 7:05:03 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please let us know how to contact the assigned oracle account manager to engage someone from the professional services team.
    Please update us asap.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 5:28:59 PM GMT+05:30 [Information]
    Generic Note
    I would suggest you contact the assigned oracle account manager to engage someone from the professional services team.
    [email protected] - November 1, 2010 4:55:25 PM GMT+05:30 [Update from Customer]
    Dear Team,
    How to engage oracle professional services to team to get assistance.
    Regards
    Radhakrishna
    Oracle Support - November 1, 2010 1:48:49 PM GMT+05:30 [Information]
    Generic Note
    As mentioned earlier, changes to the portal url is not provided out of box, the documentation link that I provided mentions a possible way of achieving this by creating a start up servlet, this may or may-not work in all circumstances. If the suggestions provided so far has not helped you so far, I would recommend you engage oracle professional services team to get assistance.
    [email protected] - November 1, 2010 1:36:12 PM GMT+05:30 [Update from Customer]
    Dear Team,
    Please find below comments from Dev team.
    While try to incorporate the URL navigation changes at
    our development environment we are getting exception Unable to render /framework/skeletons/bharti_skeleton/singlelevelmenu.jsp .
    I have also checked feasibility for the URL navigation changes provided and will not work for left menu
    and footer URL because while rendering these URL we are not using single level menu jsp or multilevel menu jsp.
    Please check with these comments and update ASAP.
    Regards
    Radhakrishna
    [email protected] - October 28, 2010 7:56:02 PM GMT+05:30 [Update from Customer]
    Hi,
    regarding making changes to the url meets ,we are working on the document which you have provided.we will update with result onc it get finished.
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 7:06:32 PM GMT+05:30 [Information]
    Generic Note
    Since your question about Rich Text support in CMS is not related to portal urls, I would request you raise this as a separate issue.
    In the new SR, please elaborate what you mean by the Rich Text support, whats your proposed use case, whats working and what is not.
    Could you also confirm if the further information I have provided regarding making changes to the url meets your requirement.
    [email protected] - October 28, 2010 7:04:48 PM GMT+05:30 [Update from Customer]
    CMS----Content Management System
    Rich contents are : Media files, Vedios, Movies... etc.
    [email protected] - October 28, 2010 6:58:46 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please clarify the below point also.
    "Please confirm whether CMS support Rich Text in weblogic , currently we have the weblogic version 9.2 . Plz confirm whether it will support or not."
    Regards,
    Eranna D.
    Oracle Support - October 28, 2010 5:41:53 PM GMT+05:30 [Information]
    Generic Note
    The following documentation http://download.oracle.com/docs/cd/E13218_01/wlp/docs81/url/simplify.html tells how you can achieve the simple urls you are looking for.
    Could you let me know if this meets your requirement.
    [email protected] - October 28, 2010 12:07:05 PM GMT+05:30 [Reopen Request]
    Hi,
    Please clarify why it is not possible to remove nfpb parameter.
    Call Me on +91 9686971269 ASAP.
    Oracle Support - September 29, 2010 5:39:48 PM GMT+05:30 [ODM Answer]
    === ODM Answer ===
    weblogic portal does not provide any out of the box way to achieve this functionality
    Oracle Support - September 29, 2010 5:39:15 PM GMT+05:30 [ODM Question]
    === ODM Question ===
    need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Oracle Support - September 25, 2010 4:42:01 PM GMT+05:30 [Information]
    Generic Note
    WLProxy configuration falls under the weblogic server product hence you will have to raise an SR with that product to get any suggestions.
    Before that I would suggest you play around with the parameter I have suggested and see how it is impacting the url and then if there is any specific area you are stuck on check with the WLS team.
    Like I mentioned earlier, I do not know if this will completely meet your business requirement, but something you can look into.
    [email protected] - September 25, 2010 4:32:00 PM GMT+05:30 [Update from Customer]
    Hi,
    Can you please brief us what all are the changes needs to be done to meet our below requirement.
    Regards,
    Eranna D.
    +91 9686971269
    Oracle Support - September 24, 2010 9:00:57 PM GMT+05:30 [Information]
    Generic Note
    URLCompression servlet is the only option that weblogic portal provides out of the box to compress the URL of WLP. I understand this does not suite your requirement.
    The other option I can think of that can possibly help you achieve this is to configure any weblogic proxy plugin that you might be making use of, see the document
    http://download.oracle.com/docs/cd/E15051_01/wls/docs103/plugins/plugin_params.html#wp1143055 look for PathTrim, PathPrepend
    [email protected] - September 24, 2010 5:41:39 PM GMT+05:30 [Update from Customer]
    Hi,
    Please call me on +91 9686971269 ASAP.
    Regards,
    Eranna D
    [email protected] - September 24, 2010 5:41:22 PM GMT+05:30 [Update from Customer]
    Hi,
    Even thogh after implementing the below changes,still we are not able to get the result. " nfpb parameter is still existing in URL ".
    Implementing URL Compression :
    To configure a webapp to use url compression, follow these steps:
    1. Define the compression servlet in web.xml; for example
    <servlet>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <servlet-class>com.bea.portlet.compression.UrlCompressionServlet
    </servlet-class>
    <init-param>
    <param-name>defaultPage</param-name>
    <param-value>/index.jsp</param-value>
    </init-param>
    <init-param>
    <param-name>errorPage</param-name>
    <param-value>/errors/error.jsp</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    2. Map the compression pattern; for example:
    <servlet-mapping>
    <servlet-name>UrlCompressionServlet</servlet-name>
    <url-pattern>wlp.c</url-pattern>
    </servlet-mapping>
    3. Add the token {url:compression} to the templates for which you want to apply compression.
    Please suggest on this ASAP.
    Regards,
    Eranna D.
    [email protected] - September 24, 2010 5:27:58 PM GMT+05:30 [Customer Problem Description]
    Problem Description: We need to change the URL
    http://hostname:port/ics_war/ics.portal?_nfpb=true&_pageLabel=Tariff
    to
    http://hostname:port/ics_war/ics.portal/Tariff.
    Pls suggest on this.
    Regards,
    Eranna D.

  • Using an XML file for server URL instead of hard coding

    I can't find a good example.
    Could someone give me an example of using a local XML file to set a server url variable so i don't have to hard code url's?
    This works and i can trace the xml file but how do i access the individual xml data nodes?
    protected function initApp():void
         var loader:URLLoader = new URLLoader(new URLRequest("config.xml"));
         loader.addEventListener(Event.COMPLETE,configLoadComplete);
    private function configLoadComplete(event:Event):void
         trace(event.target.data);

    Hi,
    <a href="foobar.xml">right click and select save as from the context menu</a>
    or
    write your xml data or a copy of it with a different extension (text) so that it is not parsed as application/xml-xhtml
    or
    Use AJAX to retrieve the xml file and display it as the textContent of a <textarea>
    window.open wraps the xml markup in html tags for display purposes.
    Rob^_^

  • Error in Accessing the Report Server URL

    Hi All,
              I am trying to access the Report Server URL in PowerPivot.But facing below issue .Can any one help me how can I solve the issue
    Thanks,  
    Sid

    Hi Visakh,
                    Yes,The user is holding the permission as "Global User" in sql.Hope you help me in solve this issue
    Thanks, Quality Communication Provides Quality Work. http://siddiq-sharepoint2010.blogspot.in/ Siddiqali Mohammad .
    Hi siddiqali,
    According to the screenshot you posted above, the use account didn't have sufficient permission to open the report, please check the following prerequisites before you perform the action:
    You must use a report definition (.rdl) file as a data source. Importing from a report model is not supported.
    You must have permission to open the report under your Windows user account, and you must know the address of the report or the report server that hosts it. You can check your permissions by trying to open the report in a Web browser first.
    If the report opens, it confirms that you have sufficient permissions and the correct URL.
    Reporting Services must be version SQL Server 2008 R2 or SQL Server 2012. Those versions include the data feed export feature that streams report data in the XML data feed format. You can identify the report server by the Export as Data Feed option
    that appears in the report toolbar when you open the report in browser:
    For detail information, please see:
    Import Data from a Reporting Services Report:
    http://technet.microsoft.com/en-us/library/gg413491.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • Is there an ITS Mobile Test Server URL available on the Internet anywhere?

    All,
    I am pretty new to SAP, and have the requirement to prove a connection of my Windows CE5.0 terminal, using Naurtech CETerm 5.5.1. As such I was wondering if anyone out there knows of a test server URL that I could point my device to, to ensure it displays the screens correctly on the QVGA screen?
    I am just looking for a test server URL on the web that I can test to. No transactions needed, even something as simple as a lnding page with some graphics would suffice.
    Any help is appreciated at this point.
    Many thanks in advance.
    Nick

    Hi Nick,
    if you can't find a test-URL on the Internet here you find instructions how to activate a test service on your SAP system
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/6d3cab2dc56a58e10000000a11466f/frameset.htm
    regards,
    stefan.

  • Get runtime application server url

    I try to use web.show_document(url,target) and I don't know exactly the runtime url. It will be nice to retrieve it from form.
    Is it possible to get the runtime application server url inside form? If so how?
    Thanks!

    This was asked the other day on this forum and various suggesions came up - so have a search and see. However, there is no simple way.
    On the other hand do you really need the App Server URL - you can use relative URLS with WEB.SHOW_DOCUMENT if you neeed to..

  • LSO Content Server URL

    Dear SAP Gurrus
    we are trying to connect LSO with content server repository instead of portal KM .we installed content server 6.40 and connected with ECC and wand create one repository Z_lso via csadmin and oac0 please tell me how do i know and where i get the URL for this repository just like portal KM repository we need to define that URL in LSO settings
    "IMG -> Training and Event Management -> SAP Learning Solution - >Authoring Environment -> Specify CMS Address"
    Regards
    Arshad
    Edited by: Muhammad Arshad Ghaznavi on Jun 16, 2008 3:09 PM

    Hi,
    I have installed Content Server 6.4 successfully on WIN2K8 with IIS7 and MAXDB 7.6.6.20
    When i tried to access the content server url, i was prompted with a POP UP asking for download of ContentServer.dll.
    1) Firstly check whether you have installed all the components pertaining to IIS 7.0 in your system
    2) Check whether you have allowed contents like *.dll in the IIS
    Hope this helps.
    Regards,
    Deepak Kori

  • How to add friendly URLs to pages within the ALUI portal?

    I want to know how to add friendly URLs (human-readable URLs that users can bookmark or type into the browser address bar) to pages within the ALUI portal.
    The portal application is developed using plumtree portlets.
    regards,
    Veeshoo

    In 6.5
    Community links look like this:
    http://your_Server/portal/server.pt/community/lockdown_console/
    Documents look like this:
    http://your_Server/portal/server.pt/document/50541/your_document_name.doc
    If your goal is for users to "type into the browser address bar" then your best bet would be dns mapping.
    At that point you could have communities with urls like:
    http://your_Community.your_Server.com
    or
    http://your_Server/your_Community
    Which is significantly easier for users

  • How to hide real URL

    Hi!
    How can I hide url "http://127.0.0.1/htmldb/f?p=4550:11:10600805277182851681::NO:::" to something like:
    "http://myhomepage.com"
    but without showing application parameters when switching from one page to another?
    THX!

    You just can do this if you've got an separate web server.
    The index.html of your domain needs to be a frameset:
    - Frame1 size 1 pixel
    - Frame2 size 100% screen-width minus 1 pixel
    On the second frame you can point to your localhost 127.0.0.1:8080/htmldb/.......:NO:.......
    Whatever you're doing in that frame won't change your domain-name.

  • How to Create diff URL in Portal.

    Hi Friends.
    I have one doubt on How to Create diff URL in Portal. We have only one EP-Server.
    For Example I have done logon page for portal when open the portal URL I m getting that logon page. So I did not get SAP Standard Logon Page By using Same URL.
    So I need one more Diff URL that URL having my Logon page. So that time I login into the Portal I am able to see our logon Page.
    When I logon to diff URL that time I am able to See SAP Standard Logon Page.
    Regards
    Vijay Kalluri

    Hi,
    SAP Logon page gets loaded based on similar concept of Servlet-jsp works i.e. based on pattern passed, in usual case irj is pattern which is identified by j2ee engine based on xml as portal web component and invokes it.
    Now to have 2 different logon pages; we need to pass 2 different patterns: have an entry for each in xml file and different web components for each.
    This is solely based on my cinceptual knowledge but have not tried it.

  • "Application Server Url" Parameter / Registry Path / Interface

    hi everybody,
    i search for an possibilty to set the "Application Server Url" from oracle forms builder automatically. so an other application where the user can choose some properties, set the Url automatic without starting the forms builder itself.
    is there any parameter or something like a registry path which i can set as url ?
    thanks !
    patrick

    hi, i hope i can give you an good example..
    so we have one product with more than one version .. .
    for example: Extra v 1.0 and Extra v 2.0 , while we use source control we have to change some registry path when we switch between the version. But now the problem is:
    Every Version has his own configuration in formsweb.cfg. Now when you want to work with Extra v1.0 you have to change the application server url for example to : "http://pc1.... =Extra1" and when you want use Extra2 than "http://pc1.... =Extra2" and so on...
    I want to know, how i can change the server url automatic from another program, (by passing paramter etc.. )so the user have not to switch the application server url between Extra1 and Extra2 mannually.
    what do you mean with As version ? Application Server version ?
    thats: 10gR2
    br
    patrick

  • Server URL is print on 10g report footer.

    When I run 10g report on website then server URL has not shown on report footer. But when I print the report the server URL is printed at the footer. How can I avoid this?
    Regards
    Fahed Akhter

    Hello,
    These "info" are added by Internet Explorer.
    For more details :
    http://www.howtogeek.com/howto/windows-vista/print-pages-in-internet-explorer-7-without-headers-or-footers/
    Regards

  • Server URL in PJC - web deployed

    Anyone know how to get the Server URL in a java bean - The applet classes are not normally available?
    Mick

    Hi,
    I am slightly confused. The 501 error is coming from the Glassfish server so I would post into that alias.  However I did notice 1 thing. The POST body contents
    is  "url=%2Findex.html&userName=TECNIC&password=pass"
    The content-length is given as 46 but that is 47 chars, That might be caused by the encoding of the "/" as %2F.  it looks like "=pass" is being sent as the method.
    I would do a separate snoop on the conversation on what is incoming to the Web server as the one above looks confused. We see a POST, which is given a 302 then
    a GET. Can you split out both sides so we can see what comes in. Also check for unprinted chars.
    regards.

Maybe you are looking for

  • [Athlon64] AAARRRRGGGGHHHH

    Hate this manual!   I got an MSI K8MM-V   mb today with an AMD Ath64 3000+ 754 pin CPU.  I also bought an ATI Radeon 9550 AGP 4X/8X   and 1 PNY 512 PC3200 DDR 400 memory.  (fan is on cpu of course) Cannot get the mob to post or count.  Fans come on .

  • How to display different headings in list form using "hide content" in SPD 2010

    I built a custom list form in SPD, and applied conditional formatting in some rows Now I like to display different headings (above the 1st row of the form), based on the same condition: e.g. when Status=available, display the heading "SIGN OUT"  (as

  • Having problems downloading software

    Hello all, I'm having issues downloading things from the internet. I'm up to date on the software for my MacBook Pro. When I try to download something it goes to a white web page and the status bar only fills up half way. Have I picked up some malwar

  • Migrating Aperture library from iMac to MBP

    OK, I figured out how to get stuff from my desktop to my MBP through Airport, but I'm wondering about the best way to do this with my Aperture library. On y MBP I have Aperture 2 installed. On the iMac is a library of thousands of images on Aperture

  • Dm4-1060us laptop SD Card Reader 5-in-1 question. Does it work with SDHC and SDXC memory cards?

    dm4-1060us laptop SD Card Reader 5-in-1 question. Does it work with SDHC and SDXC memory cards?