Gateway space URLs from pluggable nav

I have a custom menu of links built from an XML file via pluggable nav.  It is simple to add links to non-plumtree content, I simply add the URL.  Links to plumtree content seem less predictable.
How would I add URLs for content in the gateway space, such as a link to a particular portlet?  I am not clear as to all of the components of the PTARGS portion of a gateway URL.  It seems like I could simply copy the URL as displayed when I visit a particular Portlet, but I know that the Portlet ID will change, both over time and based on what enviornment displays the implementation, e.g. development server vs. test server vs. production server.
I suspect tricks like the PT XML tags, like pt:gatewayLink would not work in the custom, pluggable nav.

Yes, I read this prior to posting.  The "GatewayHelpers.ConstructPrefPageLink" method looks like it MAY be what I need but it does not answer my question.
- The section about this in the 5.0.2 UI Customization Guide says "To include links to remote content, the content must be part of a remote portlet."  This would be local content, i.e. Porltets in the local Portal.  Maybe this would work the same way for local content?
- I must pass the gadget id, but I would need to find a way to dynamically obtain the gadget id from the gadget name, because it would effectively change.  That sounds like some kind of simple search but I have yet to find that.
I am sure what I am asking is too simple, but please, any help would be great.

Similar Messages

  • How can i get getwayed url string using pluggable nav in news portlet?

    hi.
    How can i get getwayed url string using pluggable nav in news portlet?
    A code just like below is what I want.
    <param value="param=http://.../portal/server.pt/gateway/PTARGS_.../http/...">
    I tryed the following, but didn't work as I wanted.
    1.<param value="<pcs:valueexpr='var'/>">
    -> transformed. but I want the prefix 'param=' in the enquoted string's too.
    2. <param value="param=<pcs:valueexpr='var'/>">
    -> not transformed.
    Any idea?
    Hiroyuki

    Hi all,
    We have HPROF functionality in our latest roadmap, so you will see that feature in our next major release called JRockit R28.
    I recommend, above from the MemLeak documentation suggested by Makiey, the following information on how to use JRockit tools.
    Performance Tuning & Profiling:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_02.html
    Using JRockit tools:
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_03.html
    Diagnostics & Troubleshooting
    http://download.oracle.com/docs/cd/E13150_01/jrockit_jvm/jrockit/geninfo/diagnos/part_04.html
    Best Regards,
    Tuva
    JRockit PM

  • External URL in Gateway Space

    I have a portlet that does a Response.Redirect to another address within our domain. However, when the user accesses it. It is not in the Gateway space. How can I add this URL so that it resides in the Gateway Space?

    In the web service go to HTTP settings - try appending the base URL to the list of gatewayed URL prefixes
    EX: I want to gateway content from the main CNN "www" host:
    http://www.cnn.com/.
    the dot might or might not be necessary, but... the gateway seems happier with it.
    See if that helps.
    Thanks,
    Eric

  • Use Service URL from OWSM Gateway in Service Registry

    Hi,
    Is there a scenario in which the Service URL from the OWSM gateway is used in the UDDI registry?
    Eg:
    WebService <--------> OWSM Gateway <----------> OSR (UDDI)
    Any information on this is much appreciated
    Regards

    Hi Vikas,
    Well..you don't registrate a gateway in uddi.
    When you registrate a service in owsm, it will generate a new wsdl for you. This wsdl you just need to registrate in uddi just like any other service with wsdl-interface.
    So the authentication fields aren't in uddi configered either...those are just a policy step in owsm. Overthere you can decide how to propegate the values of username/password etc

  • Publisher portlet error: Redirected outside of the gateway space

    I get the following error in my Publisher portlets." ..cannot be displayed because the portlet redirected outside of the gateway space". The portlet is using the Published Content web service. The Log spy shows no error and all the publisher diagnostics are working fine. If I change the url for Published Content webservice from ...published_content_redirect.jsp to published_content_noredirect.jsp, it works fine. Any idea? :(

    you have to make sure that the publish target url for your publisher portlets is "in the gateway space" (added to the list of allowed gateway urls) of the "Published Content" web service.

  • Generate a url from a report or function module

    Hi,
    I'm trying to generate a url from a report and tried using the function module WWW_ITAB_TO_HTML in the report program, as , but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue. Thanks in advance.
    DATA: emp_name TYPE char80.
    DATA: it_itabex TYPE zdb_ex_tty,
    it_emp TYPE TABLE OF zis_emp,
    it_org TYPE TABLE OF zis_org,
    it_pos TYPE TABLE OF zis_pos,
    it_pos_alloc TYPE TABLE OF zis_pos_alloc,
    it_res TYPE TABLE OF zis_res,
    it_res_alloc TYPE TABLE OF zis_res_alloc,
    ls_itabex TYPE zdb_ex_s.
    DATA: lv_filename TYPE string,
    lv_path TYPE string,
    lv_fullpath TYPE string,
    lv_replace TYPE i.
    DATA qstring LIKE it_itabex OCCURS 10.
    DATA: url(200), url2(200), url3(200), fullurl(200).
    FIELD-SYMBOLS: <fs_emp> LIKE LINE OF it_emp,
    <fs_org> LIKE LINE OF it_org,
    <fs_pos> LIKE LINE OF it_pos,
    <fs_pos_alloc> LIKE LINE OF it_pos_alloc,
    <fs_res> LIKE LINE OF it_res,
    <fs_res_alloc> LIKE LINE OF it_res_alloc.
    ** Report Program to export data from database to Excel.
    ** Populate all the tables that have to be exported.
    SELECT * FROM zis_org INTO TABLE it_org.
    SELECT * FROM zis_pos INTO TABLE it_pos.
    SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
    SELECT * FROM zis_emp INTO TABLE it_emp.
    SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
    SELECT * FROM zis_res INTO TABLE it_res.
    ** Append the Column Header
    CLEAR ls_itabex.
    ls_itabex-ipp_pos_id = 'IPP Pos ID'.
    ls_itabex-emp_name = 'Name'.
    ls_itabex-dt_of_join = 'JoinedOn'.
    ls_itabex-emp_status = 'Status'.
    ls_itabex-org_name = 'Org'.
    ls_itabex-prj_name = 'Project'.
    ls_itabex-mgr_name = 'Line'.
    ls_itabex-designation = 'Designation'.
    ls_itabex-specialization = 'Specialization'.
    APPEND ls_itabex TO it_itabex.
    ** Append all the tables into one internal table
    LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
    CLEAR ls_itabex.
    ls_itabex-ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
    READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
    IF sy-subrc = 0.
    CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name SEPARATED BY space.
    ls_itabex-dt_of_join = <fs_emp>-dt_of_join.
    ls_itabex-emp_status = <fs_emp>-emp_status.
    ls_itabex-specialization = <fs_emp>-specialization.
    ENDIF.
    READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
    IF sy-subrc = 0.
    ls_itabex-designation = <fs_pos>-designation.
    READ TABLE it_org ASSIGNING <fs_org> WITH KEY org_id = <fs_pos>-org_id.
    IF sy-subrc = 0.
    ls_itabex-org_name = <fs_org>-org_name.
    ls_itabex-mgr_name = <fs_org>-mgr_name.
    ENDIF.
    ENDIF.
    READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
    ls_itabex-org_name = <fs_org>-org_name.
    APPEND ls_itabex TO it_itabex.
    ENDLOOP.
    url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
    url2 = '&~OkCode(LGON)=LGON&login-login_user='.
    url3 = '&vbcom-vbeln='.
    CONCATENATE url url2 url3 INTO fullurl.
    WRITE: /'Staffing Excel'.
    CALL FUNCTION 'WWW_SET_URL'
    EXPORTING
    offset = 12
    length = 10
    func = fullurl
    TABLES
    query_string = qstring
    EXCEPTIONS
    invalid_table = 1
    OTHERS = 2.
    Thanks & Regards,
    Preethi.

    Check the below example program :
    data: begin of itab occurs 0,
          matnr type mara-matnr,
          mtart type mara-mtart,
          matkl type mara-matkl,
          groes type mara-groes,
          end of itab.
    data: ifields type table of w3fields with header line.
    data: ihtml   type table of w3html   with header line.
    select * into corresponding fields of table itab
              from mara up to 100 rows.
    call function 'WWW_ITAB_TO_HTML'
    EXPORTING
      TABLE_ATTRIBUTES       = 'BORDER=1'
      TABLE_HEADER           =
        ALL_FIELDS             = 'X'
      tables
        html                   = ihtml
        fields                 = ifields
      ROW_HEADER             =
        itable                 = itab
    check sy-subrc = 0.
    call function 'GUI_DOWNLOAD'
         exporting
              filename = 'c:\test.html'
         tables
              data_tab = ihtml.
    Reward points if it is helpful
    Thanks
    Seshu

  • Call url from ABAP program

    Hi friends,
    Can we call a web URL from a ABAP program?
    Is there anyway its possible ? if yes how?
    Please provide the solution.
    Thanks & Regards
    kapil

    Hi Kapil,
    <b>Look at the below example program:-</b>
    REPORT  zget_mayors_for_cities.
    DATA: it_citymayors TYPE TABLE OF zcitymayors,
          wa_citymayors LIKE LINE OF it_citymayors,
          mayor TYPE full_name,
          trash TYPE string.
    PARAMETERS: s_city TYPE s_city LOWER CASE.
    SELECT * FROM zcitymayors INTO TABLE it_citymayors
      WHERE city LIKE s_city.
    * HTTP Client according to
    * /people/thomas.jung3/blog/2005/07/01/bsp-create-a-weather-magnet-using-xml-feed-from-weathercom
    DATA: client TYPE REF TO if_http_client,
          <b>url TYPE string,</b>
          xml TYPE xstring,
          c_xml TYPE string,
          city TYPE string.
    * Converter
    DATA: l_convin   TYPE REF TO cl_abap_conv_in_ce.
    LOOP AT it_citymayors INTO wa_citymayors.
    * Use the Progress Indicator to show the user which City is processed
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          percentage = sy-index
          text       = wa_citymayors-city.
      city = wa_citymayors-city.
    * Spaces have to be replaced by _ in the URL
      REPLACE FIRST OCCURRENCE OF space IN city WITH '_'.
    <b>  CONCATENATE
        'http://de.wikipedia.org/wiki/Spezial:Export/' city
           INTO url.</b>
    ****Create the HTTP client
      TRY.
    <b>      CALL METHOD cl_http_client=>create_by_url
            EXPORTING
              url    = url
            IMPORTING
              client = client
            EXCEPTIONS
              OTHERS = 1.</b>
          client->send( ).
          client->receive( ).
          xml = client->response->get_data( ).
          client->close( ).
        CATCH cx_root.
          WRITE: / 'HTTP Connection error: ', city.
      ENDTRY.
    * Wikipedia does not provide a encoding with the returned XML
    * so we have to do the conversion manually
      TRY.
          CALL METHOD cl_abap_conv_in_ce=>create
            EXPORTING
              encoding = 'UTF-8'
              input    = xml
              endian   = 'L'
            RECEIVING
              conv     = l_convin.
          CALL METHOD l_convin->read
            IMPORTING
              data = c_xml.
        CATCH cx_root.
          WRITE: / 'Problem during Character conversion: ', city.
      ENDTRY.
    ****Transform XML to ABAP Values
      TRY.
          CALL TRANSFORMATION zwikipedia_mayor_to_abap
          SOURCE XML c_xml
          RESULT mayor = mayor.
        CATCH cx_root.
          WRITE: / 'Data loss during transformation: ', city.
      ENDTRY.
    * Some Mayors already have pecial Pages
      REPLACE FIRST OCCURRENCE OF '[[' IN mayor WITH ''.
      REPLACE FIRST OCCURRENCE OF ']]' IN mayor WITH ''.
    * Some Mayors are members of a Party
      SPLIT mayor AT '(' INTO mayor trash.
      wa_citymayors-mayor = mayor.
      WRITE: / wa_citymayors-city.
    * Update Database
      IF NOT wa_citymayors-mayor IS INITIAL.
        UPDATE zcitymayors FROM wa_citymayors.
        WRITE: wa_citymayors-mayor.
      ENDIF.
    ENDLOOP.
    Look at the below thread for more info:-
    /people/gregor.wolf3/blog/2006/06/29/use-data-from-wikipedia
    Regards
    Sudheer

  • Using gateway'd URLs in JSP custom tag attributes

    Hello,
    I am running Plumtree G6 using a gateway prefix to gateway Javascript from a remote server. I have recently discovered, thanks to people's help on the forum here, that in certain cases, you need to wrap a URL in a pt:url tag in order for Plumtree to recognize it as a URL that has to be gateway'd (i.e. a URL inside of a Javascript function).
    However, I have a custom tag that contains a contextPath attribute. This custom tag then includes other XML files that get included in the final page that is displayed. I am passing this value as my contextPath:
    <mytag:body sessionName="mysession" campusName="SampleCampus" contextPath="<pt:url pt:href='http://localhost:7021/application/scripts' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>"/>
    However, in the resulting content that is created from this custom tag, the contextPath value is still set to <pt:url pt:href=......./>, and not the actual gateway'd URL. I would have thought that Plumtree would have recognized and gateway'd this URL before it got substituted in the custom tag.
    Does anyone have any thoughts on how to get around a problem like this? One thought I had was to get ahold of the gateway URL value and pass that value directly in my contextPath attribute. Is it possible to get that gateway value, or is there a better solution here?
    Thanks again for any help you can provide.

    Chris,
    I added your code, changed the portlet's web service to send a login token for this portlet, and was then getting some ClassNotFoundExceptions related to Axis classes. So, I went and added all of the jar files from the devkit's lib directory (i.e. plumtree\ptedk\5.3\devkit\WEB-INF\lib), recompiled, and those errors went away. But, now I see the following error:
    java.lang.NoSuchFieldError: RPC
         at com.plumtree.remote.prc.soap.QueryInterfaceAPISoapBindingStub.(QueryInterfaceAPISoapBindingStub.java:27)
         at com.plumtree.remote.prc.soap.QueryInterfaceAPIServiceLocator.getQueryInterfaceAPI(QueryInterfaceAPIServiceLocator.java:43)
         at com.plumtree.remote.prc.soap.QueryInterfaceProcedures.(QueryInterfaceProcedures.java:37)
         at com.plumtree.remote.prc.xp.XPRemoteSession.(XPRemoteSession.java:202)
         at com.plumtree.remote.prc.xp.XPRemoteSessionFactory.GetTokenContext(XPRemoteSessionFactory.java:80)
         at com.plumtree.remote.portlet.xp.XPPortletContext.getRemotePortalSession(XPPortletContext.java:261)
         at com.plumtree.remote.portlet.PortletContextWrapper.getRemotePortalSession(PortletContextWrapper.java:45)
         at jsp_servlet._collabrasuite.__riarooms._jspService(__riarooms.java:325)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:417)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I am using version 5.3 of the EDK, and running Plumtree Foundation G6. Have you ever seen an error like this before?
    Thanks again for all of your help.

  • Get Gateway name / url via JSP

    Anyone say what is the method to get the Gateway name / url via JSP?
    Thanks
    Fausto

    Alex, in the normal case you have reason the client host is the gateway host.
    A simple code:
    <%
    InetAddress inet = InetAddress.getByName( request.getRemoteHost() );
    String gateway = inet.getHostName();
    String portal="http://" + gateway + "/portal/dt";
    gateway="https://" + gateway + "/";
    String url=request.getParameter("url");
    if ( url != null) {
    response.sendRedirect(gateway + url);;
    }else{
    responde.sendRedirect(gateway + portal);
    %>
    I put a jsp in the web container, I contact the jsp trough an url
    http://www.mydomain/portal/desktop/redirect.jsp without the method get for the url variable, if I call the jsp directly without gateway from my client the gateway variable is my dns hostname and the jsp cannot redirect my in the portal login page
    If I take the localhost, it works fine but if a particular case when the gateway and the platform are the same host.
    There is not a HTTP enviroment variable to get the gateway name or a simple java method to ask the correct host?
    Thank you again
    Fausto
    http://www.mydomain/portal/desktop/redirect.jsp
    i

  • How to call  URL from BADDI??

    Hi,
    I have a requirement to call URL from BADI, i tried to use 'CALL BROWSER' function module,
    it works when we are working in GUI, but for portal/PCUI it gives sy-subrc = 2 ( Front end Error)
    How to call a pop up page or URL from poral??
    Thanks,
    Manoj
    Edited by: Manoj Lakhanpal on Sep 27, 2010 10:27 AM

    Hi!
    I'm using this code for calling a browser, you might try out as well...
    MOVE 'http://www.sap.com' TO command.
        CONCATENATE 'url.dll,FileProtocolHandler'
                    command
               INTO command
           SEPARATED BY space.
        MOVE 'rundll32' TO lv_application.
        CALL METHOD cl_gui_frontend_services=>execute
           EXPORTING
             APPLICATION            = lv_application
             PARAMETER              = command
           EXCEPTIONS
             CNTL_ERROR             = 1
             ERROR_NO_GUI           = 2
             BAD_PARAMETER          = 3
             FILE_NOT_FOUND         = 4
             PATH_NOT_FOUND         = 5
             FILE_EXTENSION_UNKNOWN = 6
             ERROR_EXECUTE_FAILED   = 7
             others                 = 8
    Regards
    Tamá

  • Regular Expresson to Extrcat URLs from img src tags

    Hi,
    I have a huge string containing html tags, some of these tags being <img src="URL"> ones. I need to extract the urls from all the occurences of these tags in the input string. This is what I am doing:
    Pattern p=null;
    Matcher m= null;
    String word0= null;
    String word1= null;
    p= Pattern.compile(".*<img[^>]*src=\"([^\"]*)",Pattern.CASE_INSENSITIVE);
    m= p.matcher(txt);
    while (m.find())
        word0=m.group(1);
        System.out.println(word0.toString());
         }The problem with this code is that this prints only the last URL. For example if there are 5 <img src="URL"> tags, this code prints only the URL contained withn the 5th< img src> tag. Please tell me how to solve this.
    Thanking you in advance

    Here's another approach:
    ok so this is assuming that the source text is not one line of strings, but mulitple lines.
    String[] lines = txt.split("\n")this splits the string based on the newline character. then you can iterate through the array and use the pattern on each string. The only thing that can go wrong here is if there are two images in one line of code. Then you can use some of the methods in the String class to find each instance of "img src=", and you can figure out the rest.
    another, better, way to split the string is with a string tokenizer (simple method in my library):
    * Returns an array of strings from splitting the givin string
    * with the given deliminator.  See the example<br/>
    * <br/>
    * <i>Example:</i><br/>
    * <code>splitTokens("ID: 1920129 NAME: JOHNY IAMYOURFATHER: IDONOTWANT", ": ")</code> would return:<br/>
    * <code>["ID",190129","NAME","JOHNY","IAMYOURFATHER","IDONOTWANT"]</code>
    * @param base
    *               the string to be split
    * @param delim
    *               the deliminator that is used to split the string.  If the
    *               deliminator is <code>", "</code>, then the string will be
    *               split on any combination of commas and spaces, along with
    *               individual commas and spaces.
    * @return an array of strings split from the base string by the deliminator
    public static String[] splitTokens(String base, String delim) {
         StringTokenizer toker = new StringTokenizer(base, delim);
         String pieces[] = new String[toker.countTokens()];
         int index = 0;
         while (toker.hasMoreTokens()) {
              pieces[index++] = toker.nextToken();
         return pieces;
    }{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Open URL from a report

    Hi, I need to make a connection to URL from a report. Is it posible? thanks.

    hi jose,
    please try the following.
    CALL FUNCTION 'GUI_RUN'
      EXPORTING
      command ='IEXPLORE.EXE'
      PARAMETER ='WWW.YAHOOMAIL.COM'.
    CD =
    IMPORTING
    RETURNCODE =
    and if u want hyperlink then,
    *REPORT ZURL NO STANDARD PAGE HEADING.
    DATA: BEGIN OF URL_TABLE OCCURS 10,
    L(25),
    END OF URL_TABLE.
    URL_TABLE-L = 'http://www.lycos.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.hotbot.com'.APPEND URL_TABLE.
    URL_TABLE-L = 'http://www.sap.com'.APPEND URL_TABLE.
    LOOP AT URL_TABLE.
      SKIP. FORMAT INTENSIFIED OFF.
      WRITE: / 'Single click on '.
      FORMAT HOTSPOT ON.FORMAT INTENSIFIED ON.
      WRITE: URL_TABLE. HIDE URL_TABLE.
      FORMAT HOTSPOT OFF.FORMAT INTENSIFIED OFF.
      WRITE: 'to go to', URL_TABLE.
    ENDLOOP.
    CLEAR URL_TABLE.
    AT LINE-SELECTION.
    IF NOT URL_TABLE IS INITIAL.
      CALL FUNCTION 'WS_EXECUTE'
           EXPORTING
                program = 'C:\Program Files\Internet Explorer\IEXPLORE.EXE'
                commandline     = URL_TABLE
                INFORM         = ''
              EXCEPTIONS
                PROG_NOT_FOUND = 1.
      IF SY-SUBRC <> 0.
         WRITE:/ 'Cannot find program to open Internet'.
      ENDIF.
    ENDIF.

  • Can not copy a URL from the address bar/line

    Why is it proving so difficult for me to copy a URL from the address bar using Safari?  When I click on the link I want to copy, it does not highlight.  I have used Command L and Command C, and that works but there has to be a simpler way.  I also read that if I click the address bar once, then press the control key and click on it again that a menu would appear with cut, paste, copy.  That does happen, but all options are greyed out, and not selectable.  Another google search resulted in someone saying there was a button or arrow to click on and that this tool would copy the URL.
    The URL I am copying is very long, longer that the address bar window
    What Gives Here?

    Click the icon (favicon) to the left of the URL.
    That will select the entire URL.
    Command C will copy the URL.

  • How to do Handshake with tired party(bank) HTTPS URL from SAP PI server

    Dear Expert,
    I have developed bunch of scenarios, all are synchronous ABAP proxy to HTTP_AAE with bank on PI 7.4(dual stack). Bank web server is HTTPS enabled server. Our ABAP developments are still in progress also we have few issue in connection from ECC to PI.but that is not the focus of discussion here.
    we want to do the handshake to check the connectivity with bank on their HTTPS URL from PI. Bank has provided the privet key for SSL from their server and corresponding public key they have maintained on their server. I have imported the private key under NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12->select the SSL.p12 file->import , also I have selected the option to "Use SSL" in HTTP_AAE receiver communication channel and selected the corresponding entryin  "keystore view" and "keystore entry". All these I have done in our DEV system, and we are trying to connect our PI dev to bank Dev server.
    Questions
    Is there any specific steps to do the handshake with third party HTTPS(bank in my case) server? if not, how can we just test the HTTPS connectivity by using the SSL private installed on our PI server, without running the complete scenarios. Our PI has been installed on UNIX, and "telnet https url 443" is working, as network team has opened the HTTPS port.
    We have not enabled the SSL technically on our PI server, and we have not installed any generated certificate from our PI server. Moreover, we have not made our PI url as "https:hostname:port" as we just need to communicate with bank by using their private key. Do you guys think we should enable the SSL? if yes, please explain why.
    What is the best practice to test the connection with third party having HTTPS URL? how can I just assure HTTPS communication is working fine, before testing my actual scenarios.
    Thanks for helping always.
    Regards,
    Farhan

    Hi Farhan,
    Some part of the blog is applicable for sending HTTPS request to partners/third party (Receiver SOAP Adapter).
    If banks certificates are already in trustedCA, then,  can you check if it also imported under user PIISuser under Identity management in NWA. If above 2 steps are done then i think your are good to go. But be careful when you install certificate, it should be in proper order.
    As you already mentioned, connectivity is already established and you are able to PIng/telnet from pi server, connectivity looks ok.
    While sending request, if you are getting 401 unauthorized, below might be the reason -
    1. Certificate not installed correctly or some missing steps
    2. Partner or TP is not ready to receive it, some certificate issue in there side.
    other than 401 means you are ok (As per certificate and Connectivity) - 403 and 500 errors are next stops.
    403 - error because of encoding method.
    500 - data issue.
    Regards
    Aashish Sinha

  • Open url from xchat in opera

    I'd like to open urls from xchat in opera.
    Under settings>advanced>url handler:
    !opera -remote 'openURL(%s)'
    xchat has tcl as an optional dep, so I installed that.
    This is in xfce4 and I have set opera as the preferred browser.

    Well, I'm afraid that is not an option.
    The goButton is in a table row. There are lots of rows so if I use EL for Destination attribute the URL would be retrieved for each of rows.
    The method of URL retreiving is heavyweight operation which includes calling plsql functions, working with strings and others. So if I do it for each table row my application hungs and then I receive an exception of CPU usage.
    That's why I switched to normal commandButton witch actionListener which retrieves url on click - only once. So I need to open URL from Java.

Maybe you are looking for