How to determine endpoint from a handler

I want to write a request handler which will set a special header based upon the target endpoint.
How do I determine the endpoint from the request handler?
On a (possibly) related note, is there a good reference somewhere of the typical properties which are likely to be set related to the message context during web services flows?
Thanks,
-- Frank

I found at least partial answers to my questions.
MessageContext.getPropertyNames() can be used to see the properties on a given flow.
MessageContext.getProperty(prop) can be used to get information for paroperties such as:
prop=javax.xml.rpc.service.endpoint.address
prop=wsdl.portName
-- Frank

Similar Messages

  • How to determine endpoint bandwith utilization

    Hi,
    I occasionally see large amounts of traffic saturating WAN links between a centrally located WLC and any one of several remote access points.  Most of the traffic on the remote APs is locally switched (flexconnect) but there are a couple of SSIDs that are centrally switched (e.g. guest).  My tools just show the traffic between the AP and the WLC. .How can I drill down and determine which endpoint is consuming that bandwidth?
    Thanks,
    -Jeff

    Hi Jeff
    Probably you have to get WLC netflow data to see what traffic is it.
    From WLC 7.4 code onward this feature supported & below post may give some reference
    http://mrncciew.com/2013/02/12/configuring-netflow-on-wlc-7-4/
    HTH
    Rasika
    **** Pls rate all useful responses ****

  • How to determine receiver from multiple receiver systems

    Hi all,
    I've scenario :
    soap req -> XI -> req to external database -> resoponse from db to XI -> BAPI request -> response from BAPI to XI -> send response to SOAP Response.
    In this scenario we have multiple SAP HR Systems. Now external database sends URL field and using that URL field I've to determine which SAP HR system is going to be used to get BAPI response.  Each SAP HR system uses the same BAPI structure.
    How can I determine particular SAP HR system based on URL field.
    I am using BPM for this scenario.
    Is there any way I can do this whole scenario without BPM?
    Please help me on this issue.
    Thank You,
    Chintan

    Hi Chintan,
    Have you tried with the conditional routing with Receiver Determination.
    That could probably help you to route to various SAP HR business systems based on the URL field.
    For the whole flow you need BPM...but for SAP HR systems receiver determination will be sufficient.
    Let me know if you need any more details on it.
    also check with below links
    Xpath expression
    Illustration of Enhanced Receiver Determination - SP16
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
    Customise your 'XPATH' Expressions in Receiver Determination
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    http://help.sap.com/saphelp_nw04/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
    Hack: Using XPATH in XI Message Mappings
    /people/daniel.graversen/blog/2006/12/29/hack-using-xpath-in-xi-message-mappings
    Thanks
    Swarup
    Edited by: Swarup Sawant on Apr 4, 2008 4:40 AM

  • How to register Endpoint from External to CUCM

    We have Lab deployment:
    Cisco VCS-E
    Cisco VCS-C
    Cisco CUCM
    IM&P
    Cisco SX20 (Internal)
    Cisco EX90 (External)
    I have a problem:
    I registed successfull Cisco SX20 in Internal BUT EX 90 can't register to CUCM from External. How do i do??
    Please, support me.
    Thanks!

    You need to setup your VCS-C and E to do Mobile and Remote Access (MRA), that will allow external endpoints to register to CUCM which is on the internal network.  See the VCS configuration guides, for your VCS version, here is one for VCS X8.5.

  • How to determine line # from printstack() with cc compiler on Solaris 10

    Hi,
    printstack() when called produces a stack trace per the following:
    /lib/libc.so.1:0xc5364
    /lib/libc.so.1:0xb9e64
    /platform/sun4u-us3/lib/libc_psr.so.1:memcpy+0x660 [ Signal 11 (SEGV)]
    /opt_outside_local_disk/opt/zim/bin/program_name:function_name+0x160
    How does one determine what the line # is in the C program for the above offset 0x160?
    Thanks in advance.
    Joe

    Hi Joe,
    I don't know what is the best way, but here is a 3-steps procedure to find the line.
    I inserted a printstack(2) line in my program, and got this output:
    /export/home/nikm/SunStudioProjects/4Queens/NQueens'main+0x711 [0x4023f9]I use Sun Studio 12 update 1 to compile my program.
    It includes Performance Analyzer tools, and one of its utilities, "er_src", can help to find the line.
    First of all, let's run it with "-disasm" option to find the line number, that corresponds to the address 4023f9:
    nikm@OS-Dec2008:~$  er_src -disasm main  /export/home/nikm/SunStudioProjects/4Queens/NQueens | grep 4023f9
                    [137]   4023ed:  jle     .+0xc [ 0x4023f9 ]
                    [141]   4023f9:  movq    0x11280(%rip),%rsiBasically, that's it, we have the line number - it is 141.
    Let's verify that this is correct:
    nikm@OS-Dec2008:~$  er_src -src main  /export/home/nikm/SunStudioProjects/4Queens/NQueens | grep -n '141\.'
    214:           141.     return total_pos;Well, it points to the line after the printstack(2) statement. Let's verify this:
    nikm@OS-Dec2008:~$  er_src -src main  /export/home/nikm/SunStudioProjects/4Queens/NQueens | head -214 | tail -5
               137.     if (debug > 0) {
               138.         printstack(2);
               139.     }
               140.
               141.     return total_pos;
    nikm@OS-Dec2008:~$ That's it. The line is 138, and printstack(2) actually points to the next line.
    Thanks.
    Nik
    Edited by: NikMolchanov on Aug 29, 2009 10:10 PM
    Edited by: NikMolchanov on Aug 29, 2009 10:11 PM

  • How to determine PLTYP from BPLAN

    How can I determine a plan's type (PLTYP) given it's plan code (BPLAN)?  Is there a lookup table for this?

    For that you might have to look at View U_17170.
    a

  • How to determine 0calday from 0fiscper field ?

    we have a requirement where the user will enter the calmonth variable in the user input, and need to get the amount for top 20 customer's on sales, in the report. The problem is we dont have calmonth in the infocube. we have only 0fiscper and 0fiscalyear , and -0calday.
    0calday is mapped to the transaction date. No calmonth in the infocube and we cannot add it now. its too late.
    The columns we need in the report are ( orange color are column names)
    customer        YTD           DEC 2012 ( sales amount) ....for top 20 customers. like
    customer 1      99999            900
    customer 2      55555             200
    customer 20      11111             234
    sample data is as follows: ...what I want is user will input 0calmonth and 0fiscalyear. and I need to display the data for that month . Please advise how to achieve it. YTD - is 1st of jan of the current year till today's date right ? Irrespective of the user entry variable. Is that right ?

    Now as per your suggestion, I have restricted Z_FY_INPUT to the KF, and created another ZYTD and put this as Z_FY_INPUT as replacement path and and put offshet as 2 to 4 on it.
    Again i will clarfiy:
    First selection--Revenue KF--Fiscper--variable--User input--Z_FY_INPUT--This selection will give the value of that period which user is entering.If user enters 004.2014 so it will give value for the same.Correct!
    Now for YTD we need data from 001.2014 to 004.2014. correct..
    A) Take the revenue KF--Drag and drop 0fiscper --Restrict--Show--Value ranges---Less than or equal to--Choose the variable Z_FY_INPUT.
    B) Now again restrict the above selection with 0fiscyear--Create a characteristic variable with replacement path--Follow steps with screenshot as mentioned in the document.
    So basically for YTD you have restricted with two variables based respectively on 0fiscper and 0fiscyear.
    How this works let me explain that also.
    In Part A i have restricted the kf with the same user input variable which you used in first selection but the range less that or equal to.
    Till this stage if user enters 004.2014 then it will bring all the data which is less or equal to the user input which is not our requirement.We need data from the starting of the year upto user entered value.
    In Part B we have restricted the same selection with replacement path variable on 0fiscyear--We are replacing it with variable entered by user.
    So now this part will hold only the year i.e 2014..How--user entered 004.2014.
    Internal format K42014004--Offset we have given 2 length 4..
    Which gives 2014.
    On combining both the parts we get data data from the starting of the year up to the user entered value.
    I tried my level best to explain you how this works and believe me i have created YTD using the same method in so many queries and it really works as desired.
    Regards,
    AL

  • How to determine year from a date?

    Hi experts,
    How can I deterimine the year of a datum?
    Is it always working if I determine the first 4 characters of a date?
    I mean you can write the date in many forms like. yyyy/mm/dd or dd/mm/yyyy
    So if I choose the first 4 characters the results will be different in the two cases mentioned here. How can I determine the year exactly?

    If you use internal format (fields type D, DATS) the year is always in the first 4 characters.
    Else convert into internal format first. ([CONVERT_DATE_TO_INTERN_FORMAT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=convert_date_to_intern_format&adv=false&sortby=cm_rnd_rankvalue], [CONVERT_DATE_INPUT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=convert_date_input&adv=false&sortby=cm_rnd_rankvalue], [CONVERSION_EXIT_DATEX_INPUT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=conversion_exit_datex_input&adv=false&sortby=cm_rnd_rankvalue], etc.)
    Regards

  • How to determine number from Restricted call message

    Is there a way I can find out who keeps calling me from a restricted number?
    >Thread branched. Post and Subject edited to remove question concerning the thread this post came from<
    Message was edited by: Verizon Moderator><

        Hi there MirankaVanHintum,
    Let's put a stop to those pesky restricted calls! We have a great option to prevent this from happening.  We have a service called Family Base!
    Check it out here
    Thanks, BobbyS_VZW
    Follow us on Twitter @VZWSupport

  • How to - Determining mimetype from fileextension?

    Hallo,
    i want to do something like this
    import javax.activation.MimetypesFileTypeMap;
    import java.io.File;
    class GetMimeType {
    public static void main(String args[]) {
    File f = new File("example.gif");
    System.out.println("Mime Type of " + f.getName() + " is " + new MimeTypesFileTypeMap().getContentType(f));
    but in my jdeveloper i don't have javax.activation.MimetypesFileTypeMap.
    What can i do?
    Any help is appreciated.

    If I am understanding your problem, I think all you have to do is to get ahold of the .jar file which contains the class you want to call, put it on your computer somewhere, right-click your project, select Project Properties..., open the Libraries category, and include your .jar file in your project's class path.
    Hopefully this helps...if not let me know please...

  • Change adapter endpoint from em console

    How change adapter endpoint from em console ?

    You can also try as per the below post.
    http://www.albinsblog.com/2012/01/oracle-soa-11g-changing-service.html
    Thanks,
    Vijay

  • Deleting message from Message Handler

    Hello,
    I want to delete some message that are getting displayed on ECM UI from SAP in the BADI HRECM00_CONSISTENCY.
    There are several methods available for adding and getting messages from message handler in class CL_HRPA_MESSAGE_LIST
    but there is no method for deleting message from message handler.
    Please let me know if any one of you have any idea,how to delete messages from message handler.
    Message handler has reference to CLASS CL_HRPA_MESSAGE_LIST in the BADI.
    Thank you
    Arvind

    Hello
    In the BADI the messages are not coming in internal table but are in class instance (message_handler).I have got the messages in internal tabe now.But after deleting it this needs to be again added in message handler in such a way that old one are removed and new one are added only.
    This is required as message handler will be carrying the message to ECM user interface where it will be displayed.
    Currently all the message are going to UI,my requirement is to send only my message to UI.
    Thank you
    Arvind

  • Event handler for dropdownlistbox how to determine selection ?

    Hello,
    As a newby in BSP programming, I'm trying to build a small application with a menu structure . This menu is defined in a page fragment and consists of dropdownlistboxes. The event handling is located in the main page which contains the page fragment.
    My problem is that I cannot get these dropdownlist boxes to work. The coding in the page fragment is :
    ==========================
    <htmlb:content>
      <htmlb:form>
        <htmlb:dropdownListBox id             = "myDropdownListBox1"
                                 tooltip        = "Tooltip for my DropdownListBox"
                                 onClientSelect = "alert('myDropdownListBox1')"
                                 onSelect       = "mySelect" >
            <htmlb:listBoxItem key   = "k1"
                               value = "MenuChoice1" />
            <htmlb:listBoxItem key   = "k2"
                               value = "MenuChoice2" />
            <htmlb:listBoxItem key   = "k3"
                               value = "MenuChoice3" />
            <htmlb:listBoxItem key   = "k4"
                               value = "MenuChoice4" />
            <htmlb:listBoxItem key   = "k5"
                               value = "MenuChoice5" />
            <htmlb:listBoxItem key   = "k6"
                               value = "MenuChoice6" />
          </htmlb:dropdownListBox>
        </htmlb:form>
    </htmlb:content>
    ==========================
    The event handler ( OnInputProcessing ) code is :
    ==========================
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
      DATA: event TYPE REF TO if_htmlb_data,
            ddlb_event TYPE REF TO CL_HTMLB_EVENT_SELECTION.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event IS NOT INITIAL AND event->event_name =
                 'dropdownListBox'.
          ddlb_event ?= event.
        CASE event->event_id.
          WHEN 'myDropdownListBox1'.
            CASE ddlb_event->selection.
           WHEN 'k1'.
            .......( Contains other statements )
           WHEN 'k2'.
            .......( Contains other statements )
           WHEN 'k3'.
            .......( Contains other statements )
           WHEN 'k4'.
            .......( Contains other statements )
           WHEN 'k5'.
            .......( Contains other statements )
           WHEN 'k6'.
            .......( Contains other statements )
         ENDCASE.
        ENDCASE.
        ENDIF.
    ==========================
    I have tried several different event handlers including the example in the documentation of the dropdownlistbox HTMLB element, but in the event handler I don't know how to determine the selection made.
    I would appreciate it hugely if someone could give me an example how to do this ?
    With regards,
    Fred van de Langenberg

    Hello,
    Thanks for your answers & suggestions Subramanian, Ulli & Sebastian.
    I forgot the <htmlb:content> tags ( thanks Ulli ) and eventually I got things working with the following :
    Main page layout : dopdownlistbox element
       <htmlb:dropdownListBox
                id          = "Ddlb1"
                onSelect    = "OnInputProcessing" >
                selection   = "<%= selection1 %>"
            <htmlb:listBoxItem key   = " "
                               value = " "/>
            <htmlb:listBoxItem key   = "k1"
                               value = "k1" />
            <htmlb:listBoxItem key   = "k2"
                               value = "k2" />
            <htmlb:listBoxItem key   = "k3"
                               value = "k3" />
            <htmlb:listBoxItem key   = "k4"
                               value = "k4" />
            <htmlb:listBoxItem key   = "k5"
                               value = "k5" />
          </htmlb:dropdownListBox>
    Event handler
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
    Scenario 1: Read event from manager.
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event IS NOT INITIAL AND event->name = 'dropdownListBox'.
        DATA: data TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
        data ?= CL_HTMLB_MANAGER=>GET_DATA(
                  request = runtime->server->request
                  name    = 'dropdownListBox'
                  id      = 'Ddlb1'
         CASE data->selection.
           WHEN 'k1'.
           WHEN 'k2'.
           WHEN 'k3'.
           WHEN 'k4'.
           WHEN 'k5'.
         ENDCASE.
       ENDIF.
    ENDIF.
    Fred van de Langenberg

  • How can I convert a Database Handle from TestStand to LabVIEW?

    I want to use a Database Handle (already created in TestStand by an Open Database step) in a LabVIEW-VI (called from TestStand) to connect it with the "Connection Reference" input of the "Easy SQL.vi"? If I use a directly connection via the "TestStand - Get Property Value (Number).vi" I get back the error message 4101 in LabVIEW. How can I convert the Database Handle?
    Test Engineering
    digades GmbH
    www.digades.com

    The TestStand database step types use the CVI SQL Toolkit to talk to databases. The handle that you are referencing is an internal memory location and not a actual handle that you can directly use. Currently as implemented the handle that is stored in a numeric TestStand property for the connection and the SQL statement are the handle values returned from the CVI SQL Toolkit. So for the connection handle, you could call the CVI SQL Toolkit function
    DBGetConnectionAttribute (
    int Connection_Handle,
    tDBConnectionAttr Attribute,
    void *Value);
    and get the CVI CAObjHandle reference. With this you could then call the CVI ActiveX function
    CA_GetInterfaceFromObjHandle(
    CAObjHandle Object_Handle,
    const IID *Interface_Id,
    int Force_AddRef,
    void *Inte
    rface_Ptr,
    int *Did_AddRef);
    to get the actual ActiveX interface reference. This would have to be converted into a LabVIEW reference.
    You may want to consider just using LabVIEW to open a new parallel reference only using the toolkit.
    Scott Richardson
    National Instruments

  • How to determine most recent date from the date column of internal table

    Dear friends
    would you like to tell me. how i determine the most recently changed record by looking at date and time from internal table i am not supposed to sort the table by date and time... I must check date and time with other records date and time to determine which record is most recently changed...
    here the scenario is.
    id idnumber chdate chtime
    1 123456 20060606 135312
    2 123456 20060606 135900
    3 123456 20060606 132300
    4 123457 20060606 140000
    5 123457 20060606 142500
    in the above scenario i must keep in my mind that the most recently changed record is identical to its idnumber i can say that:
    the record should be fetched this way
    id idnumber chdate chtime
    3 123456 20060606 132300
    5 123457 20060606 142500
    because here the id 3 is the most recently changed in the idnumber 123456
    where id 5 is the most recently changed in the idnumber 123457
    please help me to determin how i am supposed to carry out this task any suggestion, code will be great help of mine.
    regards
    Naim

    After testing my suggestion above, I realized that it doesn't work because the delete adjacent actually will keep the first one and delete the rest.  I'm working with Srinivas's code a bit now,  I think it is almost what you want.  I am under the impression that you dont' want to HIGHest date/time, but just the last record of the sequence, if this is the case, then this code will help.  Here we will assign an index to each record per the idnumber, that way we can sort it and get the lastest record.
    report zrich_0001.
    types: begin of itab_type,
            id       type i,
            idnumber type i,
            chdate   like sy-datum,
            chtime   like sy-uzeit.
    types: end of itab_type.
    types: begin of itab_type2,
            id       type i,
            idnumber type i,
            index    type i,
            chdate   like sy-datum,
            chtime   like sy-uzeit.
    types: end of itab_type2.
    data: itab     type table of itab_type with header line,
          itab2    type table of itab_type2 with header line,
          prev_rec type itab_type.
    data: v_id type i.
    start-of-selection.
      itab-id       = 1.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '135312'.
      append itab. clear itab.
      itab-id       = 2.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '135900'.
      append itab. clear itab.
      itab-id       = 3.
      itab-idnumber = 123456.
      itab-chdate   = '20060606'.
      itab-chtime   = '142500'.
      append itab. clear itab.
      itab-id       = 4.
      itab-idnumber = 123457.
      itab-chdate   = '20060606'.
      itab-chtime   = '140000'.
      append itab. clear itab.
      itab-id       = 5.
      itab-idnumber = 123457.
      itab-chdate   = '20060606'.
      itab-chtime   = '120000'.
      append itab.
      clear itab.
    <b>  data: counter type i.
    * Assign an index to each row per idnumber
      loop at itab.
        on change of itab-idnumber.
        if sy-tabix > 1.
          clear counter.
          endif.
        endon.
        clear itab2.
        move-corresponding itab to itab2.
        counter = counter + 1.
        itab2-index = counter.
        append itab2.
      endloop.
    * Sort it and get rid of older records.
      sort itab2  by idnumber ascending
                     index descending.
      delete adjacent duplicates from itab2 comparing idnumber.</b>
      read table itab2 with key idnumber = '123456'.
      write:/ itab2-chdate, itab2-chtime.
      read table itab2 with key idnumber = '123457'.
      write:/ itab2-chdate, itab2-chtime.
    Regards,
    Rich Heilman

Maybe you are looking for

  • HT4623 my i pad screen is blurred what will i do to resolve it? thanks so much.

    hello! i would like to ask help about my I pad screen is so blurred how can i fix it? thanks.

  • Sql report: current pagination

    hello! i have a sql report with partial page refresh enabled and pagination schema "Row Ranges 1-15 16-30 in select list (with pagination)". is it somehow possible to get the current page of the sql report (via javascript)? thx! best regards, christi

  • System tray Icon!!!

    Hi all, I have created an application. Now i want that application to be converted to an exe and i also want to post that into the system tray. I just need to have an icon in the destop and wen double cliked it has to reach the system tray. On right

  • Access Control - Function - error

    Hi guys, I was following "" Application Express Advanced Tutorials How to build an Access Control page "" But the function in the tutorial would not work: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/acl.htm#CHDDDFBD CREATE OR REPLAC

  • Importing and editing raw files using a Canon 70D

    I have a new Canon 70D.  If I upgrade to photoshop elements 12 will I be able to import raw files using this camera without using plug ins.  It would not import raw files off a 70D in elements 11 but would for my older ?Canon 60D.  Has this been corr