Collection in MIDP

Hello everyone,
I have a problem in a code J2ME, which does not go, because I have test of used the collections (Listliked or Vector).
Is what the collections are not portable by J2ME?
thank you in advance for you answers.
cordially.

In MIDp1.0 and MIDP2.0 dosent have Collection interface
it have
Enumaration
Vector
stack
are available

Similar Messages

  • MIDP 1.0: Image to byte[] or serializing...

    I would like to extract pixels from a MIDP 1.0 "Image" object through any means possible. I am currently under the impression that "Image.toString()" would just do something lame, like giving me a string like "Image@1234" that identifies the class and the instance -- which could in principle be used for mere instance comparison. Anyhow, if I could serialize an Image object to a file, and then read back the file in to a byte array, then I would be delighted. I want to stress that I don't care how convoluted the approach may be, as long as it is in plain-vanilla J2ME Java code for MIDP 1.0 and is capable of working on an actual device (as opposed to an emulator). Can I cast the Image to Object, and then somehow convert to byte[]? I don't care if I have to get down and dirty, hacking the platform-specific bytes of the full Object manifestation of the Image. Anyhow, I want to make it clear that any hard core hack, doing all kinds of things that would break on different VMs, etc, is totally fine. Messy is fine. I just want access to the binary data of the entire Image object, or, even better (but only icing on the proverbial cake), access to pixel data. If I can get the byte[] representation of Image, then I can hack the rest myself.

    My goal was do a capture of the way things actually rendered on a device, kind of like a "screen capture", only a little more indirect (since I don't think there is a way to get access to the pixels of the LCD). What I have to do is render to an off-screen Image object and then retrieve pixel data from it using the platform-dependent getPixels() supplied by Motorola. You're going to think I'm crazy, but I send this image data to a web server via POSTs, which get collected and stored as a single file on my web server. Voila! A screen capture of how things actually render to an Image object on an actual device.
    Everything works, except...
    I can't get the Motorola "getPixels()" method to work in their emulator, so I'm worried
    that it won't work on my Motorola T720 (something I haven't actually tried, though).
    I get a "Uncaught Exception: java/lang/Error" message from the T720 emulator
    when I run one of the Motorola demos (built using their scripts) when I add the
    following code to the Canvas paint() method:
    if (0 == iDidThis) {  iDidThis = 1;
    try
    {  javax.microedition.lcdui.Image   temp = Image.createImage( 120, 160 );
    int [] rgbData = new int [120*160];
    com.motorola.game.ImageUtil.getPixels ( temp, 0, 0, 1, 1, rgbData );
    System.out.println("Captured Data");
    catch( java.lang.ArrayIndexOutOfBoundsException e )
    {  e.printStackTrace();   } }
    This code runs only once, when the paint() method of the Canvas object is called for
    the first time. Okay, I get the error message, but the "Bounce" demo (to which I added
    the code block above) goes on to run just fine. (NOTE: The message "Captured Data"
    is NOT printed in this scenario.)
    I don't understand why the public static "com.motorola.game.ImageUtil.getPixels()"
    method causes the "java/lang/Error" exception. (By the way, if I comment out the
    call to this method, the code totally works without error, and I see the printed
    statement "Captured Data" in the command window associated with the emulator.)
    If my getPixels() call resulted in bad array access, then I would get the
    java.lang.ArrayIndexOutOfBoundsException exception. But apparently this is
    not what is going on.
    I am really rusty with J2ME, so I don't even know the meaning of "java/lang/Error".
    I assume it is different from a "class not found" exception, but I suspect that my
    problem has to do with a fault in the emulator trying to execute the code for the
    "com.motorola.game.ImageUtil.getPixels()" method.
    My Motorola emulator (v7.5) is from around December, 2002, so it may be really old, and
    maybe this was a known issue at that time that has since been resolved. I'm just never
    tried to use platform-specific J2ME APIs before, so I don't know if what I am observing
    is my fault, or is an emulator issue.
    I'd be grateful for any ideas about what might be going wrong and for ideas about
    possible solutions.

  • Types in Garbage Collection??

    Hi
    Can any one tell me, Is there any types in Garbage Collection??
    regards
    guna

    Go & read this artical
    http://developers.sun.com/mobility/midp/articles/garbage/

  • Disabling RMI Explicit Garbage Collection

    I have an application that uses RMI. From different articles on the javasoft web site, I have read that RMI explicitly does a Full RMI every minute (default setting). This is undesirable, b/c these full GCs are causing some objects I need to use later to be garbage collected. From the site, the options are to:
    1) Disable Full GC
    2) Delay Full GC
    For point 1), what are the consequences of disabling explicit full GCing that RMI does? Documentation on the javasoft website only says that "this may also cause some objects to take much longer to be reclaimed" etc. To me, I would think that disabling the explicit Full GC is a bad idea for RMI applications (unless they are really short lived, but that is not my case). It would seem safer to go with 2) option to delay the Full GCs since it's not entirely clear what the consequences are of completey disabling explicit GCs, but this still causes objects I still need to use later to be garbage collected. The last option which I feel is not very elegant, would be to just set something to reference or use that object that is being gc'ed so when a Full GC is performed it doesn't get cleaned up. Does anyone have any experience with this or have any better suggestions?
    I am using Java 1.4.2 currently, but am also interested in learning what would be good for Java 1.2.X and 1.3.X as well.
    Thanks!
    These are the links that I have already visited or docs that I have already read on this topic:
    1) Java 2 Platform, Standard Edition v 1.4 Performance and Scalability Guide
    http://java.sun.com/j2se/1.4/performance.guide.html
    2) Frequently Asked Questions about Garbage Collection in the HotspotTM JavaTM Virtual Machine
    http://java.sun.com/docs/hotspot/gc1.4.2/faq.html
    3) Improving Java Application Performance and Scalability by Reducing Garbage Collection Times and Sizing Memory Using JDK 1.4.1
    http://developers.sun.com/techtopics/mobility/midp/articles/garbagecollection2/#11.1.3.15
    4) Garbage Collection for Remote Objects (1.4.2)
    http://java.sun.com/j2se/1.4.2/docs/guide/rmi/spec/rmi-arch4.html

    Towards the end of my pot I wrote:
    The last option which I feel is not very elegant, would be to just set something to reference or use that object that is being gc'ed so when a Full GC is performed it doesn't get cleaned up. Does anyone have any experience with this or have any better suggestions?
    I realize that I can reference these objects, but I don't think that is really a great solution. This would mean deliberately referencing them (a hack at a solution in my view) when really it's the explicity GC running every minute (b/c of RMI) that is collecting them. If I turn the explicit GC off, my objects are not collected like this.
    My question was really does anyone have any better ideas or experience with RMI's explicit garbage collecting? I don't need to read a tutorial to tell me how to keep my objects alive by referencing them. Thanks.

  • J2ME Eclipse, midp.zip

    The Eclipse J2ME plug-in installation requires the file midp.zip from the J2ME Wireless Toolkit, but the file does not exist. How can I get this file (for MIDP2.0) ???
    thank you

    Well I downloaded it and tried to install it into Eclipse 3 M6, but Eclipse crashes after copying the pluginfiles:
    Problem during startup. Check ".log" file in the ".metadata" directory of your workspace.
    This log file doesn't hold something meaningfull to me:
    !SESSION ----------------------------------------------------------------------
    !ENTRY org.eclipse.core.launcher 4 0 Jan 26, 2004 16:16:30.580
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.NullPointerException
         at org.eclipse.ui.internal.registry.RegistryReader$1.compare(RegistryReader.java:102)
         at java.util.Arrays.mergeSort(Unknown Source)
         at java.util.Arrays.sort(Unknown Source)
         at java.util.Collections.sort(Unknown Source)
         at org.eclipse.ui.internal.registry.RegistryReader.orderExtensions(RegistryReader.java:107)
         at org.eclipse.ui.internal.registry.RegistryReader.readRegistry(RegistryReader.java:158)
         at org.eclipse.ui.internal.registry.WizardsRegistryReader.readWizards(WizardsRegistryReader.java:156)
         at org.eclipse.ui.internal.registry.NewWizardsRegistryReader.readWizards(NewWizardsRegistryReader.java:350)
         at org.eclipse.ui.internal.registry.NewWizardsRegistryReader.getWizardElements(NewWizardsRegistryReader.java:371)
         at org.eclipse.ui.actions.NewWizardMenu.hasExamples(NewWizardMenu.java:212)
         at org.eclipse.ui.actions.NewWizardMenu.fillMenu(NewWizardMenu.java:119)
         at org.eclipse.ui.actions.NewWizardMenu.fill(NewWizardMenu.java:196)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:573)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:462)
         at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:210)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:573)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:462)
         at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:210)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:573)
         at org.eclipse.jface.action.MenuManager.update(MenuManager.java:462)
         at org.eclipse.jface.action.MenuManager.createMenuBar(MenuManager.java:147)
         at org.eclipse.jface.window.ApplicationWindow.configureShell(ApplicationWindow.java:294)
         at org.eclipse.ui.internal.WorkbenchWindow.configureShell(WorkbenchWindow.java:714)
         at org.eclipse.jface.window.Window.createShell(Window.java:353)
         at org.eclipse.jface.window.Window.create(Window.java:304)
         at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1136)
         at org.eclipse.ui.internal.Workbench.init(Workbench.java:875)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1459)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
         at org.eclipse.core.launcher.Main.run(Main.java:742)
         at org.eclipse.core.launcher.Main.main(Main.java:581)
    Any ideas, what went wrong? I have to delete the plugin directory, the workspace directory and .config in order to make eclipse to start again, deleting the plugin only won't help.

  • MIDP, RMS, and Oracle

    If I build an MIDP application for handheld devices that will collect data into an RMS, is it possible when the user then HotSync's to some server, to extract the data that is contained in their RMS to an Oracle database for example on that server that they are HotSyncing to?
    Thanks for any advice!

    Yes, it is possbile...
    You need just a servlet, which forwards data from your midlet to database backend (over JDBC for example).
    - inju

  • Installation problem on CS4 Master Collection

    WHen I attempt to install CS4 master collection on Vista Ultimate X64
    While the installer is "checking system profile" the next window shows "Loading Setup"
    I then get a System Check error page. The window label is "Adobe Creative Suite 4 Master Collection Installer - Alerts"
    In the box it says, System Check.
    Critical Errors were found in setup for Adobe Creative Suite 4 Master Collection.
    Session has dependencies that cannot be satisfied.
    please see the Setup log file for details. click Quit to exit Setup."
    Then there is a Quit button, that is the only option.
    Any ideas which services need to be enabled to be able to install creative suite?

    I do have service pack 1 for vista ultimate x64.
    Here is the end of the log....
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    PayloadPolicyInit: BEGIN Updating installstate for payloads
    PayloadPolicyInit: END Updating installstate for payloads
    PayloadPolicyInit: BEGIN Creating policyNodes
    PayloadPolicyNode._SetPayloadAction: none for {092DF7B0-6E10-4718-9763-9704CC4E6EF9} Adobe Anchor Service CS4
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Unable to load fileOptions from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Options\Op tions.js
    Log of: object
    name {string}: TypeError
    message {string}: 'collectionID' is null or not an object
    number {number}: -2146823281
    description {string}: 'collectionID' is null or not an object
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    updating path to Win32
    WizardControl: loading page "Progress" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Progress\P rogress.js
    updating path to Win32
    WizardControl: loading page "Register" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Register\R egister.js
    updating path to Win32
    WizardControl: loading page "Finish" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Finish\Fin ish.js
    HTML data complete: Welcome
    HTML data complete: Eula
    HTML data complete: Progress
    HTML data complete: Register
    HTML data complete: Finish
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Critical errors were found in setup for Adobe Creative Suite 4 Master Collection:
    - Session has dependencies that cannot be satisfied.
    Please see the Setup log file for details. Click Quit to exit Setup.
    [ 436] Thu Oct 30 19:17:23 2008 INFO
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    END - Installer Session
    Doesn't really make sense to me....

  • Is there a way to create a collection based on the "previous import"?

    is there a way to create a collection based on the "previous import"? that would make it easy to mobile sync the last import to my ipad, and do further picking/rejecting while away from my laptop.

    well, yes, of course i could do it that way. i guess i wasn't specific enough. is there a way to create a smart collection, with the photos in the "previous import" as members of the smart collection.  earlier i mentioned about using this smart collection to mobile sync with my ipad, to do further flagging.
    so my intention, use a smart collection to mobile sync with my ipad, and the smart collection to include the photos from my previous import.
    i guess another way to ask the question, is there a way to create a smart collection, by using some rule or condition in the smart collection, to automatically include previous import photos.
    the documentation says that "previous import" is a collection, even though it shows up in the catalogue side bar section. but i see no way to choose that collection when making a smart collection.
    jd

  • How can I cancel the "Recreate All Virtual Dekstops" for a pooled collection in 2012 R2?

    I currently have a system single-server installation of VDI, using 2012 R2 Standard as the server, using pooled collections of Windows 8.1.  In general, everything works very well, but I've been searching in vain for ONE command.  When
    I make a change to the master template in Hyper-V, Checkpoint it, then go into the Remote Desktop Services, go the appropriate collection and initiate a "Recreate All Virtual Desktops", how would I cancel that?
    It's happened on more than one occasion, where I make a change or an update to the template, and then push out the 25 new Virtual Desktops, and then the client comes back asking for a "little" change....but I'm stuck pushing it out until
    all 25 desktops have been recreated.  There must be a way to interrupt this process (probably leaving a few VM Desktops in an unstable state...which I don't care too much about as it's a pooled collection), update the template, and push it out again with
    the "Recreate All Virtual Desktops".  I do have the concurrency set so it recreates 5 at a time, but that noticeably impacts the users, and I don't want to just push out all 25 at a pop and interrupt everyone's work.  Any ideas?
    J

    Hi,
    Have you tried Stop-RDVirtualDesktopCollectionJob ?  Something like below:
    Import-Module RemoteDesktop
    Stop-RDVirtualDesktopCollectionJob -CollectionName "PooledCollectionName" -ConnectionBroker "broker.yourdomain.com"
    -TP

  • Looking for a database collection app for children

    Hi,
    I am a primary school teacher and I am looking for a interesting way for my children to learn about databases and spreadsheets this term using the Ipads. I have looked at using Numbers but I am looking for an app that is child friendly and looks at them creating their own fields and collect their own data. Ideally want them to also use the camera to collect data and do majority of this on the ipad rather than sync it from a pc. Anyone kow any good apps for this?

    That looks perfect!
    I googled at first, and found a site with an alphabetical list of about 30 different database options. I got about 4 into it before deciding I should ask the experts. :)
    Thanks a lot!

  • How to access a specific font in a TrueType font collection (TTC) file

    I am trying to create a Font as follows:
    InputStream is = new FileInputStream("myname.ttc");
    Font font = Font.createFont(Font.TRUETYPE_FONT,is);
    This works fine but I need to get a specific font from the collection.
    How does one go about creating a font from a particular font within
    a collection?
    I need to access the font file directly. I can't use the
    properties file to install the font first.
    Any help is appreciated!
    Thanks

    You also have to be careful with fonts. The font you download may be the same name, but a different font. Just because you find a Zurich BT font, does not mean it is the same. If you search on the internet, there are several sources of some Zurich BT fonts free. However, they may or may not be the same font. Editing is best done on the original document and not the PDF. One of the PDFs I found on the Landis site was only in Zurich font. I would think that the original file is available from the company and that should be the document you edit, not the PDF. It appears the original was created in InDesign (CS3).

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • Error in cast multiset in collections

    DECLARE
    TYPE emp_dept_rec IS RECORD (
    v_sal emp.sal%TYPE,
    v_name emp.ename%TYPE,
    v_deptname dept.DEPTNAME%type
    TYPE emp_dept_tab_type IS TABLE OF emp_dept_rec;
    l_emp_dept_tab emp_dept_tab_type;
    type emp_tab is table of emp%rowtype;
    type l_emp_tab is table of emp%rowtype;
    type dept_tab is table of dept%rowtype;
    type l_dept_tab is table of dept%rowtype;
    cursor e1 is
    select * from emp;
    cursor d1 is select * from dept;
    begin
    OPEN e1;
    FETCH e1
    BULK COLLECT INTO l_emp_tab;
    open d1;
    FETCH d1
    BULK COLLECT INTO l_dept_tab;
    select cast(multiset (select em.sal,em,ename ,dep.DEPTNAME
    from table(l_emp_tab) em,table(l_dept_tab) dep
    where em.deptno=dep.deptno)
    as emp_dept_tab_type)
    into l_emp_dept_tab ;
    end;
    it is giving error as
    ORA-06550: line 43, column 25:
    PL/SQL: ORA-00923: FROM keyword not found where expected
    ORA-06550: line 39, column 5:
    PL/SQL: SQL Statement ignored

    Here is an example.
    SQL> CREATE OR REPLACE TYPE emp_rec IS OBJECT (
      2                      v_sal    NUMBER(7,2),
      3                      v_name   VARCHAR2(35),
      4                      v_empno  NUMBER(4),
      5                      v_deptno NUMBER(2)
      6                      )
      7  ;
      8  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tab IS TABLE OF emp_rec;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE dept_rec IS OBJECT (
      2                      v_deptno NUMBER,
      3                      v_dname VARCHAR2(50)
      4                      )
      5  ;
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE dept_tab IS TABLE OF dept_rec;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_dept_rec IS
      2                     OBJECT (
      3                      v_sal     NUMBER,
      4                      v_name     VARCHAR2(35),
      5                      v_deptname VARCHAR2(30)
      6                      );
      7  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_dept_tab_type IS TABLE OF emp_dept_rec;
      2  /
    Type created.
    SQL> set serverout on
    SQL> DECLARE
      2    l_emp_dept_tab emp_dept_tab_type; --emp_dept_tab_type declared in database
      3    l_emp_tab      emp_tab; --emp_tab declared in database
      4    l_dept_tab     dept_tab; --dept_tab declared in database
      5 
      6    CURSOR e1 IS
      7      SELECT emp_rec(sal, ename, empno, deptno) FROM emp; --Note the type casting here
      8 
      9    CURSOR d1 IS
    10      SELECT dept_rec(deptno, dname) FROM dept; --Note the type casting here
    11  BEGIN
    12    OPEN e1;
    13 
    14    FETCH e1 BULK COLLECT
    15      INTO l_emp_tab;
    16 
    17    OPEN d1;
    18 
    19    FETCH d1 BULK COLLECT
    20      INTO l_dept_tab;
    21 
    22    SELECT CAST(MULTISET (SELECT em.v_sal, em.v_name, dep.v_dname
    23                   FROM TABLE(l_emp_tab) em, TABLE(l_dept_tab) dep
    24                  WHERE em.v_deptno = dep.v_deptno) AS emp_dept_tab_type)
    25      INTO l_emp_dept_tab
    26      FROM DUAL;
    27    FOR i IN 1 .. l_emp_dept_tab.COUNT LOOP
    28      dbms_output.put_line(l_emp_dept_tab(i)
    29                           .v_sal || '--' || l_emp_dept_tab(i)
    30                           .v_name || '--' || l_emp_dept_tab(i).v_deptname);
    31    END LOOP;
    32 
    33  END;
    34  /
    1300--MILLER--ACCOUNTING
    5000--KING--ACCOUNTING
    2450--CLARK--ACCOUNTING
    3000--FORD--RESEARCH
    1100--ADAMS--RESEARCH
    3000--SCOTT--RESEARCH
    2975--JONES--RESEARCH
    800--SMITH--RESEARCH
    950--JAMES--SALES
    1500--TURNER--SALES
    2850--BLAKE--SALES
    1250--MARTIN--SALES
    1250--WARD--SALES
    1600--ALLEN--SALES
    PL/SQL procedure successfully completed.It is just for educational purpose, because the thing you have achieved by so much programming can be done easily by simple join in the table itself.
    user10447332 Newbie
    Handle: user10447332
    Status Level: Newbie
    Registered: Oct 20, 2008
    Total Posts: 227
    Total Questions: 153 (152 unresolved) >
    What a record! and most of the time you don't care to follow/revisit the thread also!.

  • Creating a Web Service from EJB 3.0 - J2SE 5.0 Collection mapping problem

    Hi,
    Apologies if this is the wrong forum, I'm not quite sure where it fits in.
    I have some Toplink JPA entity beans that I access through a session bean. I am then trying to create a web service based on the session bean by deploying it to a 10.1.3 application server. This is based on the documentation at http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services002.htm#CHDJEDDH
    The two entity beans are like:
    public class Event {
    private java.util.List<EventDetail> eventDetailList;
    public Event() {
    public void setEventDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getEventDetails() {
    return eventDetailList;
    public void addEventDetail(EventDetail eventDetail) {
    this.eventDetailList.add(eventDetail);
    public class EventDetail {
    public EventDetail() {
    The session bean has a method like:
    List<Event> listParents();
    When this is deployed to the application server I expected a complex type like ListOfEventDetail to be generated in the WSDL, as shown in http://download.oracle.com/docs/cd/B32110_01/web.1013/b28975/apptypemapping.htm#sthref966, and the Event complex type would have an element of ListOfEventDetail. Instead the Event complex type looks like this:
    <complexType name="Event">
    <sequence>
    <element name="eventDetails" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    and ns1:list appears in a different schema:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://wsdl/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    However, if I change the getters and setters for eventDetailList in Event to setDetails and getDetails like this:
    public void setDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getDetails() {
    return eventDetailList;
    the WSDL is generated as I expected:
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    <complexType name="Event">
    <sequence>
    <element name="details" type="tns:ListOfEventDetail" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfEventDetail">
    <sequence>
    <element name="item" type="tns:EventDetail" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    After messing around with various combinations of things, it seems that if the getters and setters have more than just the initial capital letter the (eg getTheThings instead of getThings) the WSDL gets messed up. Does anyone have any ideas what is going on here?

    Using <autotype> and <source2wsdd> to generate what I need. Now WL seems happy.

  • Old Photos in my Collection can no longer be seen on My iPhone

    I am using an iPhone 5S 32GB running on iOS 8 (latest update).When I am checking my collection of photos and I go to my oldest files these appear as black boxes and I cannot access them. I migrated on May to this iPhone and used iCloud for the backup (Payed for 50GB  space). I was wondering if there is any way to solve this issue or if its a Software/Update. Please help me with this since I value this photos and wouldnt want to lose them.

    See:
    * [[Images or animations do not show]]
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    It is possible that you clicked "Block Images" in the right click context menu while trying to save an image.
    *A way to see which images are blocked is to click the favicon (<i>Site Identification</i> icon) on the left side of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Open the <i>Media</i> tab of the "Page Info" window.
    *Select the first image and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    *You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    *You can see all image exceptions in Tools > Options > Content: Load Images: Exceptions

Maybe you are looking for

  • How can I make a default border for a JWindow?

    I have a JWindow object that is created when a button is pressed in a JFrame. I want the JWindow to have the same type of border as the JFrame from which it's created. However, the JWindow is not created automatically with a border as the JFrame is,

  • Don't understand how to enable OpenGL?

    I just installed Photoshop CS4 around a week ago and as many have already said it feels pretty sluggish compared to the CS2 that I upgraded from. I get the message "photoshop has encountered a problem with the display driver, and has temporarily disa

  • Export 9i data then import to 11g

    I full export 9i data,then import to 11g Because 11g database have some 9i database system,sys objects ,Will this affect the operation of the 11g database

  • Messed Up Tables & Background in IE

    I'm new to Dreamweaver, trying to make my first website. I realise that this website I've thrown together is a terrible mess of tables and junk, but I still don't see why it should appear so differently in certain browsers. The site is available at h

  • JDev 10.1.3 and data control

    I didn't find the data control palette in JDev 10.1.3. Does it mean data control are not yet implemented in this preview or do i something wrong ? Is it possible to obtain a version with data control implemented. We only use this portion of adf with