Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Collection types are not supported in literal mode - Type: "java.util.Array

843833Jun 6 2006 — edited Oct 26 2009
Hi Guys,

Is there any way to make this work? Actually i�m trying to create a method that return a ArrayList in my Webservice. When i try to compile the project the following error ocurres:

[creating operation: getList]
Collection types are not supported in literal mode - Type: "java.util.ArrayList"
at com.sun.xml.rpc.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:67)
at com.sun.xml.rpc.processor.modeler.rmi.LiteralTypeModeler.modelTypeLiteral(LiteralTypeModeler.java:52)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processDocumentLiteralMethod(RmiModeler.java:1202)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processMethod(RmiModeler.java:826)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processInterface(RmiModeler.java:748)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.java:683)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildLiteralModel(RmiModeler.java:603)
at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:457)
at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
error: Collection types are not supported in literal mode - Type: "java.util.ArrayList"

Is this error associated any way to the literal mode????
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2009
Added on Jun 6 2006
2 comments
235 views