How to configure the sort and port of a SOAP address dynamically

Hi All,
In the “wsdl” we have the SOAP Address defined but in practice we would like to configure the host and the port. As the server on which the service resides may/will change.
For example:
http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
We would like to configure the proxy to point to say:
http://<host>:<port>//sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
What we see in the Proxy Code is:
port.setSOAPAddress(new com.sap.flex.ws.runtime.SOAPAddress("http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003"));
How could this be achieved.
Please help.

Hi Sumit,
Thanks for the quick response. However, I do not want to change the host and the port in the wsdl. I want it to be so, that it will pick the host and port dynamically(as you have mentioned). However, in out case, the web service has the SOAP address hardcoded as <b>http://usciq74.wdf.sap.corp:50077</b>.
We would want to write something as http://host:port and then let it pick the host and port dynamically. How is that possible.
Best Regards,
Debashree.

Similar Messages

  • How to configure the runtime and consolidation for a track in CMS.

    How to configure the runtime and consolidation for a track in CMS.
    I can see the track exists in CMS but the same doesnt pull up in the NWDS in the development configuration perspective.
    I compared the given track with the one which gets pulled up in NWDS. Theres something called runtime system and consolidation which isnt defined for the track which is invisible.
    Please advise , what are these required for. And how can we configure the same.

    The runtime systems are defined for a track to setup the Transport path for any code changes....the Consolidation system is usually defined as a Virtual system for the track and used for comparison and fixing any broken or Dirty DC's ....that means it's not used as a Runtime System for Deployment as compared to DEV,QAT and PROD used for Deployment...
    Hope it helps..
    Regards,
    Shikhil

  • How to configure the XI  and PLM in discovery box

    How to configure the XI (SLD, Integration repository, Integration Builder ) in  SAP discovery system.
    And also i want to configure the PLM and xRPM within R/3 of discovery box.
    Regards,
    Nilesh Damle

    Hi Frank,
    well, first of all, your application provides log configuration information using an XML file at deployment time. This file is called log-configuration.xml (you can see the DTD description here: http://help.sap.com/saphelp_nw04/helpdata/en/48/ef8748caed894bb4b3ae953a60c592/frameset.htm). There you can set configure log controllers, which could be two types: location and category. So, you can specify your location and severity there. This is described here: http://help.sap.com/saphelp_nw04/helpdata/en/35/671c0136b4714c9e1b16b68211287b/frameset.htm.
    Then, after the application is deployed, the log configurations you provided for it are registered with the Log Configuration tool I mentioned about. Using this tool you can later on modify your configurations at runtime (for example, change the severity level) without having to redeploy the application.
    I hope it's clearer now? I guess it was me not getting your first question correctly that caused your confusion.
    Greetings,
    Ivo

  • How to read the Domain and Port of our server

    hi guru,
    Is there any method to get the portal Domain and Port .
    http://<domain>:<port>/irj/portal
    http://<Domain><port>  /irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=NIB_Aliase&SAP_TCode=se80
    in our project  we are hard coded the Domain and port .
    if we transfer the application is some other server again we want to change.
    So is there any solution for that.Please help me in this situation
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart;
    import com.sap.tc.webdynpro.services.task.TaskBinder;
      WDDeployableObjectPart d = wdComponentAPI.getDeployableObjectPart();
      String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
      int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
    With the above code you can get the host name, and port.
    If your problem is solved, award me the points.
    Thanks,
    Srini

  • How to configure the ST03N and ST06 for displaying the correct data?

    Hello guys,
    I have just finished a internal project installation following the installation guide.
    Our R/3 System can run correctly. However, when I type st03n, it displays some strange data instead of the real server information. and also in st06, I cannot get the real OS information.
    The OS collector said that saposcol is not running because of no process id found.
    But in the OS level, I've checked the server and saposcol -s said that the saposcol is running correctly.
    I searched some notes and modify the processor of the SAPOSCOl service, too. But nothing changes.
    I think the ST06 issue is the root cause of the ST03N.
    I just wonder that how I could configure the system to make the ST03N or the ST06 display the correct statistics?
    Thanks in advance.

    I got the answer myself.
    I didn't know there were some standard jobs that are required to scheduled for a live R/3 System.
    In SM36, find the standard jobs and input 'bc' in sap components and select the jobs scheduling job and set it as periodly run jobs(hourly).
    then release the schedule.
    And note 16083 has all the information.

  • How to configure the KMC and Business packages in trail version 7.0

    Hi Experts,
    I have installed the Sneak Preview version 7.00 SP9 from the sdn.
    If i want to start working on the KMC
    What i need to install and configure for KMC and collabrations.
    If i need to install, where i will get the installables and documentaion.
    In the same . I would like to install the business packages also in the same server. where i will get the insallables and related dcoumentation.
    R/3 version is ECC6
    Regards
    Vijay
    Regards
    Vijay

    Dear Samuli,
    Thanks for the Replay,
    We are using HTTPS and SSL confined but man in the middle types of attack is happening here there using one tool based one there taking the Request and Response.The below given cookie are available in that request.
    According to this , set-cookie: JSESSIONMARKID , JSESSIONID and MYSAPSSO2 values are user login time it will change every time  are not.
    After  capturing above response HTTP/1.1 302 etc , when user gives valid credentials and logs in ,
    and now ill give wrong password and wrong user id and on click of log on button, i can intercept the request and response coming from the server and when i replace this valid response stil i am able to loggin in to the portal , which should not happen as JESSIONMARKID is changed , server should not allow , but it is loggin in.Standard Login page also allowing to login in this case.
    My server version is EP 7.0 SP 12.
    Please suggest a solution so that if we restric the hacker at this stage , no matter he can never hijack the sesiona and login  with invalid username and  password.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao.

  • How to configure the logging and tracing in J2EE-Server

    Hi,
    when I've been using the SAP Logging and Tracing Framework before from more or less "standalone" Applications I always used a property file which configured the levels of severity  etc.. During application startup I've read this file and configured the logging properly.
    In a J2EE-Environment (SAP WEB AS JAVA) I cannot read a file from a file - system. So I'm wondering where are those handlers and severity levels are configured ?
    Any help is greatly appreciated.
    Thanks in advance,
    Frank

    Hi Frank,
    well, first of all, your application provides log configuration information using an XML file at deployment time. This file is called log-configuration.xml (you can see the DTD description here: http://help.sap.com/saphelp_nw04/helpdata/en/48/ef8748caed894bb4b3ae953a60c592/frameset.htm). There you can set configure log controllers, which could be two types: location and category. So, you can specify your location and severity there. This is described here: http://help.sap.com/saphelp_nw04/helpdata/en/35/671c0136b4714c9e1b16b68211287b/frameset.htm.
    Then, after the application is deployed, the log configurations you provided for it are registered with the Log Configuration tool I mentioned about. Using this tool you can later on modify your configurations at runtime (for example, change the severity level) without having to redeploy the application.
    I hope it's clearer now? I guess it was me not getting your first question correctly that caused your confusion.
    Greetings,
    Ivo

  • How to configure the network and access to the Extender

    I have the Philips Wifi router of Belgacom and le LED of LINK of the Extender stay red. When I use the software on PC, it doesn't find the Extender.. 
    How are parameters to configure router for the Extender can configure it? On my Extender, I can't connect a cable, this is the first model.... Thanks for help

    try to reset the extender...
    look for its default SSID which is linksysRxxxx on yOur wireless computer then connect to it...
    after connecting set staticIP on yOur wireless computer and then try to access the extender frOm there(192.168.1.240)....
    hOpe this helps...  

  • How to find the start and end sector index/physical address of any given file?

    I need to find the range of sectors that a file occupied. Then determine the slack space in that file and then analyze the slack space. This is a forensics project work. I am new to forensics and have no idea what Window API calls may help me accomplish
    this task. Any kind of help will be appreciated. 

    One solution if you want all the dates in one column:
    SQL > SELECT *
      2  FROM
      3  (
      4     SELECT  (CASE WHEN ID = 1 THEN TRUNC(MTH,'MONTH') ELSE ADD_MONTHS(TRUNC(MTH,'MONTH'),1)-1 END) AS MTH
      5     FROM
      6     (
      7             SELECT  ADD_MONTHS(TO_DATE(:begin_month,'MM/DD/YYYY'),LEVEL-1) AS MTH
      8             FROM    DUAL
      9             CONNECT BY LEVEL <= ABS(MONTHS_BETWEEN(TO_DATE(:begin_month,'MM/DD/YYYY'),TO_DATE(:end_month,'MM/DD/YYYY')))+1
    10     )
    11     CROSS JOIN
    12     (
    13             SELECT 1 AS ID FROM DUAL UNION ALL
    14             SELECT 2 FROM DUAL
    15     )
    16  )
    17  WHERE MTH BETWEEN TO_DATE(:begin_month,'MM/DD/YYYY') AND TO_DATE(:end_month,'MM/DD/YYYY')
    18  ORDER BY MTH
    19  /
    MTH
    03/31/2009 00:00:00
    04/01/2009 00:00:00
    04/30/2009 00:00:00
    05/01/2009 00:00:00
    05/31/2009 00:00:00
    06/01/2009 00:00:00
    06/30/2009 00:00:00
    07/01/2009 00:00:00
    07/31/2009 00:00:00
    08/01/2009 00:00:00
    08/31/2009 00:00:00
    09/01/2009 00:00:00
    09/30/2009 00:00:00
    10/01/2009 00:00:00
    10/31/2009 00:00:00
    11/01/2009 00:00:00
    11/30/2009 00:00:00
    12/01/2009 00:00:00
    12/31/2009 00:00:00
    01/01/2010 00:00:00
    01/31/2010 00:00:00
    02/01/2010 00:00:00
    02/28/2010 00:00:00
    03/01/2010 00:00:00

  • How to configure the fixed cost

    Dear all,
    When i am working the product cost in CK13N i got the cost for both fixed and variable.I want to know how to configure the fixed and what are the facors are considered? which Tcode is most suitable to view the same?
    Can any one help me in this regard
    P.Selvakumar

    Hi
    The Material cost from BOM is usually variable cost
    Activity cost - can be fixed or variable depending on your price in KP26
    Overheads from costing sheet can be fixed or variable - depending on how you define the BASE key in the costing sheet
    br, Ajay M

  • How to configure the eth1 port of NIcRIO 9024 to another IP address and subnet mask

    Hi ,
    I am using cRIO 9024 and am planning to configure it to be an MMS server that interacts with a client which is in another network with different IP and subnetmask. I want to run the server VIs from the host computer via the eth0 port and want to communicate the MMS messages through the eth1 port. the eth0 port is configured as a static IP as shown in the screenshot attached and would like to assign a separate IP and subnet mask to the other port . But when I try to save the configuration I get the error "Could not save your changes tot he target.The subnet mask for eth1 is invalid" .
    I have already directly cross connected the Crio and have disabled the firewalls and still am not able to configure it.
    1) is it possible to configure the ethernet ports to have separate IPs corresponding to different networks and thus the subnet masks?
    2) If its possible then what is the mistake i am doing while configuring it ?
    I would be extremaly grateful to have a reply on this as its pretty desperate to spend a lot of time just to set up the IP configurations..!!!!!
    Regards
    Abhinav

    Dear Abhinav,
    I'm sorry but what you are tryining to do is not suported by the Second Ethrnet Port on any cRIO and so you getting this error meeage.
    Here a abstract out ouf the KnowledgeBase How do I Configure the Dual Ethernet Ports on Real-Time Controllers?:
    Ethernet port 2 is currently not supported to communicate outside its own subnet. There is no capability of configuring the Default Gateway for Ethernet port 2 and therefore cannot connect to a large isolated intranet.  However, there appears to be a common misconception that this port can only be used for communication between NI products: this is not the case, though any communication through the secondary port must be within the same subnet.
    Kind Regards,
    SG3 | Applications Engineering | National Instruments | NIG |

  • How to Configure the Netweaver CE UDDI Server and Registry

    Hi,
    I'm trying to configure the UDDI registry in Netweaver CE (trial version 7.1 SR 1) following the <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/47e8e91587072fe10000000a155369/frameset.htm">SAP Help documentation</a>. But as the help is not detailed not sure whether I'm doing it correctly. I can access the Service Registry by http://<host>:<port>/sr but not sure whether everything is fine. Also I want to publish Enterprise Services in the registry. As it's not possible to do that from ABAP 7.0 WebAS (doesn't not support UDDI v3) I want to do it via the UDDI client. How to configure the UDDI client by providing the Inquiry URL, Publish URL, etc in the settings?
    Please help me if anyone has any information regarding this.
    Thanks,
    Dipankar

    I am working through the same issues and have not found all of the answers.  However, this may get you closer.
    See http://help.sap.com/saphelp_nwce10/helpdata/en/45/635dd614d73bdbe10000000a1553f7/content.htm for some physical destinations that have to be set up for Visual Composer.
    You can also connect to the registry in NetWeaver Developer Studio by launching the Web Services Explorer from the J2EE Perspecive.  See the help for more details.

  • How to remove the sort function on the drill down and then save

    how to remove the sort function on the drill down and then save in the  change local view of the Query
    Is it possible to change the porperties of any characteristic in the local view and then save?
    If so please post the answer.

    I do not think that option is possible.
    Regards,
    Venkata Boga.

  • I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw

    I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw  so  everyone that shares my iPad can  oppen my mail  with  no pw  required.
    Thank

    The iPad is designed to be a single user device, and there is currently no way to password protect the Mail app - even removing the account password from Settings > Mail, Contacts, Calendars will just prevent new mail being downloaded, it won't hide those that have already been downloaded. There is this work-around for the app : https://discussions.apple.com/message/13127632#13127632 . Also there might be third-party email apps that feature password protecting.

  • How to show the filter and sort capabilities in adf dynamic table

    hi
    how to show the filter and sort capabilities in adf dynamic table..
    Pls help me

    Hi
    Click on a colum in your table and go to the properties pallet
    make true the sortable property then you can sort the table according to that column
    Thanx
    Padma

