JMF: getting player for current service question

On interactivetvweb.org I found something like this:
// Get a reference to the JavaTV ServiceContextFactory
ServiceContextFactory factory;
factory = ServiceContextFactory.getInstance();
// From this, we can get a reference to the parent
// service context of our Xlet.  To do this, we need a
// reference to our Xlet context.  It's times like this
// that show why your application should always keep a
// reference to its Xlet context
ServiceContext myContext;
myContext = factory.getServiceContext(myXletContext);
// ServiceContentHandler objects are responsible for
// presenting the different parts of the service.  This
// includes the media components
ServiceContentHandler[] handlers;
handlers = myContext.getServiceContentHandlers();
for(int i=0; i < handlers.length ; i++) {
  if (handlers[i] instanceof ServiceMediaHandler) {
    // This is a Player for part of the service, since
    // ServiceMediaHandler objects are instances of JMF
    // Player objects
   //   so I guess here i can do something like:
    Player p = (Player) handlers;
p.start();
break;
But do I have to do something like
myContext.select(s);before getting service content handlers (where s is an instance of Service)? Because I don't quite understand idea of getting player from context.

Dear stevem,
Thanks for your apply. It is useful for me. The another question about this issue is, if the number of service context is at least the same as the number of tuner, I suppose that means the ServiceContext.select(new Service) can only select the another service in the same transport stream. Is my assumption is correct?? If so, if the ap want to select the new service in another ts, the ap should call the tunning api, then it can call the select() to select ap's desired service. it's right? ^^ If my assumption is false, could you share me the correct using flow ^^ ? Thx a lot~
Happy new year! ^^

Similar Messages

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Use FI Posting date as a filter value, can I get YTD for current year?

    Dear Expert,
    I work on a BI report which calculate the YTD key figure (restricted by 0CYEAR and =< 0CMONTH).
    One of the requirement for the report is to allow user to enter a value for a date using FI Posting date (although this is optional).
    Without entering the value for FI Posting date, my report works fine.
    But once FI Posting date is entered, no data found.
    I expect that when the value for the FI Posting date is entered, the YTD value will be calcuated starting from the Jan 1 of that FI Posting year to the FI Posting date entered.
    But this seems not happen.
    Could you help me to resolve this problem?
    If there is a better solution, please let me know.
    Very appreciated.
    Arthur

    Hi Dipika,
    Thanks for your reply.
    In my report, FI Posting date is a free characteristic, which user can optionally select it and fiter it for a specific FI Posting Date. Do you consider it as a global filter?
    my query structure is as below:
    rows: profit center, department, manager
    columns: YTD for current year, YTD for Previous year, the difference betwwen the two
    The requirement is when user enter a FI Posting date, use it  to restrict the KF shown above.
    For example, if the FI posting date is March 15, 2008, then YTD for current year should be restricted by the period between Jan 1, 2008 and March 15, 2008 and YTD for previous year should be restricted by Jan 1, 2007 and March 15, 2007.
    Do you have any idea how to implement this requirement in term of FI Posting date?
    Thanks and appreciated.
    Arthur

  • Query to get data for current week+13

    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER      QUANTITY
    1N5418                 20
    1N5614                 30
    1N5806SM               10
    1N5811                  0
    2PFF6                  60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                30        2011-WK30
    1N5418                 5        2011-WK31
    1N5614                30        2011-WK32
    1N5806SM              30        2011-WK33
    1N5811                20        2011-WK32
    3EX473K1              20        2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33  ...............till 13th week
    1N5418                10         -5         -5         -5  ...............till 13t week
    1N5614                30         30          0          0  ................till 13th week
    1N5806SM              10         10         10         20  ................till 13th week
    1N5811                 0          0         20         20  ................till 13th week
    2PFF6                 60         60         60         60  ................till 13th week
    3EX473K1              20         20         20         20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_number
    Thanks in advance.
    Regards

    Hello,
    If you don't need the PIVOT display, then this may help you :
    with le as
    (select '1N5418' item_number, 20 quantity from dual union all
    select '1N5614' item_number, 30 quantity from dual union all
    select '1N5806SM' item_number, 10 quantity from dual union all
    select '1N5811' item_number, 0 quantity from dual union all
    select '2PFF6' item_number, 60 quantity from dual ),
    re as
    (select '1N5418' item_number, 30 quantity, '2011-WK30' year_week from dual union all
    select '1N5418' item_number, 5 quantity, '2011-WK31' year_week from dual union all
    select '1N5614' item_number, 30 quantity, '2011-WK32' year_week from dual union all
    select '1N5806SM' item_number, 30 quantity, '2011-WK33' year_week from dual union all
    select '1N5811' item_number, 20 quantity, '2011-WK32' year_week from dual union all
    select '3EX473K1' item_number, 20 quantity, '2011-WK30' year_week from dual
    row_gen as (
    select item_number, calc_year_week,
           row_number() over(partition by item_number order by calc_year_week) rn
    from
        (select le.item_number from le union select item_number from re) item,
        (select to_char(level*7+sysdate,'YYYY-"WK"WW') calc_year_week from dual connect by level<=13) week)
    select item_number, calc_year_week, calc_qty
    from row_gen, le, re
    where row_gen.item_number=le.item_number(+)
    and row_gen.item_number=re.item_number(+)
    and row_gen.calc_year_week=re.year_week(+)
    model
    partition by (row_gen.item_number)
    dimension by (rn)
    measures (calc_year_week, year_week, le.quantity le_qty,re.quantity re_qty,0 calc_qty )
    rules  (
    calc_qty[1]  =
        case when re_qty[cv()] is null then le_qty[cv()]
        when le_qty[cv()] is null then re_qty[cv()]
        else  re_qty[cv()]-le_qty[cv()]
    end,     
    calc_qty[rn>1] order by rn =
        case when re_qty[cv()] is null then calc_qty[cv()-1]
        else re_qty[cv()] - calc_qty[cv()-1]
        end           )
    order by 1,2;I am not sure this is the simplest way to do it, but the results seem to match your example.
    Regards,
    Sylvie
    Edited by: Troll35 on Jul 19, 2011 3:08 PM

  • TS2446 How do get recovery for my security questions.?

    Hi to all

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

  • Get data for current month in VC from query - Urgent

    Hi all,
    I have designed a query for cube FIAR_C03 for overdue items and query output contains customer, net due date, document date, fiscal year period and amount. I want a chart for that query in VC that only contains those items in which net due date is in current month. How can i do that?
    Where I can place the condition to display only those items in vc in which net due date is in current month and how ?
    Please respond.
    Regards,
    Aisha Ishrat
    ICI Pakistan Ltd.

    Hi Aisha,
    It is possible to do with following steps:
    1. In Query Design make your field 'Net Due' filter with variable for date input (0CALMONTH for example where your date should be this format MMYYYY). Test your query and see if you input a month/year date it would would work;
    2. Build one table from output of your query (choose fields);
    3. In Visual Composer, drag your query into your board and from 'Varaiables' port  (NOT FROM INPUT) drag a line to create a Start point. As soon you realease to create 'Start' a box will ask which fields you want. Choose your date as field;
    4. Select the line between Start point a query. In Input Field assigned the following formula (DSTR(NOW(),'MMYYYY') *
    5. Deploy your model
    at this formula I said: transform NOW(), current date, in Text with format MMYYYY (012002 for example).
    It works!
    Assigned points if was helpful.
    Kind Regards,
    Gilson Teixeira

  • TS3623 How do we get refunds for poor service? 20 times I've had to restart my move due to file access errors

    Back when movie rental stores existed you would get a refund if you kept having to run tracking on your tape. If apple's service constantly fails we should get similar credits.

    http://apple.com/feedback/

  • Get rights for Server service account on exchange servers

    Hi,
    How i can retrieve the information about , particular  Server service account
    has got any level of permissions on exchange environment ? ( on server or any exchange objects )
    Do you have any command / script to retrieve these information ?
    Br,
    Anandan

    Hi Anandan,
    I would like to verify your Exchange server version at first. If you use Exchange server 2010 or later version, you can use the cmdlet Amit provided to get every role that this server service account receives permissions from.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • I am not clear on the points system in the Forums. Will I get points for simply posting questions or replying to questions?

    No. Points are not given for  simply posting a question or a reply. Points are awarded by the person who  started a discussion. They can mark a reply to their question as either The  Answer or as Helpful. They can mark one “Correct” answer and two “Helpful”  answers per discussion thread.

    @ adobe-admin (J.C.?):
    Thanks for fixing the "backslash" error. Accuracy is important, and doubly so when presented as an F.A.Q.
    The sad thing is how prevalent the usage of "backslash" is when a plain old slash is meant (generally, the "forward" attribute is assumed and unneeded), and by people who should know better. It's a direct result of people knowing just barely enough about the Windows file path naming protocols, and then applying the only terminology they're familiar with incorrectly to URLs.
    I went about 10 rounds—TWICE!—with a labyrinthian succession of people at the Discovery & History cable TV networks because they were saying "backslash" in voice overs whenever their commercials promoted their websites. It took some doing, but I finally got in touch with somebody who was savvy enough to recognize that it was a rookie mistake made by a clueless marketing copywriter. The voice over person just read the copy they were given, oblivious to the difference. It amazes me that it wasn't caught by somebody early in the recording/production process and rectified.
    They then had it correct for about a year, until new commercials started popping up with the same error. Unfortunately, the person I had talked to previously no longer worked for the History channel and I had to go through the process of finding someone who understood all over again.
    Yeah, you can call me a nitpicker with nothing better to do.
    But I've earned that dang badge, and I wear it proudly!

  • I need to talk to someone about my billing, I have requested it be shut down for 5 months and I am still getting billed for the service

    Duplicate post - please see:
    i need to talk to someone about my billing, I have requested it be shut down for 5 months and I am still getting billed …
    Message was edited by: Admin Moderator

    *611 or 1-800-922-0204
    Good Luck

  • Getting result for current date

    Hi,
    I have a problem on getting the following result
    CO_ID   RECEIVE SHIP_OUT ONHAND OPENING DATE            GR_ID   COMPONENT_NAME
    100     0     0      9     9     24-JUN-09     234     Paper
    200     8     0      8     0     25-JUN-09     123     Plastic Bag
    100     10     0      19     9     25-JUN-09     234     Paper
    200     0     0      8     8     26-JUN-09     123     Plastic Bag
    100     0     0      19     19     26-JUN-09     234     Paperwith this, it doesn't add a new result on tomorrow record, and today record also not correct. Help me pls....
    PROCEDURE Inv_Rec IS     
              dToDate          DATE := TO_DATE(SYSDATE, 'DD-MON-YY');
                    dLoopDay     DATE := TO_DATE(SYSDATE - 1, 'DD-MON-YY');
                    rDayBeforeInvRec      Inventory%ROWTYPE;
              rInDateInvRec           Inventory%ROWTYPE;
              fInDateOnHandQty    FLOAT;
              fInDateOpeningQty FLOAT;
                    fBForeDateOpeningQty  FLOAT;
                    fBForeDateOnHandQty   FLOAT;
              nComponentId     NUMBER(25);
              vCompDept     VARCHAR2(20);
              vCompName     VARCHAR2(80);
              vWasteType     VARCHAR2(2);
              nGroupId     NUMBER(25);
              vComponentName     VARCHAR2(80);
        CURSOR Day_Before_Inv_Bal IS
                   SELECT * FROM inventory
                   WHERE date = dLoopDay;
              CURSOR InDate_Rec_Exist IS
                   SELECT * FROM inventory
                   WHERE date = dToDate
                   AND co_id = nComponentId
                   AND gr_id = nGroupId
                   AND component_name = vComponentName;
         BEGIN
              WHILE dLoopDay <= dToDate + 1
              LOOP
                        OPEN Day_Before_Inv_Bal;
                   LOOP
                        FETCH Day_Before_Inv_Bal INTO rDayBeforeInvRec;
                        nComponentId     := rDayBeforeInvRec.co_id;
                        nGroupId     := rDayBeforeInvRec.gr_id;
                        vComponentName     := rDayBeforeInvRec.component_name;
            fBForeDateOnHandQty := rDayBeforeInvRec.opening +
                    rDayBeforeInvRec.receive - rDayBeforeInvRec.ship_out;
                UPDATE inventory SET
                                       ONHAND  = fBForeDateOnHandQty                         
                                  WHERE date = dLoopDay
                                  AND co_id = nComponentId
                                  AND gr_id = nGroupId
                                  AND component_name = vComponentName;
                        OPEN InDate_Rec_Exist;
                             FETCH InDate_Rec_Exist INTO rInDateInvRec;
                             IF InDate_Rec_Exist%FOUND THEN
                                  fInDateOpeningQty := fBForeDateOnHandQty;
                                  fInDateOnHandQty      := fBForeDateOnHandQty + rInDateInvRec.onhand
                - rInDateInvRec.ship_out;
                                  UPDATE inventory SET
                                       OPENING = fInDateOpeningQty,
                                       ONHAND  = fInDateOnHandQty                              
                                  WHERE date = dloopday + 1
                                  AND co_id = nComponentId
                                  AND gr_id = nGroupId
                                  AND component_name = vComponentName;                              
                             ELSE          
                                       fInDateOpeningQty := rDayBeforeInvRec.wwin_onhand;
                                       fInDateOnHandQty      := rDayBeforeInvRec.wwin_onhand;
                                       INSERT INTO wste_waste_inventory (
                                            CO_ID,
                                            RECEIVE,
                                            SHIP_OUT,
                                            ONHAND,
                                            OPENING,
                                            DATE,
                                            GR_ID,
                                            COMPONENT_NAME )
                                       VALUES (
                                            nComponentId,
                                            0,
                                            0,
                                            fInDateOpeningQty,
                                            fInDateOnHandQty,
                                            dToDate,
                                            nGroupId,
                                            vComponentName );     
                             END IF;               
                        CLOSE InDate_Rec_Exist;
            EXIT WHEN Day_Before_Inv_Bal%NOTFOUND;
              END LOOP;
            CLOSE Day_Before_Inv_Bal;
          COMMIT;
          dLoopDay := dLoopDay + 1;
              END LOOP;
         COMMIT;     
         END Inv_Rec;Edited by: newBJeat on Jun 25, 2009 1:28 AM

    You want:
    TRUNC(sysdate)if you don't want the time element of a DATE variable.
    When you to_date something that's already a date, you introduce a bug, as it forces some implicit conversions:
    eg:
    to_date(sysdate, 'dd/mm/yyyy')becomes
    to_date(to_char(sysdate, <default nls_date_format parameter>), 'dd/mm/yyyy')If your default nls_date_format parameter happens to match the format mask you specify, then you're lucky and the code will work. However, someone with a different format will have an error.
    Don't EVER to_date something that's already a date.

  • Getting ready for delivery - Ringtone question

    I have a number of music clips that I have used as ringtones on my Samsung Blackjack. When I take delivery of iPhone can I transfer these files via iTunes to the iPhone and use them as ringtones there? Thanks for any help!

    you can do it in itunes, rightclick on the song and "convert to AAC". This converts it to m4a. Then you go into windows and change the extension to m4r.
    This article has detailed instructions http://www.wired.com/software/coolapps/news/2007/09/ringtone_hacks
    It says it's for itunes 7.4 but it worked for me with the latest version and still works with the 2.01 update.

  • Re: Why doesn't WL7.0 support get/post bindings for web services ...

    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    >
    Manoj: Thanks for the answer - do you have or can you point me at any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    This isn't a straight FORM Post as in the http binding support in WSDL. It posts
    a soap message.
    It's apparent that Workshop supports form-post and form-get.
    But I dont see how it is done with straight WebLogic webservices. Does WebLogic
    server read the web-services.xml or the WSDL file? I dont see a way to put in
    http-post binding in the former and in the latter it seems to be ignored.
    Can someone clarify.
    Thanks.
    Chu-chi
    "manoj cheenath" <[email protected]> wrote:
    Here is a live example:
    http://65.193.192.35:7001/base/SoapInteropBaseService
    Here is an example that you can download:
    http://manojc.com/?sample2
    This is how you run it:
    http://manojc.com/?tutorial/doc/howtorun.html
    More info can be found from the edocs:
    7.0:
    http://edocs.bea.com/wls/docs70/webserv/index.html
    8.1:
    http://edocs.bea.com/wls/docs81/webserv/index.html
    Regards,
    -manoj
    http://manojc.com
    "pushpa krishna" <[email protected]> wrote in message
    news:[email protected]...
    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    Manoj: Thanks for the answer - do you have or can you point me at
    any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for
    me
    to
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in
    any
    way?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL
    defines
    Web services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols
    are
    used
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Why doesn't WL7.0 support get/post bindings for web services ...

    This might be a naive question, but according to the documentation, WL 7.0 does
    not support http post/get bindings for web services. Thus, for me to access a
    web service, I need to write a "middle tier" of some sort (I used the automatically
    generated Java proxy code and JSP). All works fine, but it seems like it would
    sure be nice to have HTML forms access web services without having to write a
    middle tier.
    .NET does this and it is extremely useful - is there a reason that BEA chose not
    to provide this feature? (e.g. is it architecturally unsound in any way? or is
    there an easy way to simulate it?). Given some of the Web Workshop positioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL defines Web services
    as a set of endpoints operating on messages; these message contain either message-style
    or RPC-style information. The operations and messages are described abstractly
    in WSDL, and then bound to a concrete network protocol and message format to define
    an endpoint. Related concrete endpoints are combined into abstract endpoints (services).
    WSDL is extensible to allow the description of endpoints and their associated
    messages regardless of what message formats or network protocols are used to communicate,
    however, the only bindings described in the specification describe how to use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    Manoj: Thanks for the answer - do you have or can you point me at any code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used theautomatically
    generated Java proxy code and JSP). All works fine, but it seems likeit
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that BEAchose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Report to get data for current_week+1 till 13th week

    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER      QUANTITY
    1N5418                 20
    1N5614                 30
    1N5806SM               10
    1N5811                  0
    2PFF6                  60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                30        2011-WK30
    1N5418                 5        2011-WK31
    1N5614                30        2011-WK32
    1N5806SM              30        2011-WK33
    1N5811                20        2011-WK32
    3EX473K1              20        2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33  ...............till 13th week
    1N5418                10         -5         -5         -5  ...............till 13t week
    1N5614                30         30          0          0  ................till 13th week
    1N5806SM              10         10         10         20  ................till 13th week
    1N5811                 0          0         20         20  ................till 13th week
    2PFF6                 60         60         60         60  ................till 13th week
    3EX473K1              20         20         20         20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_number
    Thanks in advance.
    Regards

    User_Apex wrote:
    Hi Friends,
    I have two tables
    BACKLOG_WEEK_AFTER_ATP (LE)
    BACKLOG_ATP_GT_CW (RE)
    ** First I have to query whats the current week and year and it should come in this format ---- 2011-WK30
    columns in table BACKLOG_WEEK_AFTER_ATP are:
    ITEM_NUMBER     QUANTITY
    1N5418                     20
    1N5614                     30
    1N5806SM                 10
    1N5811                       0
    2PFF6                        60columns in table BACKLOG_ATP_GT_CW are:
    ITEM_NUMBER     QUANTITY        YEAR_WEEK
    1N5418                     30                2011-WK30
    1N5418                     5                 2011-WK31
    1N5614                     30                2011-WK32
    1N5806SM                 30                2011-WK33
    1N5811                      20                2011-WK32
    3EX473K1                   20               2011-WK30My report should look like
    ITEM_NUMBER    2011-WK30  2011-WK31  2011-WK32  2011-WK33 ------ till 13th week
    1N5418                 10             -5                -5              -5     ...............till 13t week
    1N5614                 30             30               0                0     ................till 13th week
    1N5806SM              10            10              10              20    ................till 13th week
    1N5811                   0              0               20              20   ................till 13th week
    2PFF6                     60            60              60               60  ................till 13th week
    3EX473K1                20             20              20              20  ................till 13th weekTo get this report i have these conditions to keep in mind.
    1) If item_number not present in LE table and present in RE table then repeat what it is in RE table till 13th week
    2) If item_number not present in RE table and present in LE table then repeat what it is in LE table till 13th week
    3) If item_number present in LE and also present in RE table then do subtraction for RE - LE for that particular item_number till 13th week.
    4) If item_number is there in LE table but not present in RE table for current_week+1(today week comes as 29th week) then repeat the same which is there in LE table. If item is found in RE table for (example 32th week) then subtract RE -LE for that particular item_numberNot an APEX question: use {forum:id=75} forum.
    Query to get data for current week+13

Maybe you are looking for

  • How to track changes to fields in a Module Pool Program

    Hi Experts, I have one requirement to track the changes to some fields used in the Program, The fields for tracking the changes will be maintained in a table T1, this will be changed dynamically.  There are many screens in the program and many fields

  • IOS 4.2.1 + Jawbone Bluetooth problems

    Has anyone got the Jawbone Prime to work successfully with iOS 4.2.1? I thought it was a problem with the 3G and traded it for a 4 this weekend (thank you Radio Shack!), and now the voice quality has gotten worse. I tested the headset with my Blackbe

  • Restricting a sum output

    Say if you had a sum : the number of something = the number of something 1 + the number of something 2 + the number of something 3 If all the the attributes within the sum = 1, then obviously the number of something would = 3. However according to th

  • APP-INV-05447: No open period found for date entered

    Hi All I try to do Inter-Organization Transfer in OPM. But I got this error "APP-INV-05447: No open period found for date entered". What shall I do for this error? I controlled Inventory Calendar. The period is open. Thanks

  • Updating a big table

    Hello, i wanna update a column in a table (make it null). but the table is very big, and if i write something like update my_table set column_name=nullit takes very much time (probably hours) How can i optimize that? Any workaround for this to reduce