How to return a list of customer  datatype in jax-ws 2.0?

@WebService()
public class TestWS{
     @WebMethod
     public List<CustomType> doWS(Integer userId)
        Business biz = new Business();
        return biz.doWS();
}Thx!

This should work, what problem you are facing?

Similar Messages

  • How to find the list of custom created SAPscript

    for reports i enter z* and F4 gives me list of custom created report.
    Similarly if i try in se71 it traverses through applications. I just want to see the list of scripts created. how do i do that?

    Refer table TTXFP.
    Form name : TTXFP-TDFORM
    Driver program : TTXFP-PRINT_NAME
    Ref Thread: Driver Programs
    - Vishal

  • How to return a list of generic type

    I can create a method that takes a Class as parameter and return the same type:
    public <T> T getSomthing(Class<T> c) throws Exception {
            return c.newInstance();
    }My question is, can I modify this method to return a List of the same type as input class c? If so, how?

    Hi,
    import java.util.ArrayList;
    import java.util.List;
    public class ReturnList {
        @SuppressWarnings("unchecked")
        public <T> List<T> getList() {
         return new ArrayList();
    }Piet

  • How to find the list of custom reports?

    Hello All,
    I am trying to get a list of all the custom reports that we have by responsiblity in 11.5.10.2. This to identify and move them into the our newly upgraded R12 instance.
    Is there a query that can be written against the FND tables to get this listing?
    Pls. help
    Thanks,
    Monkey.

    I am trying to get a list of all the custom reports that we have by responsiblity in 11.5.10.2. This to identify and move them into the our newly upgraded R12 instance.
    Is there a query that can be written against the FND tables to get this listing?There is no direct way to get the list of custom reports unless you followed the naming convensions when you created those reopports (i.e. your object/file name starts with XX_%).
    https://forums.oracle.com/forums/search.jspa?threadID=&q=List+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    In this case, you can query FND_CONCURRENT_PROGRAMS_TL/FND_CONCURRENT_PROGRAMS/FND_CONCURRENT_PROGRAMS_VL -- Search the forum for those objects and you will find many helpful queries.
    Thanks,
    Hussein

  • How to return a list of class from a package

    Hi,
    I'm trying to create a RPG game with 50 characters. There will be a superclass, and each character is a subclass that extends from the superclass. Each will have unique abilities that will be functions. These classes will be thrown into a package.
    I would like to know the code for returning the list of classes in that package. That way, I can present them as a list for the player to choose just a handful of characters to start out with.
    Thanks in advance         

    Hi u can use the this class
    flash.utils.describeType;
    Regards
    Sumit Agrawal

  • How to return full amount to customer?

    The payment on security deposit has been released and applied to the customer's receivables.  Unfortunately, the customer changed his mind and wants the full check refund.   
    Paid sec dep = 750
    Partially returned - already cleared $175 from March 2008 bill (remaining 575)
    Customer called and wants 750 in check refund instead of applying credits to bills
    How do you return the full amount (750) to the customer?

    Hello,
    For the cleared item, reset the amount by using FP07.
    Now all your SD amount should be ready for refund.
    Ensure that the refund amount posted is 'On Account' payment....Now you can refund the amount....
    Not sure about the refund process u'd follow @ u r prj...you can create repayment requests using FPTCRPO and then Refund run using FPY1.
    Hope this helps
    Rgds
    Rajendra

  • How to return a list?

    Hi m assignment is to create a linked list implementation..
    so far i have this..
    public class Set<Value> {
    Value Element;
    Set<Value> next;
    Set(Value data)
                Element=data;
                next=null;
            Set(Value data, Set n)
                Element = data;
                next    = n;
    public interface MySet<Value> {
    boolean isIn(Value v);
    void add(Value v);
    void remove(Value v);
    MySet union(MySet s);
    MySet intersect(MySet s);
    MySet difference(MySet s);
    int size();
    void printSet();
    public class MyLLSet<Value> implements MySet<Value>{
        private Set<Value> head;
    public MyLLSet(){
        head=new Set(null);  
    public boolean isIn(Value v){
        Set<Value> p;
        p=head;
        boolean flag=false;
         while(p.next!=null){
            p=p.next;
            if(p.Element==v){
                flag=true;
    return flag;
    public void add(Value v){
        Set<Value> p;
        Set<Value> q;
        p=head;
        q=head.next;
        while(p.next!=null){
            p=p.next;
            q=q.next;
        p.next=new Set(v,q);
    public void remove(Value v){
    Set<Value> p;
    Set<Value> q;
    p=head;
    q=head.next;
    while(p.next!=null){
         p=p.next;
         q=q.next;
         if(p.Element==v){
             p.next=p.next.next;
             q.next=null;
             break;
    public MySet union(MyLLSet s){
        Set<Value> p;
        Set<Value> q;
        p=s.head;
        q=this.head;
        while(p.next!=null){
            p=p.next;
        p=q.next;
        s.head.next=null;
    RETURN ???
    }However in my union method i cant figure out what to return.. i am sure that the method creates a union of two lists.. but how do i return the final unionized list.... ( i am new to programming so sorry if i dont make sense)
    Edited by: haramino1 on Mar 22, 2009 1:31 PM

    Have some patience! You can't expect an answer in 10 minutes.
    Your original post looked like you wanted to make an implementation of a linked list, using a set as the underlying code (which doesn't make a lot of sense). However, your real assignment, as you stated later, is to make an implementation of a set, with a linked list as the underlying code.
    In your original post, your Set<Value> doesn't make sense to be your Set class. It does make sense to have that code as your linked list's "node" class. So, rename it from Set<Value> to Node<Value>. Everywhere in that class that says "Set" should say "Node". It will only confuse you more if you call it "Set" when it is not a "Set" (it surely confused me!). Also, "Element" should be lowercase "element" (to follow standard naming conventions).
    You want to make a linked list class that implements everything in the MySet<Value> interface. So, your MyLLSet<Value> should have all of those methods. Your MyLLSet should have one variable (which you have, but you call it Set<Value>, it should be Node<Value>).
    private Node<Value> head;Your MyLLSet constructor probably shouldn't set head to a new Node with a null value (otherwise, your Set will always include a null member). The MyLLSet constructor probably doesn't need to do anything, so you can just remove that whole constructor and let the compiler generate its standard no-argument constructor.
    When comparing values for equality in isIn, you probably want to use .equals, not ==:
    if (p.element == v) // WRONGshould be:
    if (p.element.equals(v)) // CORRECTOtherwise, you are only comparing reference values, not the data they point to. So, for instance, if Value was a String, you wouldn't be able to write code that asked the user for a String value to test if the String was in the Set--I don't think you'd ever be able to get "true" for the answer.
    In isIn, your test should not be p.next != null --it should be "p != null". Otherwise, if p is null, you will get a NullPointerException trying to get "next". You want:
    while (p != null) {
       // Test p.element for equality to v.
       //        If equal, you can break out of the 'for' loop.
       // Set p to p.next.
    }Similarly in other methods, you need to check p != null . Your 'add' method is wrong--you didn't check duplicates, for one thing. Your loop isn't right, either.

  • How to send a list's custom view to multiple users on weekly basis?

    Hi, 
    I have a custom view for a list.  I need to send this view, like a color table with data, once a week to multiple people.  Can this be configured in SP13 or does it have to be developed in Visual Studio?
    Thank you.

    Hi lajasminetea,
    There is no such OOTB feature to achieve it.
    As a workaround, you can create a console application to retrieve list items using CAML Query and then generate HTML table mail body with the items.
    After generated the mail body, you can create a task schedule to run the application to send mail weekly.
    More information:
    Read List Item programmatically:
    http://www.sharepointsecurity.com/sharepoint/sharepoint-security/get-sharepoint-list-view-items/
    Generate Table in mail body:
    http://www.codeproject.com/Questions/243183/create-table-in-email-body
    Send Mail using C#
    http://stackoverflow.com/questions/9201239/send-e-mail-via-smtp-using-c-sharp
    Create task schdule:
    http://windows.microsoft.com/en-HK/windows7/schedule-a-task
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • How to create dropdown list for custom remote function module

    HI ,
           I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
    For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete  values ) in function module.Is it possible.

    Hi
    Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
    In this you can provide a value
    Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
    Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
    refresh fields.
    DATA: fields LIKE SVAL OCCURS 0.
    fields-tabname = 'MAKT'.
    FILEDS-FIELDNAME = 'MAKTX'.
    APPEND FIELDS.
    CALL FUNCTION 'POPUP_GET_VALUES'  " Try copying this in a Test program and execute
            EXPORTING
              POPUP_TITLE  = 'Enter Mail Id here'
              START_COLUMN = '5'
              START_ROW    = '5'
            IMPORTING
              RETURNCODE   = SRETURN
            TABLES
              FIELDS       = FIELDS.
    Cheerz
    Ramchander Rao.K
    Edited by: Rob Burbank on Nov 23, 2011 9:50 AM

  • How to return a list of Application Systems which share another one?

    Hi,
    In Designer 6 I have an application system which is shared by lots of other application systems. Is there an easy way to query the Designer metamodel to return such a list - I can't see which table(s) might hold this info.
    Trawling through the RON will take way too long and I might miss one.
    Thanks,
    Antony

    Roel,
    Thanks - of course, it's an object in the application system that is shared... but you knew what I meant!
    When I try to check this as per your post, I get the following error.
    "CDI-20902: No broadcast notification targets found in the registry." Designer help gives the following:
    Cause: Matrix diagrammer cannot find any diagrammer notification targets in the registry.
    Action: Reinstall product set or install entries into the registry from the install process.
    What does this mean - reinstalling Designer to get this to work?
    Thanks,
    Antony

  • How to return a list of opportunities for a given contact

    Do you know how to do this? I looked at the Contact.xml (ws 2.0) QueryPage method but there's no ListofOpportunities. Below is my code so far
    <soapenv:Body>
    <ns:ContactQueryPage_Input>
    <ListOfContact>
              <Contact>
                   <Id>='ADSA-8D59T5'</Id>
                   <ContactEmail/>
              </Contact>
    </ListOfContact>
    </ns:ContactQueryPage_Input>
    </soapenv:Body>

    I have to Querypage on the Opportunity object.

  • Active Export list of customer discount set up into Excel file

    Hi Every Body,
    How to export a list of customer discount from plant to Excel Spread sheet.  Please provide me your valuable inputs
    Thanks
    Prasad

    Hi Prasad,
    I think you can use the pricing reports to first generate a list of that discount condition type in a report format and then export it to an excel sheet.
    See if the standard pricing reports in V/LD given by SAP is useful for you if you are using standard condition tables. If not, then you can easily create a new report for your condition type and the condition tables that you have used for that.
    Hope this helps.
    Aribis

  • How to add .js link in custom list form through sharepoint designer 2013

    hi friends
    so far i was adding jquery code to script editor webpart in custom list form.
    but i need to know how to add .js link in custom list form through sharepoint designer 2013
    please help me.

    Hi,
    We can add the "JS Link Property" in the “WebPart” node in the custom list form page through SharePoint designer 2013.
    Here is an example for your reference:
    <JSLink xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">~site/Style Library/js/custom.js</JSLink>
    Noticed that, we should not lose the 'xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm' attribute.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Is list of custom headers and footers. I can't find how to change the footer to print the Long Date

    '''There should be a list of custom headers and footers.''' I can't find how to change the footer to print the '''Long Date'''. It took awhile just to find Page &PT. So I would appreciate if someone could post a list. Also if someone can answer how to print the Long Date.
    Thank you

    When you're on a call, use the volume buttons on the left side of the device.  This will then adjust the In-Call Volume.

  • How to call a procdure that will return me list of values(JSF,ADF BC)

    hi all,
    any one can help me how to call a procedure that will return me list of value with using adf and jsf

    I did this with a LoginModule that returned a list of user roles. Below is the Java call
    stmt = conn.prepareCall(authquery);
            stmt.registerOutParameter(1, OracleTypes.CURSOR);
            stmt.setString(2,username);
            stmt.setString(3,new String(password));
            // realm is null if not set
            stmt.setString(4,_application_realm);
            stmt.execute();
            rolesResultSet = (ResultSet)stmt.getObject(1); 
            stmt.close();authquery is the name of a procedure that returned a ref Cursor
    CREATE OR REPLACE PACKAGE "DBPROCLM" IS
      TYPE principal_ref IS REF CURSOR;
      function get_user_authentication(p_username in varchar2, p_password in varchar2, p_realm varchar2) return principal_ref;
    END;
    CREATE OR REPLACE PACKAGE BODY "DBPROCLM" IS
      FUNCTION get_user_authentication (p_username in varchar2, p_password in varchar2, p_realm varchar2)
      RETURN principal_ref
      AS
        var_username varchar2(100);
        var_userid number(10);
        var_password varchar2(100);
        role_cursor principal_ref;
        FAILED_AUTHENTICATION exception;
      BEGIN
        select userid, username, password into var_userid, var_username, var_password from sec_users where username = p_username;
        if (var_password = p_password) then
          begin
            if (p_realm is null) then
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid;
            else
              open role_cursor for
                select rolename from user_roles_view where userid = var_userid and realm=p_realm;
            end if; -- p_realm check
          end;
          -- if password doesn't match, raise Excpetion for LM to
          -- abort the authentication process
        else raise FAILED_AUTHENTICATION;
        end if;
        RETURN role_cursor;
      END get_user_authentication;
    END;You only ned to expose the call to teh procedure in a method (e.g. on ADF BC Application Module) and create a method binding for it.
    Frank

Maybe you are looking for

  • "New Message" Window Fails To Open

    When I click on "New Message", no window opens up for me to compose an email. Does anyone know of anything that would cause this? How can I resolve this situation? Do I need to reinstall the program? Thanks for any assistance you can provide.

  • File size display issue in DM 2?

    I'm seeing some flakiness in the file sizes shown in the new Desktop Manager. I have a nominal 8GB card, which DM shows as 7.5GB. It shows 778MB Used, 5.6GB Music and 16384PB free (a petabyte is 10^6 gigabytes, so this is 16,385,000 terabytes). "[b][

  • GPS LD-3W and nokia 5800 charger

    hi , i have a nokia 5800 and a wireless gps module ( LD-3W) . in bundle for Gps i received a DC-4 car charger  but i need also charge GPS module at home . May i use the nokia 5800 charger for this ?  i remember that :  5800 charger is  5v/890mA .. an

  • ITunes 8.2.1 quits on startup

    After upgrading to 8.2.1 iTunes quits during the last moments of startup - every time. This is what I've tried, none of it was successful: - tried starting up with or without iPhone attached - created new, empty iTunes library - created new user acco

  • Unable to install SP1 after reinstalling windows 7 from recovery disks from onekey revoery

    Windows shows as activated but updates do not work, cannot install SP1 from download gives a critcal error.