Maybe you are looking for

  • How did my desktop appear on another computer after Leopard install?

    I have a Mac G5 connected by ethernet to a cable company. I bought a MacBook for Chicago which is 2,000 miles away. After upgrading my G5 with Leopard I physically took the Leopard CD to Chicago and installed it on my MacBook in Chicago where I have

  • Specify initial page following mod_osso login for JSP application?

    I'm developing a JSP application that is stand-alone from Portal, but that is protected via mod_osso. (What's the proper term for this - its sort of a Partner application, really an External application, but not registered w/ Portal at all...) Follow

  • Inventory Management Negative Values

    Hello Experts - I'm working on an inventory management report and we're in BI 7.0. In the report, the valuated stock quantity is a non-cumulative key figure with inflow as receipt stock qty and outflow as issue stock qty. In my transformation, I'm ta

  • Sorting question

    I'm looking to sort my weddings images by time.  I shoot different cameras and want to speed up my process.  I have subfolders for weddings after importing all of the folders what is the best way to sort them in order?

  • What exactly does the iTunes iPhone 5S "back-up to computer" back-up?

    I got a new iPhone that I want to restore from a back-up of my old iPhone. I was wondering exactly what things are "backed-up" with the iTunes back-up to the computer? Does it back-up contacts, pictures, videos, game saved-data, app settings, and iPh