How to change & manage different ports in a mixed web environment (BSP/WAD)

Hi everybody,
our scenario is the following:
We constructed a mixed environment web application, consisting out of a BSP application and WAD web templates. Unfortunately the url of web templates and the bsp-application differs - meaning the server is the same, but the port is different. That's why it is not easy to link the application each other, because for transportation reasons, we would like to have relative url paths.
After searching the SDN and reading several help files, we found out, that the port of the BSP can be changed by adding an entry to the HTTPURLLOC table.
See also: [Configuration Table HTTPURLLOC|http://help.sap.com/saphelp_nw70/helpdata/en/42/d547ab30b6473ce10000000a114e5d/frameset.htm]
We managed to do that and in addition we created a BEX role for our BSP application. But with the new port the BSP does not appear in the browser window. So we still didn't fulfil our requirement to call the BSP in a include item of the WAD without passing the complete URL server:port/sap/bsp/...
Question: How can we link the BSP out of the WAD environment, respectively is it possible to call the BSP with the same port, being used by the web templates...?
Thanks for any comments and hints!
Best regards,
Sebastian

Hi Raja and everybody,
thank you for your comments... meanwhile we just solved the problem by appliying method two mentioned above. Therefore we created a Customer web item class as denoted in [Creating an ABAP Class for the Custom Extension Web Item|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a1c1237d753ca2e10000000a42189b/content.htm].
In the Initialize method I constructed the IFrame HTML-Code:
  DATA: serverURL TYPE STRING.
  DATA: serverPort TYPE STRING.
  DATA: bspName TYPE STRING.
  DATA: iFrameURL TYPE STRING.
* Fetch the BSP port from internal table
  SELECT SINGLE VALUE FROM it_table.
* Create iFrame URL
  serverURL = 'https://www.sap.com'.
  bspName = 'myBSP'.
  CONCATENATE serverURL ':' serverPort '/' bspName INTO iFrameURL.
* Create the iFrame Tag
  CLEAR generatedHTML.
  generatedHTML = '<iframe src="%IFRAMEURL%" valign="top" width="100%"/>'.
  REPLACE '%IFRAMEURL%' IN generatedHTML WITH iFrameURL.
In the execute the code is parsed with the method:
CALL METHOD cl_bics_cons_webitem_util=>string_2_utf8_xstring
Many thanks to Raja and everybody else for helping me!
Sebastian

Similar Messages

  • How to change the default port of webdispatcher

    Hello Everyone,
    We wish to  know to how to change the default port of SAP webpatcher port from 81$$ to 80.
    Appreciate your response.
    Thanks,
    Vadi

    Hello Vadi
    you have to change the PORT value in your profile parameter from 81$$ to 80
    icm/server_port_0 = PROT=HTTP,PORT=81$$ to
    icm/server_port_0 = PROT=HTTP,PORT=80
    Also, in SMICM, then change http service port and activate it and above parameter will require SAP restart
    $$ is used generally to accomodate multiple port services running in SMICM and so as to avoid the parameter setting according to instance number of any system.
    thanks
    Bhudev

  • How to use a different port in RMI

    Hi ,
    We cannot use default port 1099 in RMI due to some restrictions. I want to user port: 8000 instead.
    Can some one please help how to use a different port?
    Thanks
    Arun

    C:\>rmiregistry.exe 8000
    and in code use Naming.bind("rmi://<host>:8000", ....)
    or LocateRegistry.getRegistry(host, 8000)
    Genady

  • HT3625 How to change the audio port function (input, output) on OSX 10.9.2 !!!! :(

    The thing is that i saw some videos, and search for options of how to change the audio port.  And even apple says that i have to change it from system preferences, but when i try to change it, the option doesn't appear me.

  • How to change two different iCloud account from mac and iPhone?

    How to change two different iCloud account from mac and iPhone?

    Pick one to use, abandon the other.

  • How to activate managed swtich port

    i am new to cisco .how to activate managed switch port.

    By default all the ports are active on switch. if it is disbled then you can login to the switch and go to interface config mode then execute no shutdown command.

  • How to change a Logical Port URL-Destination/Endpoint at Runtime

    Hi,
    i am looking for a way to change the endpoint for a webservice-call without redeploying my application. (I am using a standalone-proxy).
    In the SAP-Help from NetWeaver 2004s I found the following hint:
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
    Configuring Logical Ports:
    Logical ports (LPs) contain the configuration of the client-side SOAP runtime, such as the access URL or security settings. These are required if Web service calls are executed using proxies.
    The Web service port is part of the WSDL description. This defines a URL where the service is to be called. As a rule, this URL is generated directly into the proxy object. However, this can cause problems whenever the proxy is transported into a system landscape (for example, from the test system into the productive system). In this case, the proxy would still attempt to call the Web service on the test server although the proxy should point to the productive system. The proxy could be re-generated or the coding could be changed manually. Due to the risk of errors with this method, the configuration data in the SAP Web Service Framework is separated from the implementation. After transport or re-deployment of the proxy, the URL and other important parameters can be adapted using a simple editor. 
    The LPs provided correspond to the Web service configurations created for the Web service.
    My Question:
    Where can I change the URL of the corresponding logical port at runtime?
    I don't want to redeploy my application !!!
    I want to change the endpoint-destination at runtime!!!
    In the Visual Administrator I can see the webservice in the "Web Services Container Service Administration". I also can see the different ports from the WebService-Configuration I made.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/c487d701c7214db8ca7a741ba3c9d0/frameset.htm
    But it is not possible to change the "target adresses"!
    Can anybody help me finding a solution concerning my question?
    Regards
    Steffen

    You can include below method in your code and call it.
    private void UpdateConfig(string key, string value, string fileName)
    var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
    cFile.AppSettings.Settings[key].Value = value;
    cFile.Save();
    Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • How do i group different ports for "DAQmxCreateDIChan" for a single task?

    greetings.
    the thing is that for "DAQmxCreateDIChan" i do this:
    DAQmxErrChk (DAQmxCreateDIChan(taskHandle3,"Dev2/port0","",DAQmx_Val_ChanForAllLines));
    and i can even do this
    DAQmxErrChk (DAQmxCreateDIChan(taskHandle4,"Dev2/port1/line0:1","",DAQmx_Val_ChanForAllLines));
    ok, in the first case it means that for taskHandle3 i will read all 8 bits from port0 in "Dev2/port0", right?
    in the second case it means that for taskHadle4 i will read only line0 and line1 from port1 in"Dev2/port1", right?
    once
    this is explained: How can i read all 10 bits (i.e. line0 to line7 in
    port0 and line0 to line1 in port1) for a single task so that in the
    "DAQmxReadDigitalU32" that goes after "DAQmxCreateDIChan" i can have a
    single read instead of two in the example above?
    by the way, my device is a pci6229 and i'm using vc++ 2008.
    thank you for reading.
    ZZ
    sorry for double posting...

    Hi ZainZeus!
    The answer lies on the creation of the channel, DAQmx allows you to include different ports on the same line, that should include both ports on the same task. It should be something like this:
     Dev1/port0/line0:7, Dev1/port1/line0:1
    All of this must be on the same line under the " ". You can try this and check if it works.
    Hope this helps.
    Have a great day!

  • How to change MANAGED-BEAN-SCOPE??????

    Hi Gurus,
    How to change the managed-bean-scope? In my ADF application I have created one backing bean which has attched with the page fragment. I cant able to set the bean scope other than REQUEST....
    If I set the bean scope request, then page and the inside fragment is rendering without any error. But I need to make that bean scope to pageFlow... but if I do, getting the below error. Non of the scopes are working except request... Please help me how to set the other scope which will solve my major development issue!!!!
    Error:
    Error trying to include:viewId:/advsearch-flow-definition/advUserSearch uri:/app/advUserSearch.jsffjavax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, identifier 'UserSearch' resolved to null
    My ADFC-Config.xml:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <managed-bean>
    <managed-bean-name>backing_app_idm</managed-bean-name>
    <managed-bean-class>edu.syr.oim.backing.app.Idm</managed-bean-class>
    <managed-bean-scope>backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1app/idm.jspx-->
    </managed-bean>
    <managed-bean>
    <managed-bean-name>backing_app_userMgmt</managed-bean-name>
    <managed-bean-class>edu.syr.oim.backing.app.UserMgmt</managed-bean-class>
    <managed-bean-scope>backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1app/userMgmt.jspx-->
    </managed-bean>
    *<managed-bean>*
    *<managed-bean-name>UserSearch</managed-bean-name>*
    *<managed-bean-class>edu.syr.oim.backing.app.UserSearch</managed-bean-class>*
    *<managed-bean-scope>request</managed-bean-scope>*
    *</managed-bean>*
    </adfc-config>
    -kln
    Edited by: klogube on Jan 14, 2010 7:23 AM

    *public class UserSearch {*
    private RichTable searchResultTable;
    private Row currentRow;
    private String selectedNetID;
    private RichInputText inputOne;
    private RichInputText inputTwo;
    private RichInputText inputThree;
    private RichSelectOneChoice choiceOne;
    private RichSelectOneChoice choiceTwo;
    private RichSelectOneChoice choiceThree;
    private RichRegion region;
    private String choiceOneVal;
    private String choiceTwoVal;
    private String choiceThreeVal;
    DCBindingContainer bindings;
    int choiceOneRowIndex;
    int choiceTwoRowIndex;
    int choiceThreeRowIndex;
    Row choiceOnerw;
    Row choiceTworw;
    Row choiceThreerw;
    String choiceOneUserSelected = null;
    String choiceTwoUserSelected = null;
    String choiceThreeUserSelected = null;
    static String  txnTypeOne  = null;
    static String  txnTypeTwo  = null;
    static String  txnTypeThree  = null;
    String netid;
    RequestContext requestContext = RequestContext.getCurrentInstance();
    HashMap rcBackupHM = new HashMap();
    FacesContext facesContext = FacesContext.getCurrentInstance();
    Application app = facesContext.getApplication();
    ExpressionFactory elFactory = app.getExpressionFactory();
    ELContext elContext = facesContext.getELContext();
    FacesContext fc = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)fc.getExternalContext().getRequest();
    HttpSession session = request.getSession();
    *public UserSearch() {*
    *public String userSelected() {*
    FacesCtrlHierNodeBinding binding = (FacesCtrlHierNodeBinding) searchResultTable.getSelectedRowData();
    currentRow = binding.getRow();
    selectedNetID = (String) currentRow.getAttribute("netid");
    requestContext.getPageFlowScope().put("netid",selectedNetID);
    return "goToDetails";
    ** Invoke this method when user double click the row in searchResult*
    *public void doDbClick(ClientEvent clientEvent) {*
    FacesCtrlHierNodeBinding binding = (FacesCtrlHierNodeBinding) searchResultTable.getSelectedRowData();
    currentRow = binding.getRow();
    selectedNetID = (String) currentRow.getAttribute("netid");
    requestContext.getPageFlowScope().put("netid",selectedNetID);
    *try{*
    FacesContext facesCtx = FacesContext.getCurrentInstance();
    NavigationHandler nh = facesCtx.getApplication().getNavigationHandler();
    nh.handleNavigation(facesCtx, "", "goDetails");
    *// Refresh the current region; advse1 is the id of the region component inside jspx page*
    AdfFacesContext.getCurrentInstance().addPartialTarget(region);
    *catch(Exception e){ }*
    *public void setSearchResultTable(RichTable searchResultTable) {*
    this.searchResultTable = searchResultTable;
    *public RichTable getSearchResultTable() {*
    return searchResultTable;
    *public void setInputOne(RichInputText inputOne) {*
    this.inputOne = inputOne;
    *public RichInputText getInputOne() {*
    return inputOne;
    *public void setInputTwo(RichInputText inputTwo) {*
    this.inputTwo = inputTwo;
    *public RichInputText getInputTwo() {*
    return inputTwo;
    *public void setInputThree(RichInputText inputThree) {*
    this.inputThree = inputThree;
    *public RichInputText getInputThree() {*
    return inputThree;
    *public void setChoiceOne(RichSelectOneChoice choiceOne) {*
    this.choiceOne = choiceOne;
    *public RichSelectOneChoice getChoiceOne() {*
    return choiceOne;
    *public void setChoiceTwo(RichSelectOneChoice choiceTwo) {*
    this.choiceTwo = choiceTwo;
    *public RichSelectOneChoice getChoiceTwo() {*
    return choiceTwo;
    *public void setChoiceThree(RichSelectOneChoice choiceThree) {*
    this.choiceThree = choiceThree;
    *public RichSelectOneChoice getChoiceThree() {*
    return choiceThree;
    *public void setChoiceOneVal(String choiceOneVal) {*
    this.choiceOneVal = choiceOneVal;
    *public String getChoiceOneVal() {*
    return choiceOneVal;
    *public void setChoiceTwoVal(String choiceTwoVal) {*
    this.choiceTwoVal = choiceTwoVal;
    *public String getChoiceTwoVal() {*
    return choiceTwoVal;
    *public void setChoiceThreeVal(String choiceThreeVal) {*
    this.choiceThreeVal = choiceThreeVal;
    *public String getChoiceThreeVal() {*
    return choiceThreeVal;
    *public void setRegion(RichRegion region) {*
    this.region = region;
    *public RichRegion getRegion() {*
    return region;
    Can you please explain how to define the 2nd bean in the pageFlowScope and injnect?...bacially my problem is I am loosing the pageFlowScope value when I navigate from first page to next page which I am setting by this above class....I need to carry forward the netid which I am losing ...any idea plz

  • How to change the listener port number on a standby database

    i want to change the listener port number from 1525 to 1545, which is running on a standby database.
    i did the following steps and got some error.
    1. i stop listener and modfy listener.ora
    2. i login in standby DB and issue 'alter system set local_listener='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';'
    3. i login in dg broker and issue 'edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';' and a error coming out ORA-16703: cannot set the property while the database is enabled
    4. then i disable database
    DGMGRL> disable database 'ssmscs';
    5. DGMGRL> edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';
    Error: ORA-16541: site is not enabled
    Configuration details cannot be determined by DGMGRL
    what can i do ? can anybody help me out? thanks in advance.
    Edited by: user1835127 on Nov 19, 2008 2:09 AM

    Hi
    You have to edit the following files in $ORACLE_HOME/network/admin or $TNS_ADMIN/ :
    In your listener.ora on your standby
    MQ_LIST =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = superman.dk)*(PORT = 1524))*
    TNSNAMES.ORA (on your primary and standby)
    MQ_LIST =
    (DESCRIPTION =
    (ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = superman.dk)*(PORT = 1524))*
    (CONNECT_DATA = (SID = MQ_LIST))
    after that do
    lsnrctl reload

  • Changing the listener port number in a cluster environment

    Hello,
    I have an Oracle 10g database on a Windows cluster environment with Oracle Fail safe. I am trying to change the default listener port number - these are the steps I have done to change the port number:
    1) Take the listener offline via Oracle Fail safe
    2) stop the original listener from the command line
    3) change the port number in the listener.ora file & save
    4) start the original listener
    5) bring the listener online in Fail safe
    6) register the listener in the database with ALTER SYSTEM SET LOCAL_LISTENER....
    After all this, when i check the status of the listener via lsnrctl, i see that the new port number is used, however in the Fail safe administrator, I still see the default port 1521. How do I go about changing the port number so that Fail safe also registers the change?

    I did troubleshooting to verify the group, but this just changed the port number back to the default in the listener.ora & tnsnames.ora.
    So I did all the steps again to change the port number from the default to another - via lsnrctl status, i see that the new port number is being used, I can also log in to the database via Toad using the new port number, in v$parameter i see that the local_listener is registered on the new port number....only under the Fail Safe manager, the port number (under listener parameter) has not changed....it still shows the default port number. Anyone know how to change this???

  • Changing Default SMTP port in SAP Portal/Web AS java 6.40

    Hi all,
    We are configuring notification service in SAP Portal 6.0 with SPS 15. The SMTP server not using 25 port which is default for SMTP. when the server is trying to send notification it is pointing to IP address and 25 port. HOw can I change the default port to custom defined port in Portal/Web AS Java.
    Thanks in advance.
    regards,
    Kishore.

    Hi,
    may be that I’m a little bit to late,  but for the next one who has the same problem the solution could be interesting.
    You can change the default smpt port on Web AS Java in the server parameters of the java virtual maschine.
    Open the SAP J2EE Config-Tool. Goto „cluster-data | instance_<instance-id> | server_<server-id>“. In the tab „General“ insert unter „Java parameters“ the line
    „-Dmail.smtp.port=<port>“ where <port> ist the port number of your smtp server.
    Testet with SAP NetWeaver Portals / SAP NW 04s and SUN Java-VM but should also work with SAP NW 04.
    Greetings
    Jens

  • How to change Virtual interfaces in SE80 for a web service under ECC6.0?

    hi
    I find a article, "Changing The Function Interface of Web Service Enabled Functions"
    http://www.dataxstream.com/2009/11/changing-the-function-interface-of-web-service-enabled-functions/,
    But, i cannot find the "Virtual interfaces" menu item under SE80, because its example is ECC5.0, my SAP is ECC6.0.
    So, anybody can tell me how to change it under ECC6.0?
    Thanks a lot.
    Edited by: CSDN2008 on Mar 18, 2010 12:23 PM

    Hi,
    Please share your solution here as I am having the same issue.
    Thank you
    Muthaheera

  • How do you manage different target platforms from one FLA?

    I am in the throes of trying to publish an app for both iOS and Android mobile devices and am having trouble finding some guides related to how to most easily target these two platforms without duplicating code or FLA files.
    So far, I have one single code base that checks CONFIG::DEVICE constant to know what platform dependant classes it should or shouldn't use, but as for the FLA, I have two copies of this same FLA with different publishing settings (one set for iOS and one set for Android, and each with the appropriate difference set in the config constant). Needless to say, managing two FLAs with nearly identical content is a pain in the butt.
    How am I supposed to do it (using Flash Professional CS6)? I was considering using "Profiles" (upper left corner of Publish Settings panel) but in the past whenever I've relied on Profiles it has been unrealiable. For example, the SWF file name doesn't change, making it a pain to try and make a seperate SWF for iOS and one for Android. If I just change the target platform in the pulldown mennu for that, will it remember the old settings when I come back to a previous selection? (ie: AIR 3.6 for ios, vs AIR 3.6 for Android, etc)
    Suggestions?  I couldn't find anything by Googling.

    Sure but why doesn't Adobe, who has been pitching Flash & Adobe AIR as "author once, publish to multiple targets" fix this very simple problem?
    I experimented some more and I managed to set up one FLA with two profiles. One is configured for iOS and the other is configured for Android. It WORKS fine except the iOS settings loses all the icons except for the 3 it has in common with the Android side. Conversely, the Android side loses extra Manifest parameters I need for Admob extension integration. It's quite frustrating that this works up to 95% and then loses it. All they really need to do is tie separate app.xml files to seperate publishing profiles.
    One way around this would be if I set each profile to publish to a different swf file. AH, but guess what, that is the ONE setting that a profile does NOT save!!!!!!
    Thanks for your tip though.

  • How to change managed path of a site collection (without backup/restore)?

    Hi
    Other than backup/restore a site collection to another site collection with different managed path, is there is any other way to change the managed path of a site collection directly using Powershell or Central Admin?

    Yes you can use powershell script to change the managed path.
    Reference
    http://jshidell.com/2012/06/26/moving-sharepoint-2010-site-collections-between-managed-paths-using-powershell/
    http://technet.microsoft.com/en-us/library/cc261845.aspx
    http://technet.microsoft.com/en-us/library/ff607693.aspx
    http://technet.microsoft.com/en-us/library/cc288905%28v=office.14%29.aspx
    Regards,
    Sairam Avacorp Technologies

Maybe you are looking for

  • What is the imap calendar? - Never saw it before...

    I've used iCal any synced it with my iPhone for years now and the only calendars that where ever on either were ones I created. However, there's now something called imap (seems to have arrived around the time of iPhone OS4), which my phone and iCal

  • Why does my iPhone4 not receive any announcements/rings/etc?

    My iPhone4 was working perfectly last week then all of a sudden it began not ringing and all incoming text/emails sounds just stopped. Last evening I did a reset (held down the sleep and Home buttons until the Apple icon appeared).  This did not help

  • User access based on positions

    Hi, Can you throw me some hints on handling following requirement on CRM 2007, User A plays himself 2 roles say e.g. Marketing and Sales professional, assigned to 2 different position (different business roles, configured with 2 different PFCG roles)

  • Transfer of tags from Adobe 8 to Adobe 10

    We have Adobe 8.  We bought Adobe 10.  The pictures transferred but not the tags.  So we have not been able to use the new Adobe 10.  How do we get the tags to transfer?

  • Adobe Acrobat XI Pro (windows)

    I just downloaded Adobe Acrobat XI Pro (Windows) and it states I have a valid serial number but not a valid product.  There is no option for Acrobat XI Pro (Windows).