How to pass Custom object embedded in Collection

Hi,
I'm building an J2EE application(Weblogic 7.0) with swing Client. Our requirement
is to add custom objects in a Collection and return it to Client thru web service.
I dont know how to write build.xml so that ant utility created its own parser
file for the cutom object. We may have lots of custom objects . These objects
are being returned by a generic response object . I mean a Collection may conatin
different custom objects depending upon context. This Collection is embedded in
the generic response object. Can anybode help me to write a buil.xml for this.
Please suggest a best solution.
thanks
Jobinesh

Contd.......I forgot to mention one thing. We are supposed to use StatelessSessionBean
as front controller. In this context we can use the ant task for converting this
front controller to web service.
Pls help me....
"jobinesh" <[email protected]> wrote:
>
Hi,
I'm building an J2EE application(Weblogic 7.0) with swing Client. Our
requirement
is to add custom objects in a Collection and return it to Client thru
web service.
I dont know how to write build.xml so that ant utility created its own
parser
file for the cutom object. We may have lots of custom objects . These
objects
are being returned by a generic response object . I mean a Collection
may conatin
different custom objects depending upon context. This Collection is embedded
in
the generic response object. Can anybode help me to write a buil.xml
for this.
Please suggest a best solution.
thanks
Jobinesh

Similar Messages

  • How to pass an object from jsp to other jsp using SendRedirect

    How to pass an object from one jsp to the other jsp using ssendRedirect with out using the session
    I am having 2 jsps
    x.jsp and y.jsp
    From x.jsp using sendRedirect iam going to y.jsp
    From x.jsp i have pass an object to the y.jsp
    Is it possible without putting the object in session
    Is it possible using EncodeUrl
    Please help me Its Urgent

    Is it possible without putting the object in sessionAnything is possible. Would you accept that it is very difficult?
    When you send a redirect, it tells the browser to send a new request for the target page. That means any request parameters/attributes are lost.
    Is it possible using EncodeUrl response.encodeURL() puts the session id into a url if the browser does not support cookies. It is purely for retaining the session.
    There are two ways that you can communicate across a sendRedirect.
    1 - use the session
    2 - pass a parameter in the url.
    parameters are string based, so passing objects is almost out of the question.
    Potentially you could serialize your object, encode it in base64 (so it is composed completely as characters) and pass it as a parameter to the other page, where you retrieve it, unencode it, and then load the serialized object.
    Or you can just use the session.

  • MVC2.0-- how to pass bean object to jsp

    Hi All,
    Anybody please tell me how to pass bean class object from controller to jsp ?
    I am developing an application in MVC2.0.
    I am creating an object of bean class in controller servlet and want to pass this object to jsp so anybody please tell how to pass this object to jsp.
    ControllerServlet--
    Bean obj = new Bean();
    Bean --
    public String aMethod() {
    return data;
    I have to use this method in my jsp and I am creating an object of this bean in controller servlet.
    Please help
    Thanks
    Please reply soon

    Hi,
    Thanks for your response. I knew it is possible with session objects. But I want to perform this operation with out using session objects. Is there a way to accomplish this with out using Session objects.
    Please help.
    Thanks

  • How to pass custom search help(F4 help) for a field in ALV output?

    Hi,
    I want to activate the F4 help in ALV output for a field for which we do not have search help assigned at table ,data element and domain level.
    In field catalog i have enabled it by below line.
    ls_fcat-F4AVAILABL = 'X'.
    but because there are no standard input help available it is giving message as "No input help is available".
    so how to pass our custom search help (g_search) for any field in ALV output.
    I am using object oriented ALV grid display.
    Thanks!!!
    Rajesh Gupta.

    hi,
    check this out:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/acdefb13-0701-0010-f1a2-8eeefa7d3780
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b3d5e890-0201-0010-c0ac-bba85ec2ae8d?quicklink=index&overridelayout=true

  • How to pass an object as a parameter

    how do you pass an object as a parameter? (what type should it be ?)

    Well you can use a [url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html]String
    Or you can take a [url http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Double.html]Double
    And you can pass [url http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Event.html]Events
    and get yourself in trouble
    and you can use a [url http://java.sun.com/j2se/1.4.2/docs/api/java/awt/Frame.html]Frame
    or maybe take a [url http://java.sun.com/j2se/1.4.2/docs/api/java/util/List.html]List
    but some will use [url http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collection.html]Collection
    depends you your direction
    so if you need to know
    if you should use a [url http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html]Map
    then this is what to do
    just browse the [url http://java.sun.com/j2se/1.4.2/docs/api/]API

  • How to pass class object  as in parameter in call to pl/sql procedure ?

    hi,
    i have to call pl/sql proecedure through java. In pl/sql procedure as "In" parameter i have created "user defined record type" and i am passing class object as "In" parameter in call to pl/sql procedure. but it is giving error.
    so, anyone can please tell me how i can pass class object as "In" parameter in call to pl/sql procedure ?
    its urgent ...
    pls help me...

    793059 wrote:
    I want to pass a cursor to a procedure as IN parameter.You can use the PL/SQL type called sys_refcursor - and open a ref cursor and pass that to the procedure as input parameter.
    Note that the SQL projection of the cursor is unknown at compilation time - and thus cannot be checked. As this checking only happens at run-time, you may get errors attempting to fetch columns from the ref cursor that does not exist in its projection.
    You also need to ask yourself whether this approach is a logical and robust one - it usually is not. The typical cursor processing template in PL/SQL looks as follows:
    begin
      open cursorVariable;
      loop
        fetch cursorVariable bulk collect into bufferVariable limit MAX_ROWS_FETCH;
        for i in 1..bufferVariable.Count
        loop
          MyProcedure( buffer(i) );   --// <-- Pass a row structure to your procedure and not a cursor
        end loop;
        ..etc..
        exit when cursorVariable%not_found;
      end loop;
      close cursorVariable;
    end;

  • PeopleSoft Initial Upgrade Pass : Custom Objects Missing

    We have just completed the PeopleSoft HCM 9.0 to 9.1 Initial Pass. In the upgraded COP all the custom objects are gone now. Did we do something wrong ??
    I checked in the PeopleTools Upgrade step that the entire PeopleTools objects are replaced at one point. If that is true then how do we do the retrofitting as the custom objects are not available any more :(
    Please help !!
    Shailesh

    The upgrade doc instructs the user to compare their COP with the old DEMO db (where all the maintenance fixes had been applied) in order to build a project - UPGCUST - with all the customizations. Later on, in Chapter 4, this UPGCUST project is compared to the 9.1 release flagging all objects that were also modified by Oracle. At this point, an evaluation of which objects will be kept and which will be overridden by the 91 version needs to be taken - step Reviewing New Release Changes. In Chapter 5, step Copying the UPGCUST Project will copy the chosen customizations over to the 9.1 db. When all 9.1 metadata is copied back to your COP, the chosen customizations will be among them.
    Hope it helps.

  • How to access custom object as property in yField

    Hi All,
    I have a stacked column chart. The data provider (dp) has an
    array of object DataObject which has array of custom objects of
    class ClientRev:
    public function ClientRev(name: String, rev : Number)
    cName = name;
    cRev = rev;
    // data provider
    public class DataObject
    public var clientRev : Array;
    Now I have to use cRev property of clientRev elements of
    DataObject (DataObjects makes data provider) in yField of
    ColumnSeries.
    if i write,
    yField="{clientRev[0].cRev}",
    It doesn't work. Please lemme know how can I achieve my goal.
    Thanks for help.

    "vaibhav.chauhan" <[email protected]> wrote
    in message
    news:gdmhok$2eq$[email protected]..
    > Hi All,
    > I have a stacked column chart. The data provider (dp)
    has an array of
    > object
    > DataObject which has array of custom objects of class
    ClientRev:
    > public function ClientRev(name: String, rev : Number)
    > {
    > cName = name;
    > cRev = rev;
    > }
    >
    > // data provider
    > public class DataObject
    > {
    > public var clientRev : Array;
    > }
    >
    > Now I have to use cRev property of clientRev elements of
    DataObject
    > (DataObjects makes data provider) in yField of
    ColumnSeries.
    >
    > if i write,
    > yField="{clientRev[0].cRev}",
    >
    > It doesn't work. Please lemme know how can I achieve my
    goal.
    Use a dataFunction

  • How to integrate customer objects in CC02 / change management?

    Hello everybody,
    I want to integrate a new customer object (for customer-specific master data) into the standard change management of ECC 6.0.
    I already read that there is a BAdI, which can undo changes made with the standard change management.
    "In the BAdI ECM_UNDO Undo Changes, SAP provides separate classes as BAdI implementations for each of these objects. If you want to implement undo changes for more SAP master data and for customer-specific master data, you can use these classes as templates for your own implementations."
    But how can I integrate new objects for customer-specific master data?
    Thanks in advance,
    Lars

    Hello Lars,
    i´ve the same requirement. For a customer specific development we´ve developed our own business objects. The customer wants the change these objects with change management. You´ve already got a solution for this?
    Regards,
    Andy

  • How to enable Custom Objects in offine edition of CRM On Demand

    Hi,
    We need to enable Custom Objects in the offline edition of CRM On Demand so that Sales Reps can capture the additional information while they are in the field. I wanted to know how do we enable the Custom Objetcs in the offline edition.
    Any pointers would be of big help.
    Thanks,
    Prashant

    Hi, Offline edition doesnt support custom objects or any other object that is not available as part of the default offline solution. Hope it helps
    -- Venky CRMIT

  • How to load Custom Object 1 ?

    Hello to everyone,
    I can't find how to load my data for Custom Object 1.
    I can't find that data type in my wizard.
    Someone can help me ?
    Thanks for your help.

    Hi,
    I would recommend you to raise this Issue in the Administration section of the forum instead of Integration.
    Never the less I would recommend you to do this check before you proceed
    Navigate to the below link
    Admin >> Application Customization >> Customize Record Types
    and find the "Display Name/Singular" under "Custom Object 01" ones found
    Go back to Import/export tool to import data section to locate the name found above.
    Hope this helps :)
    Regards,
    Messer

  • How to identify custom object in repository

    Hi,
    I need to prepare a list of Custom objects(applets, view, screens etc.,) that are existing in a repository.
    How do i identify them?
    version - siebel 7.5.13
    thanks
    Goud

    Assuming naming convention is not strongly implemented as your site, you might want to start with searching for all the objects which are not created by 'SADMIN' (assuming developers don't create objects with SADMIN as user), you might want to use 'Flat' view for that purpose or use sql.

  • How to pass a "object" as a prameter from one java class to another java

    hi experts, I want to know "How to pass and get object as a parameter from one java class to another java class". I tried follwoing code just check it and give suggetions..
    import Budget.src.qrybean;
    public class ConfirmBillPDF extends HttpServlet
    qrybean db = new qrybean();
    SimplePDFTable pdfTable = new SimplePDFTable();
    pdfTable.simplePDFTableShow("2010","2011","1","2","1","131","102");
    }Here i want to pass db with simplePDFTableShow method. simplePDFTableShow is in another java class. So how can i do this.
    And also i want to know, how this obj will get.
    please help me.
    Edited by: andy_surya on Jul 14, 2010 7:51 AM

    Hi andy_surya
    what is this i am not understand
    pdfTable.simplePDFTableShow("2010","2011","1","2","1","131","102");but i am try to solve your problem try this
    qrybean db = new qrybean();
    SimplePDFTable pdfTable = new SimplePDFTable();
    pdfTable.simplePDFTableShow(db);and access like this in SimplePDFtable class update your method
    simplePDFTable(qrybean tempDB)
    // write your code
    }

  • How to pass JSON object for a PUT operation of restful

    Hi,
    I am trying to proxy restful call through an OSB proxy and I would like to know how I can pass json object via OSB proxy to an external rest service for a PUT operation? I am using Oracle 11g.
    I have created a business service, that point to the external rest service and created a proxy service that route to the business service. I thought it automatically takes the JSON, which is the data need to be send to the rest service, but didn't work, I get 405 error in the osb access log. is that how it works, or there is something else I need to do? if so, can you please help and tell me how?
    appreciate any kind of help.
    thanks
    Marwa.

    Hi Anju,
    Most of the example I see is dealing with data being pass either as query-string or html form. We are passing JSON object from the UI and rest services are configured to take JSON. therefore, in the PUT and POST data are passed either as an attachment or part of the request object. Do you know or have an example how to do it? I don't need to any kind of transformation of data because I need JSON on both end and I am trying to use the OSB proxy in between my UI and rest services to take advantage of monitoring capability of the OSB.
    appreciate any help, my deadline is getting close and I kind stuck.
    Thanks
    M.

  • Invoke- WmiMethod - How to pass input object

    How to pass inputobject to Invoke-WmiMethod? We tried the below it throws error
    $request = Get-WmiMethod -Class xx -NameSpace yyy -ComputerName zzz
    Invoke-WmiMethod -Name xxx -InputObject $request -ArgumentList $arg -Namespace yyy
    Error thrown because $request cannot be converted to ManagementObject.
    Please provide sample 

    Hi Rajalakshmi S,
    In addition, you got the error because you are passing it an array objects.
    Please try the script below:
    Get-WmiObject -Class Win32_Share -ComputerName $computer |
    foreach {
    “`n $($_.Name)”
    Invoke-WmiMethod -InputObject $_ -Name GetAccessMask}
    Reference from:
    https://richardspowershellblog.wordpress.com/about/
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna
    TechNet Community Support

Maybe you are looking for

  • Application frame not working

    Maybe i'm misunderstanding, but with the application frame checked i thought that when i moved my main image window either by the corner resizing method or dragging the title bar, the entire contents, including the palettes were supposed to move.  Ho

  • What is the port for FTPS communication in File Adapter

    Hi All,          For FTP communication the port is 21, whats the port for FTPS communication. XIer

  • Which wireless speakers for macbook pro/ipad 2?

    I have a macbook pro 10.5.8 and ipad 2. I waant to set up wirelss speakers to play my itunes using both devices. I also habe an airport express and airport extreme.which kind of speakers shol i get: bluetooth or wi fi?

  • Which Database connectivity is used professionally in JSP/Servlet?

    Hi friends, Can you tell me which type of database connectivity is generally used in professional web-related projects. I mean to say, 1) Class.forName method or 2) context lookup using JNDI Data Source method. Also, I wonder how in shared hosting an

  • Network configuration after suspend/resume

    After a suspend and when I resume, the network configuration of my wifi card is lost (since the module must be unloaded). What do I need to setup so that the settings of the wifi card (ip address, default gw) are remembered on suspend and applyed lat